To add a connection pool configuration to a JDBC resource, use the following rhino-console command or related MBean operation.

Console command: createjdbcresourceconnectionpoolconfig


createjdbcresourceconnectionpoolconfig <name>
    Create a connection pool configuration for a JDBC resource.


$ ./rhino-console createjdbcresourceconnectionpoolconfig myresource
Connection pool configuration created

MBean operation: createJdbcResourceConnectionPoolConfig


Rhino operation

public ObjectName createJdbcResourceConnectionPoolConfig(String jndiName)
    throws NullPointerException, NameNotFoundException,
      InvalidStateException, ConfigurationException;

This method returns the JMX ObjectName of a JDBC Resource Connection Pool Management MBean, which can be used to manage the connection pool configuration parameters.

Previous page Next page
Rhino Version 2.6.2