Previous Topic: IBM WebSphereNext Topic: Oracle WebLogic


JBoss

To create a JNDI connection in JBoss:

  1. Access the JBOSS AS Administration Console.
  2. From the left pane, navigate to Connector, Datasources.

    The JDBC Datasource page opens.

  3. Click Add a new resource button.
  4. Enter the fields, Name and JNDI Name. (The JNDI name used by the CA components).

    Note: The value you enter in the JNDI Name field must exactly match the Primary JNDI Name that you have configured in the AFM Wizard.

  5. Click Next.

    The Add JDBC Driver page opens.

  6. Select the JDBC Driver deployed in the server. Enter the following fields:
    Connection URL

    Specifies the connection URL for the database server.Example: if you are using Oracle driver, then URL would be: jdbc:oracle:thin:server:port_number:sid.

    Username

    Specifies the database user name.

    Password

    Specifies the database password.

  7. Click Done.