Sybase Database Configuration
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:
ImportSamplesSybase.bat Sybase_Server Sybase_DBA_userid
Sybase_DBA_password
where:
- Sybase_Server is the Sybase server.
- Sybase_DBA_userid is the Sybase satabase administrator's
user ID.
- Sybase_DBA_password is theSybase database administrator's
password.
Here is an example of the command syntax for Windows:
ImportSamplesSybase.bat myserver sybaseDBA sybasePasswd
The database
script requires that you provide the user ID and password of an account
that has Sybase DBA authority.
- Start or restart the Default Server.
- Select Enterprise Application and click Refresh,
to show the newly installed Enterprise Application.
- On UNIX:
- Verify that the WebSphere Application Server is started.
- Open a command window.
- Change to the <WAS_ROOT>/bin directory.
- Invoke the following script:
./ImportSamplesSybase.sh Sybase_User Sybase_Server
Sybase_DBA_userid Sybase_DBA_password
where:
- Sybase_User is the Sybase user name. The default value
is sybase.
- Sybase_Server is the Sybase server.
- Sybase_DBA_userid is the Sybase database administrator's
user ID.
- Sybase_DBA_password is the Sybase database administrator's
password.
Here is an example of the command syntax for UNIX:
./ImportSamplesSybase.sh sybaseUser myserver subaseDBA sybasePasswd
The database
script requires that you provide the user ID and password of an account
that has Sybase DBA authority.
- Start or restart the Default Server.
- Select Enterprise Application and click Refresh,
to show the newly installed Enterprise Application.
Run the servlet to create and configure the tables in the SAMPLE tablespace.