Hi Deng,
as long as not explicitly required the jar should only be located under WmJDBCAdapter/code/jars-directory.
Put a package dependency on each packages properties to WmJDBCAdapter-package if direct access to the jar is required or to force teh packages which contain jdbc connections to be loaded after WmJDBCAdapter has finished loading.
If you really need the jar in the server wide class path it should be located under IntegrationServer/instances//lib/jars/custom.
For IntegrationServers prior to 9.6 the path is IntegrationServer/lib/jars/custom (remove the “custom” part if directory does not exist).
When placing jars under lib/jars it is required to shutdonw and restart the IntegrationServer as when placing under the package only a reload of the package is neccessary causing a reload of all packages being dependent on this package (either directly or indirectly).
The Memory Settings for MWS can be found in the MWS/server//bin/server_properties.sh (or .bat if on Windows).
Check for the JVM_OPTS property.
Regards,
Holger
#Integration-Server-and-ESB#webMethods#webMethods-General