I have written a class to get the reference to the TransactionManager and this is the snap shot of the code like:
ObjectName TM_NAME = new
Kernel kernel = KernelRegistry.getSingleKernel();
TransactionManager tm = (TransactionManager)kernel.getProxyManager().createProxy(TM_NAME,
This class is used by one of my EJB which is already deployed on Geronimo, to get the reference to the TransactionManager and I am getting following exception in the server console of the Geronimo
The ‘mx4j-3.0.1.jar’ at Geronimo lib folder contains above class but it doesn’t get picked up. I just copied this jar into lib/enda123orsed folder then I don’t get above exception but again NoClassDefFoundError for the KernelRegistry class. I wonder why the jars in the lib folder do not get picked up at run time. Please note that I have added all required Geronimo jars in the class path for my client. The problem seems to be in the server site.
How can I resolve this issue?