Glassfish 中的 Liferay Portal-ext.properties 位于何处?
以下是我的 Liferay 路径:
C:\glassfish3\glassfish\domains\liferay\applications
Below is my Liferay path:
C:\glassfish3\glassfish\domains\liferay\applications
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
C:\glassfish3
并且在同一位置应该有deploy
目录。如果您仍在使用 hsql,则data
目录就在那里。C:\glassfish3
and there should be thedeploy
directory in the same place. Thedata
directory is there if you are still using hsql.实际上,它在这里:
C:\glassfish3\glassfish\domains\liferay\lib\classes
你不应该把它放在分解的类目录中,因为如果你升级或取消部署/重新部署,那将被覆盖。
Actually, it goes here:
C:\glassfish3\glassfish\domains\liferay\lib\classes
You should not put this in the exploded classes directory, because if you ever upgrade or undeploy/redeploy, that will get overwritten.
如果您找到位置:
C:\glassfish3\glassfish\domains\liferay\src\main\resources\portal-ext.properties
来放置您的文件,请尝试。
编辑:
查找您的
portal.properties
文件,找到 liferay.home 变量。检查该路径并将文件放在那里。另一个是我在评论中所说的。此提示位于 liferay 页面。 >
Try if you find location:
C:\glassfish3\glassfish\domains\liferay\src\main\resources\portal-ext.properties
to put your file into.
Edit:
Look for your
portal.properties
file, find there liferay.home variable. Check that path and place the file there. Another is that what I said in my comments.This tip was on liferay pages.
这是将其放置在我的 liferay 6 安装中的正确位置:
C:\glassfish3\glassfish\domains\liferay\applications\liferay-portal-6.0-ee-sp2-20110727\WEB-INF\classes
This is was the correct place to place it in my liferay 6 install:
C:\glassfish3\glassfish\domains\liferay\applications\liferay-portal-6.0-ee-sp2-20110727\WEB-INF\classes