|
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
- Open WebSphere Application Server's Administrator Console.
- Select the Topology View.
- Select default_host towards the bottom of the tree in the
left pane.
- This will open Virtual Host: default_view in the right
pane.
- Select the Advanced tab in the right pane.
- 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.
- 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
- Stop the Default Server from the WebSphere Application Server's
Administrator Console.
- Locate the directory <was_root>/hosts/default_host/WSsamplesIDB_app/servlets/WebSphereSamples/Database
- 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.
- Within that directory, run the command: jar -xvf jar_of_sampleIDB.jar
- 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.
|
|