Sun Java System Web Server 7.0 Update 7 Administrator's Guide

Adding a JDBC Resource

To add a JDBC resource through CLI, execute the following command.

wadm> create-jdbc-resource --user=admin --password-file=admin.pwd --host=serverhost
--port=8989 --config=config1 --datasource-class=oracle.jdbc.pool.OracleDataSource jdbc

See CLI Reference, create-jdbc-resource(1).

In the previous example, com.pointbase.jdbc.jdbcDataSource represents the JDBC driver class.

For a list of supported JDBC drivers, see JDBC Drivers Known to Work With the Sun Java System Web Server.