Shyamal Pal:
Hi,
I am using liferay portal 6.1.
It's default database is HSQL.
Now I want to change it to ORACLE batabase.
Can someone please tell me what is the procedure to change the datasource for liferay portal as ORACLE.
Oracle DB version - 10g
Thanks
Hi ,
First of all It's default database is not HSQL but it is hypersonic.
Now You can set specific database instead of hypersonic by overriding default portal.properties file .
All you have to do is to make portal-ext.properties file containing properties related to ORACLE 10g.
put this file @ tomcat level and than restart your server.
You have to add following lines in portal-ext.properties file
#
# Oracle
#
jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.default.url=jdbc:oracle:thin:@localhost:1521:xe
jdbc.default.username=lportal
jdbc.default.password=lportal
For configuring other databases please visit this
link.
Thats it..!!
Thanks & Regards,
Vishal R. Panchal
Please sign in to flag this as inappropriate.