1 Reply Latest reply on Nov 26, 2003 11:57 AM by Adrian Brock

    JBoss don't work when some exception.

    peterlei Newbie

      I test JBoss on some exception ,find a question.

      Sometime,the app don't work,stop like :
      ----------------------------------------------------------------

      "Thread-110" daemon prio=5 tid=0x41556900 nid=0x940 in Object.wait() [43e3e000..
      43e3fd8c]
      at org.jboss.util.NestedThrowable.(NestedThrowable.java:39)
      at org.jboss.resource.connectionmanager.JBossLocalXAException.printStack
      Trace(JBossLocalXAException.java:97)
      at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(Throwabl
      eInformation.java:42)
      at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.jav
      a:303)
      at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:300)
      at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
      at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:222)

      - locked <07087F20> (a org.apache.log4j.ConsoleAppender)
      at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
      (AppenderAttachableImpl.java:57)
      at org.apache.log4j.Category.callAppenders(Category.java:190)
      - locked <06F1CEC8> (a org.apache.log4j.spi.RootCategory)
      at org.apache.log4j.Category.forcedLog(Category.java:375)
      at org.apache.log4j.Category.log(Category.java:838)
      at org.jboss.logging.Logger.warn(Logger.java:176)
      at org.jboss.tm.TxCapsule.logXAException(TxCapsule.java:1060)
      at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:741)
      at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:102)

      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalCo
      nnectionEventListener.enlist(LocalTxConnectionManager.java:320)
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager.managed
      ConnectionReconnected(LocalTxConnectionManager.java:255)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
      onnection(BaseConnectionManager2.java:534)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
      nManagerProxy.allocateConnection(BaseConnectionManager2.java:828)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
      erDataSource.java:102)
      ...............
      ----------------------------------------------------

      some ont meet this question?