RE change protal-ext.properties

thumbnail
Manikantha Rajamani, modified 11 Years ago. Expert Posts: 258 Join Date: 3/25/14 Recent Posts
Hi
Guys

I want to change the portal-ext properties for difference instance like dev,prod,QA

for example how to give the portal-ext.dev.properties for development instance
if any one know these please share



Regards
Manikantha R
thumbnail
mohammad azaruddin, modified 11 Years ago. Expert Posts: 492 Join Date: 9/17/12 Recent Posts
There two scenario
1) If each instance is separate setup(Separate server) then maintain seperate property files.

2) suppose if you have multiple instance on a single server then
a) create file with name portal-<WebId>.properties and place along with portal-ext.properties.(ie in the server classpath) .
where <WebId> is web id of your instance,
b)include -Dcompany-id-properties=true in portal-ext.properties file
thumbnail
Manikantha Rajamani, modified 11 Years ago. Expert Posts: 258 Join Date: 3/25/14 Recent Posts
Hi mohammad azaruddin,

thank you for reply

1) If each instance is separate setup(Separate server) then maintain seperate property files.

we are using seperate instance for seperate server

then where we can make a change to reflect that files name
whether we have to add that file in E:\WorkSpace\liferay-portal-6.1.30-ee-ga3\tomcat-7.0.40\webapps\ROOT\WEB-INF\classes
and we have to create respective insted of portal-ext.properties



Regards
Manikantha R
thumbnail
mohammad azaruddin, modified 11 Years ago. Expert Posts: 492 Join Date: 9/17/12 Recent Posts
Why cant you use different portal-ext.properties with required properties you want to override for each instance. For developer properties check this link