Pages

05 February, 2013

Steps to Configure Liferay With External Database


Steps to Configure Liferay With External Database:

For JBoss:




\liferay-portal-6.1.1-ce-ga2 Copy the portal-ext properties file in portal Home Directory.


Here create portal-ext properties file:


portal-ext properties file contains DB details:

   jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
    jdbc.default.url=jdbc:oracle:thin:@localhost:port:schemaname
Ex:  jdbc.default.url=jdbc:oracle:thin:@123.16.32.44:1521:liferaydb
    jdbc.default.username=username
    jdbc.default.password=password



Then Copy the  ojdbc14.jar  in to  liferay-portal-6.1.1-ce-ga2\jboss-7.1.1\standalone\deployments\ROOT.war\WEB-INF\lib  the Location.

Still you are facing issue to connecting DB then copy the same jar
 liferay-portal-6.1.1-ce-ga2\jboss-7.1.1\modules\com\liferay\portal\main  the location.

Now it will work fine.

In case  ojdbc14.jar  not support  please copy the jdbc14-10.2.0.5.0 jar in same location.


Related links for Liferay Administration:


http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen12-user-groups-0

http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/using-the-control-pan-4

http://docs.liferay.com/portal/4.2/official/liferay-portal-administration-guide-4.2/onepage/

http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen15-roles-and-permissions-0

BY

SANA


No comments:

Post a Comment