Bugs item #621664, was opened at 2002-10-10 18:18 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=621664&group_id=22866
Category: JBossServer Group: None Status: Open Resolution: None Priority: 9 Submitted By: Joe Simone (jsimone) Assigned to: Nobody/Anonymous (nobody) Summary: test hangs with 3.0.3 but passes 3.0.2 Initial Comment: OS: Win XP Pro, SP1 JDK 1.3.1_05 I have a test that creates sample data in my DB2 database. Using DB2 EE 7.2 with fixpack 7 applied. If I run the data creator under 3.0.2/4.0.4 then it runs to completion. If I run the data creator under 3.0.3/4.1.12 then my console client just stops midway. I'll get a WARN about timeout with STATUS_ACTIVE. How can I enable debug so I can provide more info? P.S. didn't know which component to open under so I just picked JBossTX ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2002-11-09 10:43 Message: Logged In: YES user_id=175228 The only stack trace you have shown clearly shows the calling thread sitting in the DB2 JDBC code. You are going to have to debug what is going on in this layer as this is outside of our codebase. ---------------------------------------------------------------------- Comment By: Joe Simone (jsimone) Date: 2002-11-09 09:29 Message: Logged In: YES user_id=586242 The test case I am running has run successfully and passed in JBoss 3.0.0, 3.0.1, 3.0.2. Something changed in 3.0.3 and its still there in 3.0.4 that causes the server to freeze. Please help. joe ---------------------------------------------------------------------- Comment By: Joe Simone (jsimone) Date: 2002-11-06 10:51 Message: Logged In: YES user_id=586242 Still happens with latest 3.0.4 Jboss. System just freezes. After a while I get this in the console: 12:55:25,059 INFO [Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Started in 0m:32s:287ms 13:11:30,237 WARN [TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=BJSLAP//4359, BranchQual=] timed out. status= STATUS_ACTIVE ---------------------------------------------------------------------- Comment By: Joe Simone (jsimone) Date: 2002-10-23 06:43 Message: Logged In: YES user_id=586242 can you tell me how to turn on full debug in server.log so I can see what is going on and report back. Thanks. ---------------------------------------------------------------------- Comment By: David Jencks (d_jencks) Date: 2002-10-22 08:33 Message: Logged In: YES user_id=60525 Your thread dump makes it look like db2 is hung on the fetch entity command. Can you investigate this and determine what the sql is and what db2 has to say about it? This would be consistent with a db2 process becoming unusable... ---------------------------------------------------------------------- Comment By: Joe Simone (jsimone) Date: 2002-10-22 07:30 Message: Logged In: YES user_id=586242 Has there been any action on this problem? I have stopped using 3.0.3 and gone back to 3.0.2 since this occurred. BTW, when the server/app freezes and I close down the JBoss server, one or more of my DB2 processes are toast! This is the first time I have seen JBoss killing my database server! ---------------------------------------------------------------------- Comment By: Joe Simone (jsimone) Date: 2002-10-14 14:40 Message: Logged In: YES user_id=586242 CTRL-BREAK results in ... 17:27:35,505 INFO [Server] JBoss (MX MicroKernel) [3.0.3 Date:200209301503] Started in 0m:20s:459ms Full thread dump: "SeedGenerator Thread" daemon prio=2 tid=0x164b4478 nid=0x8c8 waiting on monitor [0x1753f000..0x1753fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at sun.security.provider.SeedGenerator.run (SeedGenerator.java:100) at java.lang.Thread.run(Thread.java:479) "RMI TCP Connection(4)-192.168.2.35" daemon prio=5 tid=0x15b60eb0 nid=0x310 runnable [0x174fe000..0x174ffdbc] at COM.ibm.db2.jdbc.app.DB2PreparedStatement.SQLExecute (Native Method) at COM.ibm.db2.jdbc.app.DB2PreparedStatement.execute2 (DB2PreparedStatement.java:2065) at COM.ibm.db2.jdbc.app.DB2PreparedStatement.executeQuer y(DB2PreparedStatement.java:1596) at org.jboss.resource.adapter.jdbc.local.LocalPreparedStatemen t.executeQuery(LocalPreparedStatement.java:289) at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.ex ecute(JDBCLoadEntityCommand.java:122) at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.ex ecute(JDBCLoadEntityCommand.java:62) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity (JDBCStoreManager.java:572) at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity (CMPPersistenceManager.java:410) at org.jboss.resource.connectionmanager.CachedConnectionInte rceptor.loadEntity(CachedConnectionInterceptor.java: 353) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke (EntitySynchronizationInterceptor.java:262) at org.jboss.resource.connectionmanager.CachedConnectionInte rceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke (EntityReentranceInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke (EntityInstanceInterceptor.java:152) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke (EntityLockInterceptor.java:107) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke (EntityCreationInterceptor.java:69) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext (AbstractTxInterceptor.java:107) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions (TxInterceptorCMT.java:178) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke (TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.SecurityInterceptor.invoke (SecurityInterceptor.java:130) at org.jboss.ejb.plugins.LogInterceptor.invoke (LogInterceptor.java:203) at org.jboss.ejb.EntityContainer.invoke (EntityContainer.java:493) at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke (BaseLocalContainerInvoker.java:301) at org.jboss.ejb.plugins.local.EntityProxy.invoke (EntityProxy.java:38) at $Proxy68.getName(Unknown Source) at com.highnotes.ebu.enrollment.eventmanager.EventManagerB ean._convertMaterialsToDataObjects(EventManagerBean.ja va:388) at com.highnotes.ebu.enrollment.eventmanager.EventManagerB ean.getMaterialsAll(EventManagerBean.java:3026) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor .invoke(StatelessSessionContainer.java:660) at org.jboss.resource.connectionmanager.CachedConnectionInte rceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.inv oke(StatelessSessionInstanceInterceptor.java:77) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext (AbstractTxInterceptor.java:107) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions (TxInterceptorCMT.java:255) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke (TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.SecurityInterceptor.invoke (SecurityInterceptor.java:130) at org.jboss.ejb.plugins.LogInterceptor.invoke (LogInterceptor.java:203) at org.jboss.ejb.StatelessSessionContainer.invoke (StatelessSessionContainer.java:313) at org.jboss.ejb.Container.invoke(Container.java:712) at org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:517) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke (JRMPInvoker.java:381) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch (UnicastServerRef.java:236) at sun.rmi.transport.Transport$1.run(Transport.java:147) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall (Transport.java:143) at sun.rmi.transport.tcp.TCPTransport.handleMessages (TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run (TCPTransport.java:701) at java.lang.Thread.run(Thread.java:479) "RMI LeaseChecker" daemon prio=5 tid=0x164c69c0 nid=0xd64 waiting on monitor [0x174bf000..0x174bfdbc] at java.lang.Thread.sleep(Native Method) at sun.rmi.transport.DGCImpl$LeaseChecker.run (DGCImpl.java:294) at java.lang.Thread.run(Thread.java:479) "JNP Server" prio=5 tid=0x915010 nid=0xedc runnable [0x14eef000..0x14eefdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.jnp.server.Main.run(Main.java:248) at java.lang.Thread.run(Thread.java:479) "JBoss Life Thread" prio=5 tid=0x152d46a8 nid=0xdd4 waiting on monitor [0x1747f000..0x1747fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at org.jboss.system.server.ServerImpl$1.run (ServerImpl.java:337) "Thread-9" daemon prio=5 tid=0x15b36b90 nid=0x920 waiting on monitor [0x1743f000..0x1743fdbc] at java.lang.Object.wait(Native Method) at org.jboss.util.timeout.TimeoutFactory.doWork (TimeoutFactory.java:503) at org.jboss.util.timeout.TimeoutFactory.access$300 (TimeoutFactory.java:27) at org.jboss.util.timeout.TimeoutFactory$1.run (TimeoutFactory.java:542) "StandardManager[/mercury]" daemon prio=5 tid=0x15b63590 nid=0xd4c waiting on monitor [0x163ff000..0x163ffdbc] at java.lang.Thread.sleep(Native Method) at org.apache.catalina.session.StandardManager.threadSleep (StandardManager.java:780) at org.apache.catalina.session.StandardManager.run (StandardManager.java:839) at java.lang.Thread.run(Thread.java:479) "Thread-8" prio=5 tid=0x15b14918 nid=0x790 waiting on monitor [0x1635f000..0x1635fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at org.jboss.resource.connectionmanager.PoolFiller$1.run (PoolFiller.java:75) at java.lang.Thread.run(Thread.java:479) "Thread-7" prio=5 tid=0x15a950d0 nid=0x78c waiting on monitor [0x160ff000..0x160ffdbc] at java.lang.Object.wait(Native Method) at org.jboss.resource.connectionmanager.IdleRemover$1.run (IdleRemover.java:66) at java.lang.Thread.run(Thread.java:479) "Thread-6" daemon prio=5 tid=0x15b0b368 nid=0xa98 waiting on monitor [0x160bf000..0x160bfdbc] at java.lang.Object.wait(Native Method) at java.util.TimerThread.mainLoop(Timer.java:427) at java.util.TimerThread.run(Timer.java:380) "EJB Passivator Thread" daemon prio=5 tid=0x15ab7e78 nid=0x9f0 waiting on monitor [0x1607f000..0x1607fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at org.jboss.util.WorkerQueue.getJobImpl (WorkerQueue.java:133) at org.jboss.util.WorkerQueue.getJob (WorkerQueue.java:121) at org.jboss.util.WorkerQueue$QueueLoop.run (WorkerQueue.java:206) at java.lang.Thread.run(Thread.java:479) "StandardManager[/jmx-console]" daemon prio=5 tid=0x15a1cc58 nid=0x8c4 waiting on monitor [0x1603f000..0x1603fdbc] at java.lang.Thread.sleep(Native Method) at org.apache.catalina.session.StandardManager.threadSleep (StandardManager.java:780) at org.apache.catalina.session.StandardManager.run (StandardManager.java:839) at java.lang.Thread.run(Thread.java:479) "StandardManager[/invoker]" daemon prio=5 tid=0x157c19c8 nid=0xe20 waiting on monitor [0x15fff000..0x15fffdbc] at java.lang.Thread.sleep(Native Method) at org.apache.catalina.session.StandardManager.threadSleep (StandardManager.java:780) at org.apache.catalina.session.StandardManager.run (StandardManager.java:839) at java.lang.Thread.run(Thread.java:479) "HttpProcessor[8080][2]" daemon prio=5 tid=0x156e1248 nid=0xed4 waiting on monitor [0x15fbf000..0x15fbfdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at org.apache.catalina.connector.http.HttpProcessor.await (HttpProcessor.java:391) at org.apache.catalina.connector.http.HttpProcessor.run (HttpProcessor.java:1145) at java.lang.Thread.run(Thread.java:479) "HttpProcessor[8080][1]" daemon prio=5 tid=0x156e1110 nid=0x7d0 waiting on monitor [0x15f7f000..0x15f7fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at org.apache.catalina.connector.http.HttpProcessor.await (HttpProcessor.java:391) at org.apache.catalina.connector.http.HttpProcessor.run (HttpProcessor.java:1145) at java.lang.Thread.run(Thread.java:479) "HttpProcessor[8080][0]" daemon prio=5 tid=0x15745730 nid=0xff8 waiting on monitor [0x15f3f000..0x15f3fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at org.apache.catalina.connector.http.HttpProcessor.await (HttpProcessor.java:391) at org.apache.catalina.connector.http.HttpProcessor.run (HttpProcessor.java:1145) at java.lang.Thread.run(Thread.java:479) "HttpConnector[8080]" daemon prio=5 tid=0x1532ed40 nid=0xe94 runnable [0x15eff000..0x15effdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.apache.catalina.connector.http.HttpConnector.run (HttpConnector.java:1023) at java.lang.Thread.run(Thread.java:479) "UIL Worker" prio=5 tid=0x14d2f5b8 nid=0xee8 runnable [0x156bf000..0x156bfdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.jboss.mq.il.uil.UILServerILService.run (UILServerILService.java:184) at java.lang.Thread.run(Thread.java:479) "OIL Worker Server" prio=5 tid=0x14fe34e0 nid=0x778 runnable [0x1567f000..0x1567fdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.jboss.mq.il.oil.OILServerILService.run (OILServerILService.java:471) at java.lang.Thread.run(Thread.java:479) "Thread-5" daemon prio=5 tid=0x1507e008 nid=0x7dc waiting on monitor [0x1563f000..0x1563fdbc] at java.lang.Object.wait(Native Method) at java.util.TimerThread.mainLoop(Timer.java:427) at java.util.TimerThread.run(Timer.java:380) "JBossMQ Cache Reference Softner" daemon prio=5 tid=0x14f59158 nid=0xaf0 waiting on monitor [0x155ff000..0x155ffdbc] at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:103) at org.jboss.mq.server.MessageCache.run (MessageCache.java:136) at java.lang.Thread.run(Thread.java:479) "Thread-4" prio=5 tid=0x1529bb78 nid=0x40c waiting on monitor [0x155bf000..0x155bfdbc] at java.lang.Thread.sleep(Native Method) at org.hsqldb.Log.run(Log.java:119) at java.lang.Thread.run(Thread.java:479) "hypersonic-default" prio=5 tid=0x14f59bb0 nid=0xe40 runnable [0x1557f000..0x1557fdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.hsqldb.Embedded_Server.run (Embedded_Server.java:169) at org.hsqldb.Embedded_Server.main (Embedded_Server.java:92) at org.jboss.jdbc.HypersonicDatabase$2.run (HypersonicDatabase.java:186) "RMI TCP Accept-2" daemon prio=5 tid=0x1523ce10 nid=0x758 runnable [0x1553f000..0x1553fdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at sun.rmi.transport.tcp.TCPTransport.run (TCPTransport.java:326) at java.lang.Thread.run(Thread.java:479) "GC Daemon" daemon prio=2 tid=0x1523d540 nid=0xe04 waiting on monitor [0x154bf000..0x154bfdbc] at java.lang.Object.wait(Native Method) at sun.misc.GC$Daemon.run(GC.java:98) "RMI Reaper" prio=5 tid=0x14fe15c8 nid=0x190 waiting on monitor [0x1547f000..0x1547fdbc] at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:103) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:118) at sun.rmi.transport.ObjectTable$Reaper.run (ObjectTable.java:279) at java.lang.Thread.run(Thread.java:479) "RMI TCP Accept-1" daemon prio=5 tid=0x1523d9f0 nid=0xdc0 runnable [0x1543f000..0x1543fdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at sun.rmi.transport.tcp.TCPTransport.run (TCPTransport.java:326) at java.lang.Thread.run(Thread.java:479) "Thread-3" daemon prio=5 tid=0x15246d28 nid=0x990 runnable [0x153ff000..0x153ffdbc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:463) at java.net.ServerSocket.implAccept (ServerSocket.java:238) at java.net.ServerSocket.accept(ServerSocket.java:217) at org.jboss.web.WebServer.run(WebServer.java:248) at org.jboss.web.ThreadPool$Worker.run (ThreadPool.java:140) "ScannerThread" daemon prio=5 tid=0x14d02a80 nid=0x9dc waiting on monitor [0x153bf000..0x153bfdbc] at java.lang.Thread.sleep(Native Method) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ ScannerThread.loop(AbstractDeploymentScanner.java:231) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ ScannerThread.run(AbstractDeploymentScanner.java:202) "Thread-2" daemon prio=5 tid=0x14c3d4a0 nid=0xeac waiting on monitor [0x1537f000..0x1537fdbc] at java.lang.Object.wait(Native Method) at java.util.TimerThread.mainLoop(Timer.java:427) at java.util.TimerThread.run(Timer.java:380) "Thread-1" daemon prio=5 tid=0x14beadb0 nid=0xfc4 waiting on monitor [0x14f2f000..0x14f2fdbc] at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:103) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:118) at org.jboss.mx.logging.LoggerContext$GarbageMonitor.run (LoggerContext.java:451) "Thread-0" prio=5 tid=0x34d40 nid=0xc70 waiting on monitor [0..0x7fb30] "Signal Dispatcher" daemon prio=10 tid=0x903ed8 nid=0x364 waiting on monitor [0..0] "Finalizer" daemon prio=9 tid=0x14b30e90 nid=0xc90 waiting on monitor [0x14daf000..0x14dafdbc] at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:103) at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:118) at java.lang.ref.Finalizer$FinalizerThread.run (Finalizer.java:157) "Reference Handler" daemon prio=10 tid=0x14b30218 nid=0x930 waiting on monitor [0x14d6f000..0x14d6fdbc] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at java.lang.ref.Reference$ReferenceHandler.run (Reference.java:105) "VM Thread" prio=5 tid=0x919580 nid=0xbd0 runnable "VM Periodic Task Thread" prio=10 tid=0x902c18 nid=0x628 waiting on monitor "Suspend Checker Thread" prio=10 tid=0x903540 nid=0xf98 runnable I can't tell if this is related to the LOG4J bug. I don't think it is. ---------------------------------------------------------------------- Comment By: Jerome Lacoste (lacostej) Date: 2002-10-14 13:56 Message: Logged In: YES user_id=81510 Try doing a Ctrl+Break on the console window. That should give you a stack trace. See if the stack trace is related to bug 623223. https://sourceforge.net/tracker/index.php?func=detail&aid=623223&group_id=22866&atid=376685 ---------------------------------------------------------------------- Comment By: Jerome Lacoste (lacostej) Date: 2002-10-14 13:54 Message: Logged In: YES user_id=81510 Try doing a Ctrl+Break on the console window. That should give you a stack trace. See if the stack trace is related to bug 623223. https://sourceforge.net/tracker/index.php?func=detail&aid=623223&group_id=22866&atid=376685 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=621664&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development