Message Boards

Where is portal.porperties?

thumbnail
Jennis Vaishnav, modified 7 Years ago.

Where is portal.porperties?

Junior Member Posts: 59 Join Date: 2/1/17 Recent Posts
What is the folder location for portal.properties in liferay?
thumbnail
Olaf Kock, modified 7 Years ago.

RE: Where is portal.porperties? (Answer)

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
Jennis Vaishnav:
What is the folder location for portal.properties in liferay?


There's no folder - it's stuffed away in portal-impl.jar, mainly because you're not supposed to change it at all. Rather create portal-ext.properties in ${liferay.home} and configure everything that you'd like to differ from the default. And, to make it easier to find, browse and read: You don't even need to go to the original portal.properties, but you can read the HTML-version, which is easier to the eye.

thumbnail
Jennis Vaishnav, modified 7 Years ago.

RE: Where is portal.porperties?

Junior Member Posts: 59 Join Date: 2/1/17 Recent Posts
I'm asking this because i want to use serviceBuilder for custom database(mySql) and i have created one portal-ext.properties, And following a tutorial on:
https://web.liferay.com/web/ssrikanthreddy1410/blog/-/blogs/connecting-to-different-database-using-liferay-service-builder#bnbx_message_86992405

Step 3 in the above link tells something about portal.properties.
So there's something which I'm not able to get from the link, According to steps in the link
"under WEB-INF/src/META-INF dir. Inside META-INF folder you will find couple of xml files whose entry will be there in liferay portal.properties file as shown below "
I'm only able to find manifest.mf under META-INF folder, not even a single xml file is there,!
emoticon emoticon