Informix Database Configuration
Create an operating system user named wsdemo, with a password
of wsdemo1. Use all lower case letters when creating the wsdemo
user. The wsdemo user does not require special privileges.
- On Windows, set the wsdemo user with the following properties:
- Select Password Never Expires.
- Clear User must change password at next Logon.
Run the ImportSamples script to create a SAMPLE database, create a SAMPLE data
source, and install the Samples Enterprise Application on your WebSphere Application
Server.
- On Windows:
- Verify that the WebSphere Application Server has started.
- Open a command window.
- Change to the <WAS_ROOT>\bin directory.
- Invoke the following script:
ImportSamplesInformix.bat Informix_Server
where: Informix_Server is the Informix Server name.
Here is an example of the command syntax for Windows:
ImportSamplesInformix.bat ol_myServer
- Start or restart the Default Server.
- Select Enterprise Application and click Refresh,
to show the newly installed Enterprise Application. The name of the application
is Samples.
- On UNIX:
- Verify that the WebSphere Application Server has started.
- Open a command window.
- Change to the <WAS_ROOT>/bin directory.
- Invoke the following script:
./ImportSamplesInformix.sh Informix_User Informix_Server
where:
- Informix_User is the Informix user name. The default
value is informix.
- Informix_Server is the Informix Server name.
Here is an example of the command syntax for UNIX:
./ImportSamplesInformix.sh informix ol_myServer
The database
script requires that you provide the user ID and password of an account
that has DBA authority.
- Start or restart the Default Server.
- Select Enterprise Application and click Refresh,
to show the newly installed Enterprise Application. The name of the application
is Samples.
Run the servlet to create and configure the tables in the SAMPLE database.