-->
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: Hibernate with JBoss TreeCache problem
PostPosted: Wed Aug 15, 2007 12:21 pm 
Newbie

Joined: Wed Aug 15, 2007 12:18 pm
Posts: 2
Hello,

I'm having some problems with a website which uses Hibernate with JBoss
TreeCache. Several servers with the following configuration:
Resin application server, with Hibernate 3, with JBoss TreeCache.

The problem occurs during startup of the Resin application server,
occurs during initialization of hibernate, and the result is that when
this occurs no .jsp pages are served from Resin which uses Hibernate.
Most of the threads in the Resin application server are waiting for a
thread in the jgroups classes. However, this function never finishes,
causing all new tcpConnection threads to wait, until the application
server crashes.

Here is the full stack dump from java while the problem occurs:

http://www.pvv.org/~andrearo/java-stack-dump.txt

Here is the relevant thread which causes the problem:


"tcpConnection-6802-19" daemon prio=1 tid=0x0825f300 nid=0x1354 in Object.wait() [0xaef01000..0xaef01878]
at java.lang.Object.wait(Native Method)
- waiting on <0x51ed2f78> (a org.jgroups.util.Promise)
at java.lang.Object.wait(Object.java:429)
at org.jgroups.util.Promise.doWait(Promise.java:100)
at org.jgroups.util.Promise._getResultWithTimeout(Promise.java:52)
at org.jgroups.util.Promise.getResultWithTimeout(Promise.java:28)
- locked <0x51ed2f78> (a org.jgroups.util.Promise)
at org.jgroups.util.Promise.getResult(Promise.java:77)
at org.jgroups.JChannel.connect(JChannel.java:353)


Any advice about what could be the cause of these problems? How should I
go about further investigating this? I have briefly looked at
the getResultWithTimeout() method in the Promise class from jgroups.
Any help would be appreciated!


- Andreas R.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 2:47 pm 
Newbie

Joined: Wed Aug 15, 2007 12:18 pm
Posts: 2
Here is the startup log from Hibernate:

http://www.pvv.org/~andrearo/startup.log

After the final
TreeCache (org.jboss.cache.TreeCache) cache mode is REPL_ASYNC
everything freezes.

Any help appreciated.


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.