ClassNotFoundException when upgrading to 1.2.3
henriknyberg Sep 30, 2005 9:34 AMHello,
we have been successfully using JBossCache 1.2 in a oracle 9ias clustered environment (6 instances, around 120.000 objects in the replicated cache). When upgrading to JBossCache 1.2.3 by simply replacing the jars in the distribution we run into a class not found exception.
When I run one instance in the cluster everything works fine. When I start a second instance creating UDP multicast traffic on the network I get the error message below. The JBossCache jars (including jgroups.jar) are included in the WEB-INF/lib directory of the application archive which is deployed in the cluster. This works fine with JBossCache 1.2 but somehow something seems to have changed with the 1.2.3 release. Do you have any idea what the problem is with the upgrade?
Best regards,
Henrik
2005-09-30 15:15:41,707 : ERROR [UDP mcast receiver] [] 4125 org.jgroups.conf.ClassConfigurator - java.lang.ClassNotFoundException: org.jgroups.blocks.RequestCorrelator$Header
at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:459)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind.server.ApplicationContextClassLoader.findClass(ApplicationContextClassLoader.java:19)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jgroups.conf.ClassConfigurator.get(ClassConfigurator.java:140)
at org.jgroups.Message.readHeader(Message.java:724)
at org.jgroups.Message.readFrom(Message.java:645)
at org.jgroups.protocols.UDP.bufferToList(UDP.java:1011)
at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:708)
at org.jgroups.protocols.UDP.run(UDP.java:277)
at java.lang.Thread.run(Thread.java:534)
PS. The jars that we are including from JBossCache 1.2.3 are:
jboss-cache.jar
jboss-system.jar
jboss-jmx.jar
jgroups.jar
jboss-common.jar
jboss-j2ee.jar
log4j.jar
commons-logging.jar
concurrent.jar