Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

javax.naming.NameNotFoundException: XAConnectionFactory not bound

 
Ranch Hand
Posts: 164
  • 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

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • 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
  • 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
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My jms-ds.xml looks like this

 
Greenhorn
Posts: 8
  • 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
  • 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

 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic