-->
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.  [ 5 posts ] 
Author Message
 Post subject: Timeout when creating session factory
PostPosted: Sun Mar 07, 2010 9:40 am 
Newbie

Joined: Sun Mar 07, 2010 9:05 am
Posts: 13
I am using Spring to hold a session factory in the application scope.

This is what it executes at deploy time:

Code:
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
...
URL configUrl = HibernateFactoryBean.class.getResource(PATH_PACKAGE_CONFIG_HIBERNATE);
Configuration configuration = new Configuration();
this.sessionFactory = configuration.configure(configUrl).buildSessionFactory();


This is my configuration file:

Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>

    <session-factory>

        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
        <property name="connection.url">jdbc:mysql://localhost/filehosting</property>
        <property name="connection.username">root</property>
        <property name="connection.password"></property>
        <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
        <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
        <property name="current_session_context_class">thread</property>
        <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
        <property name="show_sql">false</property>
       
        <mapping resource="com/filehosting/hibernate/conf/hibernate.hbm.xml"/>

    </session-factory>

</hibernate-configuration>


When I deploy the web application, it builds the session factory and it is ready to use.

If I deploy the web application, but the database server (MySQL) is not running, the server stops at Configuration.buildSessionFactory() and waits for the database server to respond.

Is this the expected behavior?
Cam I set a timeout for this?
Can the session factory be made without the database connection?


Top
 Profile  
 
 Post subject: Re: Timeout when creating session factory
PostPosted: Mon Mar 08, 2010 3:24 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Actually Hibernate should just log a warning if the database is down while creating the session factory.
(see https://forum.hibernate.org/viewtopic.php?f=1&t=1003053)
Which version of hibernate are you using?
Please post the stacktrace of the hanging thread (=the one which waits for the database server to respond).
You can obtain it calling jstack <pid>


Top
 Profile  
 
 Post subject: Re: Timeout when creating session factory
PostPosted: Mon Mar 08, 2010 5:19 am 
Newbie

Joined: Sun Mar 07, 2010 9:05 am
Posts: 13
I am using version 3.3.2.GA.

Code:
2010-03-08 10:57:11
Full thread dump Java HotSpot(TM) Client VM (16.0-b13 mixed mode):

"Timer-2756" prio=6 tid=0x310dec00 nid=0x1168 in Object.wait() [0x3293f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0520d300> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0520d300> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"MySQL Statement Cancellation Timer" daemon prio=10 tid=0x33a1e000 nid=0x230 in Object.wait() [0x3917f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x04cb7218> (a java.util.TaskQueue)
   at java.lang.Object.wait(Object.java:485)
   at java.util.TimerThread.mainLoop(Timer.java:483)
   - locked <0x04cb7218> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon prio=10 tid=0x33a1d800 nid=0xb80 runnable [0x3912f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   - locked <0x051fdfe0> (a java.net.SocksSocketImpl)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   at java.net.Socket.connect(Socket.java:525)
   at java.net.Socket.connect(Socket.java:475)
   at java.net.Socket.<init>(Socket.java:372)
   at java.net.Socket.<init>(Socket.java:215)
   at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137)
   - locked <0x051fad98> (a java.lang.Object)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:781)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
   at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
   at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
   at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
   at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon prio=10 tid=0x33a1d400 nid=0x13b8 runnable [0x390df000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   - locked <0x052454e0> (a java.net.SocksSocketImpl)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   at java.net.Socket.connect(Socket.java:525)
   at java.net.Socket.connect(Socket.java:475)
   at java.net.Socket.<init>(Socket.java:372)
   at java.net.Socket.<init>(Socket.java:215)
   at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137)
   - locked <0x0520ad98> (a java.lang.Object)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:781)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
   at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
   at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
   at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
   at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon prio=10 tid=0x33a1cc00 nid=0xa58 runnable [0x3908f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   - locked <0x05256590> (a java.net.SocksSocketImpl)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   at java.net.Socket.connect(Socket.java:525)
   at java.net.Socket.connect(Socket.java:475)
   at java.net.Socket.<init>(Socket.java:372)
   at java.net.Socket.<init>(Socket.java:215)
   at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137)
   - locked <0x05253348> (a java.lang.Object)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:781)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
   at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
   at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
   at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
   at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
   at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
   at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

"Timer-2744" daemon prio=10 tid=0x33a1c800 nid=0x1308 in Object.wait() [0x3903f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0498d498> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0498d498> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"IndexMerger" daemon prio=10 tid=0x310df000 nid=0x142c in Object.wait() [0x32c0f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x113933a8> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at java.lang.Object.wait(Object.java:485)
   at org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:107)
   - locked <0x113933a8> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at org.apache.jackrabbit.core.query.lucene.IndexMerger.run(IndexMerger.java:263)

"ObservationManager" daemon prio=10 tid=0x0158fc00 nid=0x10c0 in Object.wait() [0x328ef000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x11393420> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at java.lang.Object.wait(Object.java:485)
   at org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:107)
   - locked <0x11393420> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:138)
   at java.lang.Thread.run(Thread.java:619)

"derby.rawStoreDaemon" daemon prio=10 tid=0x318df000 nid=0x156c in Object.wait() [0x32d9f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x11393570> (a org.apache.derby.impl.services.daemon.BasicDaemon)
   at org.apache.derby.impl.services.daemon.BasicDaemon.rest(Unknown Source)
   - locked <0x11393570> (a org.apache.derby.impl.services.daemon.BasicDaemon)
   at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)

"IndexMerger" daemon prio=10 tid=0x31af2000 nid=0x1270 in Object.wait() [0x32c5f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x11393638> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at java.lang.Object.wait(Object.java:485)
   at org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:107)
   - locked <0x11393638> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at org.apache.jackrabbit.core.query.lucene.IndexMerger.run(IndexMerger.java:263)

"Timer-2741" daemon prio=10 tid=0x31a59000 nid=0x161c in Object.wait() [0x31d0f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x113936b8> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x113936b8> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"IndexMerger" daemon prio=10 tid=0x0158e400 nid=0x1150 in Object.wait() [0x327ff000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x11393780> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at java.lang.Object.wait(Object.java:485)
   at org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:107)
   - locked <0x11393780> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at org.apache.jackrabbit.core.query.lucene.IndexMerger.run(IndexMerger.java:263)

"ObservationManager" daemon prio=10 tid=0x0158f800 nid=0x1230 in Object.wait() [0x3239f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x11131910> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at java.lang.Object.wait(Object.java:485)
   at org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:107)
   - locked <0x11131910> (a org.apache.commons.collections.buffer.BlockingBuffer)
   at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:138)
   at java.lang.Thread.run(Thread.java:619)

"derby.rawStoreDaemon" daemon prio=10 tid=0x01591400 nid=0x7e0 in Object.wait() [0x3094f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x10f5aed0> (a org.apache.derby.impl.services.daemon.BasicDaemon)
   at org.apache.derby.impl.services.daemon.BasicDaemon.rest(Unknown Source)
   - locked <0x10f5aed0> (a org.apache.derby.impl.services.daemon.BasicDaemon)
   at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)

"derby.rawStoreDaemon" daemon prio=10 tid=0x306c8400 nid=0x828 in Object.wait() [0x3261f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x11132a08> (a org.apache.derby.impl.services.daemon.BasicDaemon)
   at org.apache.derby.impl.services.daemon.BasicDaemon.rest(Unknown Source)
   - locked <0x11132a08> (a org.apache.derby.impl.services.daemon.BasicDaemon)
   at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)

"Timer-2734" daemon prio=10 tid=0x306c6000 nid=0xef4 in Object.wait() [0x323ef000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x10f3f0d0> (a java.util.TaskQueue)
   at java.lang.Object.wait(Object.java:485)
   at java.util.TimerThread.mainLoop(Timer.java:483)
   - locked <0x10f3f0d0> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"derby.antiGC" daemon prio=2 tid=0x0158ec00 nid=0x17cc in Object.wait() [0x3234f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x10f30d70> (a org.apache.derby.impl.services.monitor.AntiGC)
   at java.lang.Object.wait(Object.java:485)
   at org.apache.derby.impl.services.monitor.AntiGC.run(Unknown Source)
   - locked <0x10f30d70> (a org.apache.derby.impl.services.monitor.AntiGC)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/FileHosting]]" daemon prio=10 tid=0x0158d800 nid=0xed4 waiting on condition [0x31e4f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"RMI TCP Connection(idle)" daemon prio=6 tid=0x01591c00 nid=0x1588 waiting on condition [0x30c9f000]
   java.lang.Thread.State: TIMED_WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x0f0aeee8> (a java.util.concurrent.SynchronousQueue$TransferStack)
   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
   at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
   at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
   at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
   at java.lang.Thread.run(Thread.java:619)

"RMI TCP Connection(idle)" daemon prio=6 tid=0x0158e000 nid=0x1730 waiting on condition [0x30aaf000]
   java.lang.Thread.State: TIMED_WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x0f0aeee8> (a java.util.concurrent.SynchronousQueue$TransferStack)
   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
   at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424)
   at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
   at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/SecurityTestApp]]" daemon prio=10 tid=0x31a58800 nid=0x1028 waiting on condition [0x3220f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"p: thread-pool-1; w: 6" daemon prio=6 tid=0x318de800 nid=0x158c in Object.wait() [0x30c4f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f3ab400> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
   at com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl.requestWork(WorkQueueImpl.java:171)
   - locked <0x0f3ab400> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
   at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)

"p: thread-pool-1; w: 5" daemon prio=6 tid=0x318dd000 nid=0x14dc in Object.wait() [0x30a1f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f3ab400> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
   at com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl.requestWork(WorkQueueImpl.java:171)
   - locked <0x0f3ab400> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
   at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)

"p: thread-pool-1; w: 4" daemon prio=6 tid=0x318df800 nid=0x41c in Object.wait() [0x308af000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f3ab400> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
   at com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl.requestWork(WorkQueueImpl.java:171)
   - locked <0x0f3ab400> (a com.sun.corba.ee.impl.orbutil.threadpool.WorkQueueImpl)
   at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)

"Thread-28" daemon prio=10 tid=0x31af1c00 nid=0xfbc waiting on condition [0x32fcf000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at com.sun.enterprise.admin.jmx.remote.server.notification.ServerNotificationManager.run(ServerNotificationManager.java:228)
   at java.lang.Thread.run(Thread.java:619)

"Timer-7" prio=6 tid=0x31af1400 nid=0xf0 in Object.wait() [0x32f7f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0ff033e8> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0ff033e8> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"DestroyJavaVM" prio=6 tid=0x31af1000 nid=0x858 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Timer-6" daemon prio=6 tid=0x31af0800 nid=0x11a0 in Object.wait() [0x32f2f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0ff03508> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0ff03508> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv]]" daemon prio=6 tid=0x31a5c000 nid=0x1338 waiting for monitor entry [0x32edf000]
   java.lang.Thread.State: BLOCKED (on object monitor)
   at org.apache.catalina.core.ContainerBase.findChildren(ContainerBase.java:1058)
   - waiting to lock <0x0f2f84f0> (a java.util.HashMap)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1844)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1847)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1827)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/__wstx-services]]" daemon prio=6 tid=0x31a5b800 nid=0x4c4 waiting on condition [0x32e8f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/__JWSappclients]]" daemon prio=2 tid=0x31a5b400 nid=0x17c0 waiting on condition [0x32e3f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/EnterpriseApplication1-war]]" daemon prio=6 tid=0x31a5ac00 nid=0x1620 waiting on condition [0x32def000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[]]" daemon prio=6 tid=0x31a5a000 nid=0x12d0 waiting on condition [0x32d4f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[/web1]]" daemon prio=6 tid=0x31a59c00 nid=0x1580 waiting on condition [0x32cff000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[]]" daemon prio=2 tid=0x31a59400 nid=0x1c8 waiting on condition [0x32caf000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1816)
   at java.lang.Thread.run(Thread.java:619)

"httpWorkerThread-4848-1" daemon prio=10 tid=0x310e2000 nid=0x9f4 in Object.wait() [0x32bbf000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0fc93cc0> (a com.sun.enterprise.web.connector.grizzly.LinkedListPipeline)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:294)
   - locked <0x0fc93cc0> (a com.sun.enterprise.web.connector.grizzly.LinkedListPipeline)
   at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:114)

"httpWorkerThread-4848-0" daemon prio=10 tid=0x310e1c00 nid=0xc48 in Object.wait() [0x32b6d000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x04a86db0> (a com.mchange.v2.resourcepool.BasicResourcePool)
   at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1315)
   at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
   - locked <0x04a86db0> (a com.mchange.v2.resourcepool.BasicResourcePool)
   at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
   at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
   at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
   at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119)
   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339)
   at com.filehosting.hibernate.HibernateFactoryBean.afterPropertiesSet(HibernateFactoryBean.java:19)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   - locked <0x10e51068> (a java.util.concurrent.ConcurrentHashMap)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:540)
   - locked <0x10e51090> (a java.util.concurrent.ConcurrentHashMap)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
   - locked <0x10e51160> (a java.lang.Object)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
   - locked <0x10e511b0> (a com.sun.enterprise.web.WebModule)
   at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
   - locked <0x10e511b0> (a com.sun.enterprise.web.WebModule)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
   - locked <0x0f2f84f0> (a java.util.HashMap)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
   at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
   at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
   - locked <0x0f2a9ad0> (a com.sun.enterprise.server.WebModuleDeployEventListener)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
   at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
   at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
   at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
   at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
   at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
   at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
   at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
   at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
   at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
   at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
   at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
   at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
   at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
   at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
   at $Proxy1.invoke(Unknown Source)
   at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
   at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
   at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
   at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
   at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
   at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
   at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
   at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
   at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
   at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
   at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
   at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
   at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
   at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
   at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
   at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
   at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
   at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
   at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
   at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
   at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
   at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
   at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
   at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)

"httpSSLWorkerThread-8181-1" daemon prio=10 tid=0x310e1400 nid=0x163c in Object.wait() [0x32b1f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0fc93e10> (a com.sun.enterprise.web.connector.grizzly.ssl.SSLPipeline)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:294)
   - locked <0x0fc93e10> (a com.sun.enterprise.web.connector.grizzly.ssl.SSLPipeline)
   at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)

"httpSSLWorkerThread-8181-0" daemon prio=10 tid=0x310e1000 nid=0xbb8 in Object.wait() [0x32acf000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0fc93e10> (a com.sun.enterprise.web.connector.grizzly.ssl.SSLPipeline)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:294)
   - locked <0x0fc93e10> (a com.sun.enterprise.web.connector.grizzly.ssl.SSLPipeline)
   at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)

"SelectorThread-4848" prio=6 tid=0x310e0800 nid=0x12b8 runnable [0x32a7f000]
   java.lang.Thread.State: RUNNABLE
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:273)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:255)
   at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:136)
   at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
   - locked <0x0fc97168> (a sun.nio.ch.Util$1)
   - locked <0x0fc97178> (a java.util.Collections$UnmodifiableSet)
   - locked <0x0fc970f0> (a sun.nio.ch.WindowsSelectorImpl)
   at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1348)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1295)
   - locked <0x0fc97188> (a [Ljava.lang.Object;)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1258)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1234)

"httpSSLWorkerThread-8080-1" daemon prio=10 tid=0x310e0400 nid=0x1648 in Object.wait() [0x32a2f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0fc97220> (a com.sun.enterprise.web.portunif.PortUnificationPipeline)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:294)
   - locked <0x0fc97220> (a com.sun.enterprise.web.portunif.PortUnificationPipeline)
   at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)

"httpSSLWorkerThread-8080-0" daemon prio=10 tid=0x310dfc00 nid=0xb38 in Object.wait() [0x329df000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0fc97220> (a com.sun.enterprise.web.portunif.PortUnificationPipeline)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.enterprise.web.connector.grizzly.LinkedListPipeline.getTask(LinkedListPipeline.java:294)
   - locked <0x0fc97220> (a com.sun.enterprise.web.portunif.PortUnificationPipeline)
   at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:104)

"SelectorThread-8181" prio=6 tid=0x310df800 nid=0x1798 runnable [0x3298f000]
   java.lang.Thread.State: RUNNABLE
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:273)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:255)
   at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:136)
   at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
   - locked <0x0fc9a5a8> (a sun.nio.ch.Util$1)
   - locked <0x0fc9a5b8> (a java.util.Collections$UnmodifiableSet)
   - locked <0x0fc9a530> (a sun.nio.ch.WindowsSelectorImpl)
   at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1348)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1295)
   - locked <0x0fc9a5c8> (a [Ljava.lang.Object;)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1258)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1234)

"SelectorThread-8080" prio=6 tid=0x306c9000 nid=0x11d4 runnable [0x3289f000]
   java.lang.Thread.State: RUNNABLE
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:273)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:255)
   at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:136)
   at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
   - locked <0x0fc9d858> (a sun.nio.ch.Util$1)
   - locked <0x0fc9d868> (a java.util.Collections$UnmodifiableSet)
   - locked <0x0fc9d7e0> (a sun.nio.ch.WindowsSelectorImpl)
   at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1348)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1295)
   - locked <0x0fc9d878> (a [Ljava.lang.Object;)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1258)
   at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1234)

"Thread-19" prio=6 tid=0x306c8c00 nid=0x92c waiting on condition [0x3284f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at com.sun.enterprise.admin.server.core.channel.RMIClient.run(RMIClient.java:151)
   at java.lang.Thread.run(Thread.java:619)

"RMI RenewClean-[192.168.7.31:61980,com.sun.enterprise.admin.server.core.channel.LocalRMIClientSocketFactory@e3f8b9]" daemon prio=6 tid=0x306c8000 nid=0xbe8 in Object.wait() [0x327af000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f8fb468> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
   - locked <0x0f8fb468> (a java.lang.ref.ReferenceQueue$Lock)
   at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
   at java.lang.Thread.run(Thread.java:619)

"ClusterServiceListener" daemon prio=6 tid=0x306c7800 nid=0x10c8 runnable [0x3275f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f7428e8> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at com.sun.messaging.jmq.jmsserver.multibroker.fullyconnected.ClusterServiceListener.run(ClusterImpl.java:1849)

"MessageBusCallbackDispatcher" daemon prio=6 tid=0x306c7400 nid=0x165c in Object.wait() [0x3270f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f742a80> (a java.util.LinkedList)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.messaging.jmq.jmsserver.multibroker.CallbackDispatcher.run(CallbackDispatcher.java:330)
   - locked <0x0f742a80> (a java.util.LinkedList)

"jms_ACCEPT" prio=6 tid=0x306c6c00 nid=0x104c runnable [0x326bf000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f742b60> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at com.sun.messaging.jmq.jmsserver.net.tcp.TcpProtocol.accept(TcpProtocol.java:281)
   at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPService.run(IMQIPService.java:574)
   at java.lang.Thread.run(Thread.java:619)

"admin_ACCEPT" prio=6 tid=0x306c6800 nid=0x1010 runnable [0x3266f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f742de8> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at com.sun.messaging.jmq.jmsserver.net.tcp.TcpProtocol.accept(TcpProtocol.java:281)
   at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPService.run(IMQIPService.java:574)
   at java.lang.Thread.run(Thread.java:619)

"RMI RenewClean-[192.168.7.31:61991]" daemon prio=6 tid=0x306c5c00 nid=0xe0c in Object.wait() [0x325cf000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f6b41e8> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
   - locked <0x0f6b41e8> (a java.lang.ref.ReferenceQueue$Lock)
   at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
   at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=6 tid=0x318f0800 nid=0x1344 runnable [0x3257f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f6b3948> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
   at java.lang.Thread.run(Thread.java:619)

"ClusterDiscoveryService" daemon prio=6 tid=0x318f0400 nid=0x1100 runnable [0x3252f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f6aaea8> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at com.sun.messaging.jmq.jmsserver.service.ClusterDiscoveryService.run(ClusterDiscoveryService.java:318)
   at java.lang.Thread.run(Thread.java:619)

"Broker Monitor" daemon prio=6 tid=0x318efc00 nid=0xa0c in Object.wait() [0x324df000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f6a9bf0> (a java.util.Collections$SynchronizedSet)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.messaging.jmq.jmsserver.core.cluster.BrokerConsumers.run(MultibrokerRouter.java:1457)
   - locked <0x0f6a9bf0> (a java.util.Collections$SynchronizedSet)
   at java.lang.Thread.run(Thread.java:619)

"JMQPortMapper" daemon prio=6 tid=0x318ef800 nid=0x548 runnable [0x3248f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f6b47a0> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at com.sun.messaging.jmq.jmsserver.service.PortMapper.run(PortMapper.java:496)
   at java.lang.Thread.run(Thread.java:619)

"MQTimer-Thread" daemon prio=6 tid=0x318ef000 nid=0xcf0 in Object.wait() [0x3243f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f6b49b8> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0f6b49b8> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"RMI RenewClean-[192.168.7.31:61985]" daemon prio=6 tid=0x318de400 nid=0x360 in Object.wait() [0x322ff000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f60a448> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
   - locked <0x0f60a448> (a java.lang.ref.ReferenceQueue$Lock)
   at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
   at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=6 tid=0x318dd800 nid=0x4d0 runnable [0x3225f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f60a598> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
   at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-8686" daemon prio=6 tid=0x318ddc00 nid=0x934 runnable [0x322af000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f60a6e0> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
   at java.lang.Thread.run(Thread.java:619)

"Thread-11" daemon prio=6 tid=0x318dcc00 nid=0xf3c waiting on condition [0x321bf000]
   java.lang.Thread.State: WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x0f533fc0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
   at com.sun.enterprise.management.support.LoaderRegThread.processFOREVER(LoaderRegThread.java:263)
   at com.sun.enterprise.management.support.LoaderRegThread.run(LoaderRegThread.java:311)

"Thread-10" prio=6 tid=0x318dc400 nid=0x166c waiting on condition [0x3216f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
   at java.lang.Thread.sleep(Native Method)
   at com.sun.enterprise.management.support.LoaderBase.mySleep(LoaderBase.java:239)
   at com.sun.enterprise.management.support.Loader$DeferredRegistrationThread.run(Loader.java:400)

"Thread-8" prio=6 tid=0x318dc000 nid=0xb00 in Object.wait() [0x3211f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f50cd78> (a com.sun.corba.ee.impl.javax.rmi.CORBA.KeepAlive)
   at java.lang.Object.wait(Object.java:485)
   at com.sun.corba.ee.impl.javax.rmi.CORBA.KeepAlive.run(Util.java:857)
   - locked <0x0f50cd78> (a com.sun.corba.ee.impl.javax.rmi.CORBA.KeepAlive)

"p: thread-pool-1; w: 2" daemon prio=6 tid=0x01594c00 nid=0x5ac runnable [0x320cf000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f4f0f28> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:259)
   at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.accept(SocketOrChannelAcceptorImpl.java:250)
   at com.sun.corba.ee.impl.transport.ListenerThreadImpl.doWork(ListenerThreadImpl.java:107)
   at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)

"p: thread-pool-1; w: 1" daemon prio=6 tid=0x01594400 nid=0xe98 runnable [0x3207f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f48ca40> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:259)
   at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.accept(SocketOrChannelAcceptorImpl.java:250)
   at com.sun.corba.ee.impl.transport.ListenerThreadImpl.doWork(ListenerThreadImpl.java:107)
   at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)

"SelectorThread" daemon prio=6 tid=0x01594000 nid=0x10e8 runnable [0x3202f000]
   java.lang.Thread.State: RUNNABLE
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:273)
   at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:255)
   at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:136)
   at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
   - locked <0x0f48a190> (a sun.nio.ch.Util$1)
   - locked <0x0f48a1a0> (a java.util.Collections$UnmodifiableSet)
   - locked <0x0f48a118> (a sun.nio.ch.WindowsSelectorImpl)
   at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
   at com.sun.corba.ee.impl.transport.SelectorImpl.run(SelectorImpl.java:283)

"Timer-3" daemon prio=6 tid=0x01593800 nid=0x1014 in Object.wait() [0x31fdf000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f3b1c90> (a java.util.TaskQueue)
   at java.lang.Object.wait(Object.java:485)
   at java.util.TimerThread.mainLoop(Timer.java:483)
   - locked <0x0f3b1c90> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"Timer-2" prio=6 tid=0x01593400 nid=0x10a4 in Object.wait() [0x31f8f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f3b1d10> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0f3b1d10> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"Timer-1" prio=6 tid=0x01592c00 nid=0x12f4 in Object.wait() [0x31f3f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f3b1d90> (a java.util.TaskQueue)
   at java.util.TimerThread.mainLoop(Timer.java:509)
   - locked <0x0f3b1d90> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"Timer-0" prio=6 tid=0x01592800 nid=0x294 in Object.wait() [0x31eef000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f2f9f18> (a java.util.TaskQueue)
   at java.lang.Object.wait(Object.java:485)
   at java.util.TimerThread.mainLoop(Timer.java:483)
   - locked <0x0f2f9f18> (a java.util.TaskQueue)
   at java.util.TimerThread.run(Timer.java:462)

"RMI Scheduler(0)" daemon prio=6 tid=0x01592000 nid=0x1638 waiting on condition [0x31e9f000]
   java.lang.Thread.State: TIMED_WAITING (parking)
   at sun.misc.Unsafe.park(Native Method)
   - parking to wait for  <0x0f0b18b0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
   at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
   at java.lang.Thread.run(Thread.java:619)

"GC Daemon" daemon prio=2 tid=0x01591000 nid=0x1384 in Object.wait() [0x31dff000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f0b2050> (a sun.misc.GC$LatencyLock)
   at sun.misc.GC$Daemon.run(GC.java:100)
   - locked <0x0f0b2050> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=6 tid=0x01590800 nid=0x11b4 in Object.wait() [0x31daf000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0f0b0628> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
   - locked <0x0f0b0628> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
   at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:333)
   at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=6 tid=0x01590400 nid=0x17e0 runnable [0x31d5f000]
   java.lang.Thread.State: RUNNABLE
   at java.net.PlainSocketImpl.socketAccept(Native Method)
   at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
   - locked <0x0f0b06b8> (a java.net.SocksSocketImpl)
   at java.net.ServerSocket.implAccept(ServerSocket.java:453)
   at java.net.ServerSocket.accept(ServerSocket.java:421)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
   at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
   at java.lang.Thread.run(Thread.java:619)

"Low Memory Detector" daemon prio=6 tid=0x0158d400 nid=0x12a0 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x01588000 nid=0x350 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x01585000 nid=0xc00 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x01582000 nid=0x17ec runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x01555800 nid=0x16ec in Object.wait() [0x304cf000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0eca02b0> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
   - locked <0x0eca02b0> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
   at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x01551000 nid=0x1440 in Object.wait() [0x3047f000]
   java.lang.Thread.State: WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0x0eca0338> (a java.lang.ref.Reference$Lock)
   at java.lang.Object.wait(Object.java:485)
   at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
   - locked <0x0eca0338> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0154e800 nid=0x12ac runnable

"VM Periodic Task Thread" prio=10 tid=0x015a8000 nid=0xdbc waiting on condition

JNI global references: 916



Top
 Profile  
 
 Post subject: Re: Timeout when creating session factory
PostPosted: Mon Mar 08, 2010 5:43 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Ok, the thread is hanging exact in the point where usually it is logged with a warning:

Quote:
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)

Code:
if ( useJdbcMetadata ) {
         try {
            Connection conn = connections.getConnection(); // line 111
            try {
               DatabaseMetaData meta = conn.getMetaData();
               ...
            }
            catch ( SQLException sqle ) {
               log.warn( "Could not obtain connection metadata", sqle );
            }


I guess you have to set c3p0 checkoutTimeout to a different value than the default 0 which means wait indefinitely.
http://www.mchange.com/projects/c3p0/index.html#checkoutTimeout


Top
 Profile  
 
 Post subject: Re: Timeout when creating session factory
PostPosted: Mon Mar 08, 2010 9:47 am 
Newbie

Joined: Sun Mar 07, 2010 9:05 am
Posts: 13
Thank you! Problem solved.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.