*
The moose likes JBoss/WildFly and the fly likes TransactionRecoveryContextInitializer not found - JBoss EAP 6.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "TransactionRecoveryContextInitializer not found - JBoss EAP 6.2" Watch "TransactionRecoveryContextInitializer not found - JBoss EAP 6.2" New topic
Author

TransactionRecoveryContextInitializer not found - JBoss EAP 6.2

Ian Auty
Greenhorn

Joined: Jan 18, 2014
Posts: 1
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,
Ian
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

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?

[My Blog] [JavaRanch Journal]
 
Consider Paul's rocket mass heater.
 
subject: TransactionRecoveryContextInitializer not found - JBoss EAP 6.2
 
Similar Threads
Java file - Anyone willing to look at my java file and see what the probelm is
NullPointer Exception while using Apache POI
SQLException on connect
Writing data into existing database
Can't Initialise Object Streams