ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java plugin node - Class loader / Class Not Found Problem

Post new topic  Reply to topic
 Java plugin node - Class loader / Class Not Found Problem « View previous topic :: View next topic » 
Author Message
jpm
PostPosted: Mon Nov 03, 2003 11:04 am    Post subject: Java plugin node - Class loader / Class Not Found Problem Reply with quote

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?

Thanks in advance,
John
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 03, 2003 11:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Put it in the classes folder.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java plugin node - Class loader / Class Not Found Problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.