Liferay + Glassfish 3.1.1 Location of portal-ext.properties file?

狂风中的少年 提交于 2019-12-13 04:01:38

问题


Where does the portal-ext.properties file go before the liferay war file is deployed?


回答1:


It's typically the folder where your appserver resides. if I remember correctly, glassfish typically has two nested "glassfish" folder - there it'd be within the first.

The best way to explore that yourself (and to be sure) is to put your portal-ext.properties in every location you guess it might be, then startup the server and examine the log. There it mentions which file is being read.

Also, AFAIK portal-ext.properties will also be read from the user's home directory if found there - careful, when you run a server like glassfish, that might be a different user account than your own.




回答2:


domains/domain1/applications/liferay-portal/WEB-INF/lib/portal-impl.jar >>> /content/ you will find all translation files there.



来源:https://stackoverflow.com/questions/7363910/liferay-glassfish-3-1-1-location-of-portal-ext-properties-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!