1 Reply Latest reply on Feb 21, 2004 11:56 AM by Adrian Brock

    Whole Jboss freezes during 5 minutes  (HP-UX11)

    labichea Newbie

      HP-UX 11/HP JVM 1.4.2_01

      In production environment, sometimes whole Jboss 3.2.2
      freeze during 5 minutes. Telnet localhost 1099 was in
      connection timeout and no log (absolutly nothing !!!) in
      server.log during this interval.


      After kill -3 "java_pid" a thread inside a transaction
      code is strange (create a file (and did not return for a
      long time) inside a transaction code !!!).

      Pb in unix filedescriptors or the jboss code isn't perfect ?

      "1075917394531" prio=10 tid=01cf8a08 nid=1000
      lwp_id=281461 runnable [0x51c4a000..0x51c49570]
      at java.io.UnixFileSystem.createFileExclusively
      (Native Method)
      at java.io.File.createNewFile(File.java:830)
      at
      org.jboss.mq.pm.file.PersistenceManager.createTxFile
      (PersistenceManager.java:745)
      at
      org.jboss.mq.pm.file.PersistenceManager.createPersistent
      Tx(PersistenceManager.java:481)
      - locked <58c07590> (a java.util.HashMap)
      at org.jboss.mq.pm.TxManager.createTx
      (TxManager.java:79)
      at org.jboss.mq.pm.TxManager.createTx
      (TxManager.java:209)
      at
      org.jboss.mq.server.JMSDestinationManager.transact
      (JMSDestinationManager.java:458)
      at
      org.jboss.mq.server.JMSServerInterceptorSupport.transa
      ct(JMSServerInterceptorSupport.java:186)
      at
      org.jboss.mq.server.TracingInterceptor.transact
      (TracingInterceptor.java:438)
      at
      org.jboss.mq.server.JMSServerInvoker.transact
      (JMSServerInvoker.java:186)
      at org.jboss.mq.il.jvm.JVMServerIL.transact
      (JVMServerIL.java:328)
      at org.jboss.mq.Connection.send
      (Connection.java:928)
      at
      org.jboss.mq.SpyXAResourceManager.prepare
      (SpyXAResourceManager.java:191)
      at org.jboss.mq.SpyXAResource.prepare
      (SpyXAResource.java:172)
      at
      org.jboss.tm.TransactionImpl.prepareResources
      (TransactionImpl.java:1492)
      at org.jboss.tm.TransactionImpl.commit
      (TransactionImpl.java:380)
      at org.jboss.tm.TxManager.commit
      (TxManager.java:141)
      at
      org.jboss.ejb.EnterpriseContext$UserTransactionImpl.com
      mit(EnterpriseContext.java:477)
      at
      com.vocognition.talkface.assignment.handlers.TalkmanDis
      patcherMDB.onMessage(TalkmanDispatcherMDB.java:40)
      at
      sun.reflect.GeneratedMethodAccessor56.invoke
      (Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke
      (DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke
      (Method.java:324)
      at
      org.jboss.ejb.MessageDrivenContainer$ContainerIntercept
      or.invoke(MessageDrivenContainer.java:460)
      at
      org.jboss.resource.connectionmanager.CachedConnection
      Interceptor.invoke
      (CachedConnectionInterceptor.java:185)
      at
      org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
      (AbstractTxInterceptor.java:84)
      at
      org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNe
      xt(AbstractTxInterceptorBMT.java:144)
      at
      org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.inv
      oke(MessageDrivenTxInterceptorBMT.java:32)
      at
      org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.i
      nvoke(MessageDrivenInstanceInterceptor.java:62)
      at
      org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke
      (RunAsSecurityInterceptor.java:90)
      at org.jboss.ejb.plugins.LogInterceptor.invoke
      (LogInterceptor.java:191)
      at
      org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invok
      e(ProxyFactoryFinderInterceptor.java:122)
      at
      org.jboss.ejb.MessageDrivenContainer.internalInvoke
      (MessageDrivenContainer.java:374)
      at org.jboss.ejb.Container.invoke
      (Container.java:700)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke
      (JMSContainerInvoker.java:824)
      at
      org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageLi
      stenerImpl.onMessage(JMSContainerInvoker.java:1114)
      at
      org.jboss.jms.asf.StdServerSession.onMessage
      (StdServerSession.java:256)
      at
      org.jboss.mq.SpyMessageConsumer.sessionConsumerProc
      essMessage(SpyMessageConsumer.java:633)
      at
      org.jboss.mq.SpyMessageConsumer.addMessage
      (SpyMessageConsumer.java:433)
      at org.jboss.mq.SpySession.run
      (SpySession.java:298)
      - locked <590d58b8> (a java.util.LinkedList)
      at org.jboss.jms.asf.StdServerSession.run
      (StdServerSession.java:180)
      at
      EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
      run(PooledExecutor.java:727)
      at java.lang.Thread.run(Thread.java:534)


        • 1. Re: Whole Jboss freezes during 5 minutes  (HP-UX11)
          Adrian Brock Master

          There are two possiblities.
          1) Your VM has locked up for 5 minutes, either because of garbage collection,
          paging or some other problem.
          2) There is some problem with file descriptors since your cannot create a new
          file or open a new socket (which are also files under Unix).

          I wouldn't recommend the file pm. It is legacy stuff from JBoss2.4
          Use the jdbc2 with a proper db to get real production quality persistence.

          Regards,
          Adrian