For adding 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 above example, com.pointbase.jdbc.jdbcDataSource represents the JDBC driver class.
For a list of supported JDBC drivers, see JDBC Drivers Supported by Sun Java System Web Server.