Here is a high-level overview of the steps involved in switching from the default Hypersonic database to the production RDBMS of your choice.
The details vary from database to database.
To switch to a different database:
When you create the new database, make sure to use UTF-8 encoding.
Ensure that the user has remote access from the application servers.
# Hypersonic # jdbc.default.driverClassName=org.hsqldb.jdbcDriver jdbc.default.url=jdbc:hsqldb:${eid.studio.home}/data/hsql/lportal jdbc.default.username=sa jdbc.default.password=
# Set the JNDI name to lookup the JDBC data source. If none is set, # then the portal will attempt to create the JDBC data source based on the # properties prefixed with "jdbc.default.". # #jdbc.default.jndi.name=jdbc/LiferayPool
Using the JNDI name is more secure than providing the connection settings, which include the user name and password, in portal-ext.properties.
If you do not use the JNDI name, Studio logs a warning.
Before you can use the JNDI name, you must first configure a JDBC data source within your application server. The steps to configure a JDBC data source will vary based on your application server. See your application server documentation for details.
Make sure that the value of jdbc.default.jndi.name matches exactly the JNDI name you assign to the data source.
The default is 1MB. However, Studio allows users to upload images up to 3MB. So you should change it to a value greater than 3MB, such as 4MB.
If you do not change the value of the variable, then when users try to upload an image greater than 1MB, a JDBC error, "Packet for query is too large", is returned.
Note that you may have to restore these later if you upgrade Studio or install components that require schema changes.
Oracle Endeca Information Discovery Studio: Studio Installation Guide · Version 3.1.0 Rev. B · December 2013
Copyright © 2003, 2013, Oracle and/or its affiliates. All rights reserved.