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
Here is the full stack dump from java while the problem occurs:
Here is the relevant thread which causes the problem:
"tcpConnection-6802-19" daemon prio=1 tid=0x0825f300 nid=0x1354 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on <0x51ed2f78> (a org.jgroups.util.Promise)
- locked <0x51ed2f78> (a org.jgroups.util.Promise)
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.