We have a Java Service which is a wrapper to a class which is packaged as a jar(say Jar1) and deployed in webMethods. One of this class inside the jar(Jar1), loads another jar(Jar2) file using the JarClassLoader. This Jar2 has depencies with few more jars. With the current setting, the wM is not capable of loading these dependent jars. The options that we have tried so far are
- Specifying the dependent Jar Files for the Jar2 in the manifest file using the “Class-Path” keyword.
- We also tried placing the dependent jar files in the /code/jars/static (Tried with reloading the package as well as restarting the IS)
Any suggestions on getting this working?