This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

TransactionRecoveryContextInitializer not found - JBoss EAP 6.2  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all!

I am currently starting my first EJB project and have used the latest JBoss EAP 6.2. I believe I have my server set up correctly and am able to deploy my EJB jar with no errors or warnings from the server console. My issue is when I try to call a method on a Stateless bean - I have set up my interfaces (both remote and local) which my bean implements and my client calls the remote interface, when I do so, I get the following error:

I haven't been able to find any reference to this error anywhere, looking at the javadoc on TransactionRecoveryContextInitializer, it states the following:

A {@link EJBClientContextInitializer} which sets up the {@link EJBClientContext} with the relevant information so that the transaction recovery process for EJB XAResource(s) can be functional

I was hoping someone here might be able to shed some light on this error? If you require any code please let me know!

Thank you,
Posts: 10445
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ian, welcome to CodeRanch!

That class is supposed to be part of the JBoss EJB client API jar which is expected to be on your client classpath. Are you sure you are using the correct (version) of the client jar?
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!