Steps to Configure Liferay With External Database:
For Tomcat:
:\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\webapps\ROOT\WEB-INF\classes
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\tomcat-7.0.27\lib\ext the Location.
In case ojdbc14.jar not support please copy the jdbc14-10.2.0.5.0 jar in same location.
Some useful links for Liferay Portals:
http://amdrill.wordpress.com/2012/08/17/how-to-install-liferay-ide-in-eclipse-indigo/
http://amdrill.wordpress.com/2012/08/18/intalling-liferay-plugin-sdk-in-eclipse/
http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE+Installation+Guide
http://www.scribd.com/doc/57507168/Steps-to-Configure-Liferay-With-External-Database
http://www.javabeat.net/2011/06/using-liferays-service-builder-part-1/
http://amdrill.wordpress.com/2012/08/18/intalling-liferay-plugin-sdk-in-eclipse/
http://liferaydemystified.blogspot.in/2011/04/mvcportlet-framework.html // MVC
http://liferaydemystified.blogspot.in/2011/05/adding-users-to-groupscommunitiesusergr.html
No comments:
Post a Comment