Wednesday, October 9, 2013

How to create JNDI datasource in JBoss AS7

This post shows how to create JNDI for datasource connection in JBoss AS7.
There is another post to show how to create JNDI datasource in Oracle Weblogic

pre-requisite:

Steps:
1. login as management user in JBoss admin console
2. Open the Create Datasouece wizard
    Profile > Datasources > Add

3. Enter datasource name and JNDI name into the Create Datasource wizard step 1 > Next

4. Choose target jdbc driver from the list of deployed jdbc driver in JBoss AS7 > Next

5. Enter jdbc connection details > Done

6. Enabled the new Datasource and Test the connection
    Enable > Confirm > Test Connection

7. Show successful message


Done!!

LinkWithin

Related Posts Plugin for WordPress, Blogger...