Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Update a JDBC Resource

You can enable or disable a JDBC resource by using the set subcommand. The JDBC resource is identified by its dotted name.

  1. List JDBC resources by using the list-jdbc-resources(1) subcommand.

  2. Modify the values for the specified JDBC resource by using the set(1) subcommand.

    For example:


Example 14–10 Updating a JDBC Resource

This example changes the res1 enabled setting to false.


asadmin>set resources.jdbc-resource.res1.enabled=false