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
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!!
I couldnt find the oracle driver
ReplyDeleteOnly h2 is available when I tried to
Create data source
Thank you