-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: TreeCache redeploy problem in WebLogic 8.1
PostPosted: Thu Mar 24, 2005 8:59 pm 
Beginner
Beginner

Joined: Thu Nov 20, 2003 8:13 pm
Posts: 31
Location: Newport Beach, CA
I am using TreeCache for second-level caching.

I have an EAR containing my EJB JAR, WAR and dependent libraries.

The initial deployment to WebLogic deploys and operates fine. If I then 'Stop' and 'Start' (same with 'Redeploy') my application through the WebLogic console, I continually get the stack trace below, and the deployment fails. Has anyone ever seen this? Is anyone using TreeCache in WebLogic that is able to redeploy an EAR?

Hibernate 2.1.8

Full stack trace of any exception that occurs:
Code:
16:11:03,429 ERROR [UDP] exception=java.io.IOException: java.lang.NoClassDefFoundError: org/jgroups/protocols/pbcast/JoinRsp
        at org.jgroups.util.Marshaller.read(Marshaller.java:85)
        at org.jgroups.Message.readExternal(Message.java:491)
        at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:686)
        at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1294)
        at java.lang.Thread.run(Thread.java:534)


Windows XP Pro sp1

WebLogic 8.1sp4 (JDK 1.4.2_05)

Oracle 8.1.6

TreeCache v1.2.1

JGroups 2.2.7

concurrent-1.3.3.jar

jboss-(common, jmx, system)-4.0.1sp1.jar

I also tried using the following bundled JARs that come with the Hibernate 2.1.8 distro and encountered the same issue:

jboss-cache.jar
jboss-common.jar
jboss-jmx.jar
jboss-system.jar


Top
 Profile  
 
 Post subject: JBoss Cache JARs in system classpath
PostPosted: Tue Apr 05, 2005 1:45 pm 
Beginner
Beginner

Joined: Thu Nov 20, 2003 8:13 pm
Posts: 31
Location: Newport Beach, CA
Here is a link to the same post on the JBoss Cache forums. The thread there has some more information:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61864

The workaround to this problem is to put the JBoss Cache JARs in the system classpath. This however causes a new issue with redeploying applications (ClassCastExceptions for cached data from old ClassLoaders, a known issue with JBoss Cache).

Is there any way to programmatically force a clear() of the Hibernate second-level cache?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


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

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.