Posted: Mon Nov 03, 2003 11:04 am Post subject: Java plugin node - Class loader / Class Not Found Problem
Newbie
Joined: 23 Apr 2003 Posts: 6
Hi,
I have add a logging package (log4j) to a java plugin node. The logging appears to work fine, but the WMQI log file : 'syslog.user' reports the following :
Failure to locate Java class org.apache.log4j.nt.NTEventLogAppender
Failure to locate Java class org.apache.log4j.xml.DOMConfigurator
The log4j.jar is located in the jplugin folder and contains both the aforemention classes. From the java plugin node I can call
Code:
System.getProperty("java.class.path")
which returns the classpath from which I can verfiy that the log4j.jar is indeed in the classpath.
This error is reported when the broker is recycled. Is this a class loader issue? And if so, where can I put the jar or how can I ensure the classes are available when the broker loads the plugin jars?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum