Folks,
I have implemented a Resource Adapter and deployed it as a RAR in Glassfish. The ResourceAdapter Class starts and the endpoint I have configured initializes.
The problem is that some of the JARs contained in the root directory of the RAR are not seen on the classpath. In addition, I have not been able to use config/property files because they cannot be found.
A workaround for the NoClassDefFound errors is to put the JARs in the Glassfish/lib directory. This is not ideal and I'm tearing my hair out trying to figure out a way of using property/config files without specifying absolute paths (to nasty to contemplate).
Many thanks,
Shane