Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: help me with portal.properties
Hello, I'm new to Liferay. I install liferay with the steps in http://blog.163.com/sqw553554201@126/blog/static/92958282201122810146825/
And I want to change something in portal.properties, but I can't find it in my ...\liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\classes .
In that folder, there're only
log4j.properties
logging.properties
portal-developer.properties
portal-legacy-4.4.properties
portal-legacy-5.0.properties
portal-legacy-5.1.properties
portal-legacy-5.2.properties
But in some folders like webapps\kaleo-web\WEB-INF\classes , there are portal.properties.
So I create a portal.properties in ...\webapps\ROOT\WEB-INF\classes, and change some configure like logout path, but it doesn't work.
I wonder if there are something wrong when I install the liferay , or other reasons.
I use netbeans6.9.1 and liferay6.0.6.
Forgive me my English. And thanks in advance.
And I want to change something in portal.properties, but I can't find it in my ...\liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\classes .
In that folder, there're only
log4j.properties
logging.properties
portal-developer.properties
portal-legacy-4.4.properties
portal-legacy-5.0.properties
portal-legacy-5.1.properties
portal-legacy-5.2.properties
But in some folders like webapps\kaleo-web\WEB-INF\classes , there are portal.properties.
So I create a portal.properties in ...\webapps\ROOT\WEB-INF\classes, and change some configure like logout path, but it doesn't work.
I wonder if there are something wrong when I install the liferay , or other reasons.
I use netbeans6.9.1 and liferay6.0.6.
Forgive me my English. And thanks in advance.
Hi Sinc,
Use portal-ext.properties to override the portal properties .Find the properties file at this location " \liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\classes".If its not there, create one and use it to override.
Regards,
Tanweer Ahmed Ansari,
mPowerian-BoschLer
Use portal-ext.properties to override the portal properties .Find the properties file at this location " \liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\classes".If its not there, create one and use it to override.
Regards,
Tanweer Ahmed Ansari,
mPowerian-BoschLer
So I create a portal.properties in ...\webapps\ROOT\WEB-INF\classes
DON'T create a portal.properties file. Create a portal-ext.properties file as Tanweer said.
If you created a portal.properties file, delete it.
If you want to see what the portal.properties file actually contains - it has reasonable documentation within in it then you need to expand the
portal-impl,jar file
as everyone else has said - use portal-ext.properties to override.
you can put this in the same <tomcat>/webapps/ROOT/WEB-INF/classes folder
OR in your:
<liferay installation> folder (ie same folder as <tomcat>)
I tend to use the later for site parameters (database connection details) and the former for liferay configuration elements eg languages
portal-impl,jar file
as everyone else has said - use portal-ext.properties to override.
you can put this in the same <tomcat>/webapps/ROOT/WEB-INF/classes folder
OR in your:
<liferay installation> folder (ie same folder as <tomcat>)
I tend to use the later for site parameters (database connection details) and the former for liferay configuration elements eg languages
If you want to see what the portal.properties file actually contains - it has reasonable documentation within in it then you need to expand the
portal-impl,jar file
I personally like the wiki document compared to extracting the portal-impl.jar file.
http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Properties
A very brief description about the portal.properties:
http://www.liferay.com/community/wiki/-/wiki/Main/Customization
Thanks everyone for your reply, I'll do as you said.
And thanks again
And thanks again
Community
Company
Feedback