Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.naming.NameNotFoundException: XAConnectionFactory not bound

 
Kaustubh Patil
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While deploying MDB's I get following exception..



I have done all the necessary changes to the files..
\server\default\deploy\jms\jms-ds.xml
I am using jboss4.2.2.GA and at loss at what would be happening.
When I see the JNDI tree for the server it has only these lines in the global JNDI namespace

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a DEBUG message, and can be safely ignored. Or are you experiencing some kind of problem when using your MDB?

Also, did you install JBoss Messaging or are you using JBossMQ (which comes with JBoss AS 4.2.x)?
 
Kaustubh Patil
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter, Thanks for the reply.
I am using jboss MQ. I do have problems with my MDBs I guess because of the jndi lookup not happening.Here is the trace



Also in the startup of server I get this error


I guess there are some tables not present that the MQ service is trying to access. I guess I might have to configure them in the jbossmq-service.xml but not sure and also not sure how.
I am quite new to jboss
 
Kaustubh Patil
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to resolve the second exception where it was not able to create the tables. I am using the default datasource that jBoss uses for MQ and not my application datasource. I guess it uses this datasource for persistance of the MQ which would be the HS.


But I am still stuck at why am I getting the XAConnectionFactory not bound exception.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have done all the necessary changes to the files..
\server\default\deploy\jms\jms-ds.xml


What changes did you do? Can you post those?
 
Kaustubh Patil
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My jms-ds.xml looks like this

 
vishnu cypress
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also facing the same problem , some body please help --

Thanks
Vishnu
 
vishnu cypress
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got rid of XAConnectionFactory not bound , There was hsqldb-ds.xml in the deploy folder , i had remove it

Now i get a different error


Checking this now

Thanks
Vishnu

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic