Forums

Home » Liferay Portal » English » Liferay Legacy »

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Achim Strick
portal-ext.properties - example file
October 25, 2007 6:07 AM
Answer

Achim Strick

Rank: Junior Member

Posts: 73

Join Date: January 23, 2007

Recent Posts

Hi all,

where can I find an example portal-ext.properties file with all the entries which can be made?

thanks

Achim
Björn Ryding
RE: portal-ext.properties - example file
October 25, 2007 6:49 AM
Answer

Björn Ryding

Rank: Liferay Master

Posts: 580

Join Date: May 16, 2007

Recent Posts

You can find portal.properties in portal-impl.jar
hunter Hu
RE: portal-ext.properties - example filethen
June 23, 2008 11:33 PM
Answer

hunter Hu

Rank: Junior Member

Posts: 35

Join Date: June 8, 2008

Recent Posts

then how to change it in the jar file? I cant find a way to modify the propery using many ways.
Lari Tuominen
RE: portal-ext.properties - example filethen
June 23, 2008 11:59 PM
Answer

Lari Tuominen

Rank: Expert

Posts: 283

Join Date: November 7, 2007

Recent Posts

Create a classes folder under your ROOT.war/WEB-INF. Place your portal-ext.properties file there and check the portal.properties file in portal-impl.jar as a reference for properties you would like to override in portal-ext.properties.

For more information, check this post: http://www.liferay.com/web/guest/community/forums/-/message_boards/message/552844
hunter Hu
RE: portal-ext.properties - example filethen
June 24, 2008 8:30 PM
Answer

hunter Hu

Rank: Junior Member

Posts: 35

Join Date: June 8, 2008

Recent Posts

Hi,

Thanks for your reply.

I just using jar-xvf , and modify the property, then jar-cvf again.

if create a class folder , and place the portal-ext into it , then it will have error when startup.
Lari Tuominen
RE: portal-ext.properties - example filethen
June 25, 2008 12:18 AM
Answer

Lari Tuominen

Rank: Expert

Posts: 283

Join Date: November 7, 2007

Recent Posts

You can also override the values straight from portal.properties......

Were you able to override those values that you needed? If not, could you provide a bit more information on what have you done

PS. You don't need to extract jar file in order to be able to override values from portal.properties
hunter Hu
RE: portal-ext.properties - example filethen
June 25, 2008 5:22 PM
Answer

hunter Hu

Rank: Junior Member

Posts: 35

Join Date: June 8, 2008

Recent Posts

I not tried to use portal-ext.property, just change the value in the portal.property in the portal-impl.jar.

if placed it into class folder as the guide , liferay startup will fail, not clear why it not work.
Lari Tuominen
RE: portal-ext.properties - example filethen
June 26, 2008 12:41 AM
Answer

Lari Tuominen

Rank: Expert

Posts: 283

Join Date: November 7, 2007

Recent Posts

So you have tried placing folder classes under WEB-INF and file portal-ext.properties under that and it fails, interesting......

Could you provide a bit more information related to error message, etc. from console?

BR - Lari