Zama Ques
Zama Ques

Reputation: 1544

Jboss connectivity with MySQL DB

Need help for JBoss integration with MySQL DB. TheWARfile is copied toJboss deployment` directory .

$ ls /MRTSTP/jboss-eap-6.0/standalone/deployments/ README.txt RT.war RT.war.deployed

DB is restored and necessary permissions granted for db user to access data from DB . The issue for me is where to add necessary DB related configuration like JNDI , username and password in JBOSSso that application can connect to the database.

Any pointers ?

Upvotes: 1

Views: 54

Answers (1)

xiyurui
xiyurui

Reputation: 241

you could add a db resource pool file to save your connection. and then use the JNDI to look up above resource pool. example as below for MSSQL.

 <jndi-name>MSSQLDS</jndi-name>

Upvotes: 1

Related Questions