Foros de discusión

Steps to connect with External database in Liferay 6

Suman Kumar, modificado hace 12 años.

Steps to connect with External database in Liferay 6

Junior Member Mensajes: 34 Fecha de incorporación: 21/10/11 Mensajes recientes
Hi all,

I was trying to configure the External database in Liferay... but could not found any proper post with steps in detail in the forum.

Can someone summarise the steps required to configure External db in detail.

Thanks and Regards
Suman Kumar
thumbnail
Ravi Kumar Gupta, modificado hace 12 años.

RE: Steps to connect with External database in Liferay 6

Liferay Legend Mensajes: 1302 Fecha de incorporación: 24/06/09 Mensajes recientes
Its pretty easy.. You need to create a portal-ext.properties and put it in webapps\ROOT\WEB-INF\classes in case of tomcat and put the right properties

See this link http://www.liferay.com/community/wiki/-/wiki/Main/Database+Configuration
Suman Kumar, modificado hace 12 años.

RE: Steps to connect with External database in Liferay 6

Junior Member Mensajes: 34 Fecha de incorporación: 21/10/11 Mensajes recientes
Hi Ravi,

Thanks for your reply. But I was not looking for the details to make Liferay work with database only but with External database i.e other then lportal database.

I have to use multiple datasource as my application.

The relevent data resides in different databases and I want to query them usig the service builder. So I want to know the configurtion steps needed for connecting with external db along with lportal db.

with Regards
Suman Kumar