Thanks jesper it worked. Basically the classloader used at the time of deployment has to be same as the one used at runtime. So now I pass
ClassLoader cl = MyManagedConnectionFactory.class.getClassLoader();
Reply to this message by going to Community
Start a new discussion in IronJacamar at Community