Where does the Liferay portal-ext.properties go in Glassfish?
Below 开发者_开发问答is my Liferay path:
C:\glassfish3\glassfish\domains\liferay\applications
C:\glassfish3
and there should be the deploy
directory in the same place. The data
directory is there if you are still using hsql.
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.
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.
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
精彩评论