Sun Java System Application Server 9.1 Update 1 Upgrade and Migration Guide

Applications that Use JavaDB

You have deployed applications that use JavaDB databases in Application Server 8.x. You upgrade your existing installation to Application Server 9.1 Update 1. You run the asadmin start-database command and successfully start JavaDB. In this scenario, you could run into problems while trying to run these applications (that were deployed in Application Server 8.x) in Application Server 9.1 Update 1 because the instance directory of JavaDB in Application Server 9.1 Update 1 has changed.

To solve this problem, perform the following steps:

  1. After upgrade, start Application Server 9.1 Update 1.

  2. Use the asadmin start-database command with --dbhome option pointing to older (Application Server 8.x) version of JavaDB. Example asadmin start-database --dbhome /home/johnsmith/appserver8.2/databases

  3. Deploy the migrated applications.