1. In Configure tab
- Enable administration console
- Open Java VM Settings section add any system properties you want in your application like logger class or environment information (dev, sys or prod etc.)
- Open Node Settings
- set the ORACLE_JDBC_DRIVER_PATH to jdbc driver jar location
- Open JAAS Authentication
- Add an alias: user-auth;
- Username : <db-user>
- Password : <password>
- Open Server Settings section
- In JDBC Provider List set
- Oracle JDBC provider: Oracle Thin Driver;
- Implementation Class: OracleConnecctionPoolDataSource
- Define DataSource after choosing the just created Provider
- Class path = {ORACLE_JDBC_DRIVER_PATH}/<jdbc-driver>.jar
- Data source
- 1st Screen
- Oracle Thin Driver
- 2nd Screen
- Name: jdbc/MyDataSource
- JNDI Name: jdbc/MyDataSource
- Component Managed Auth Alias: user-auth
- Container managed auth alias: user-auth
- 3rd Screen
- Port number: <oracle-port> note: default port is 1521
- URL:jdbc:oracle:thin:@<db-host-name>:<port>:<schema-name>
Useful commands:
Check out the version of installed WAS in Solaris:
$[WAS Installed location]/bin/versionInfo.sh
No comments:
Post a Comment