Prepare the Database.
Establish appropriate privileges for the user accounts.
Configure Community Membership and Configuration.
Load the schema onto the database.
Edit the jdbc/communitymc JDBC resource to point to the new database.
On some of the web containers, you might need to edit the corresponding JDBC connection pool instead of the JDBC resource.
Configure and install portlet applications.
Locate the portlet applications.
portal-data-dir/portals/portal-id/portletapps |
Configure portlet applications to use the new database by editing tokens_xxx.properties.
Using the administration console or command-line tool provided by the web container, create a JDBC resource for the application using the values from the tokens_xxx.properties.
jdbc/DB_JNDI_NAME
javax.sql.DataSource
DB_DATASOURCEA
DB_USERU
DB_PASSWORDS
DB_URL
Some of the web containers might require you to set up a connection pool prior to setting up the JDBC resource.
Undeploy existing portlets that use the Java DB Database as a datastore.
Deploy the newly configured portlet applications.