File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Configuring Only JMS persistent store using mySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configuring Only JMS persistent store using mySQL" Watch "Configuring Only JMS persistent store using mySQL" New topic

Configuring Only JMS persistent store using mySQL

Mohammed Yousuff
Ranch Hand

Joined: Oct 17, 2007
Posts: 198
i am trying to configure the JMS module in Jboss to use mySQL as its data store. Below are the files which i have updated, however i am getting namenot found JNDI related exception... please let me know if i am missing any steps . thanks for your help....

* Created mySql datasource as 'mySqlDS'

* Deleted default\deploy\jms\hsqldb-jdbc-state-service.xml & default\deploy\jms\hsqldb-jdbc2-service.xml and added mysql version of the files by changing the datasource as 'mySqlDS'.

* updated login-config.xml with new mySQL DS under the section name <application-policy name = "jbossmq">, which uses the defaultDS.

When i tried to restarted, it was throwing exception as below... i think there some objects which is not bounded, is there any steps missing?... please let me know.

My Thoughts :
Try not to become a man of success but rather to become a man of value.
Steven Landers
Ranch Hand

Joined: Nov 02, 2008
Posts: 30
I ran across this, which looks like your error:

To rule that issue out, can you check your jms-ds.xml and indicate what it contains?
I agree. Here's the link:
subject: Configuring Only JMS persistent store using mySQL
Similar Threads
MySql and JBoss
can not deploy application!!!!
EJB30-JBOSS sample tutorial doesn't works!!
JBPM Deployment on Jboss-4.0.3SP1
Error in deployment of MDB in jboss