Configuration

  • You should verify that you have your fully qualified host name in the Host Aliases list. Follow the instructions below.
  • No configuration is needed for your samples InstantDB database. However, if you have run the samples for a while (changing the database contents) you can restore the database to its original state. Follow the instructions below.


Verifying the fully qualified host name

  1. Open WebSphere Application Server's Administrator Console.
  2. Select the Topology View.
  3. Select default_host towards the bottom of the tree in the left pane.
    • This will open Virtual Host: default_view in the right pane.
  4. Select the Advanced tab in the right pane.
  5. Locate the Host Aliases list.
    • You should find your short host name on the list - myhost for example.
    • If your fully qualified host name - myhost.mycompany.com for example - is not there, key it into a new line in the Host Aliases list and then select the Apply button.
  6. If you added a fully qualified host name, then you should stop and then start your Default Server.


Restoring the samples InstantDB database to its original state

  1. Stop the Default Server from the WebSphere Application Server's Administrator Console.
  2. Locate the directory <was_root>/hosts/default_host/WSsamplesIDB_app/servlets/WebSphereSamples/Database
  3. Within that directory, delete the sample directory and the files and subdirectories within it. Do not delete the files sample.prp or jar_of_sampleIDB.jar.
  4. Within that directory, run the command: jar -xvf jar_of_sampleIDB.jar
  5. This will extract files and restore the sample InstantDB database to its original state. You can now start the Default Server and continue with the samples.