7 Replies Latest reply on Jun 7, 2008 3:39 PM by colin tong

    TransactionImpl:XidImpl problem and lookup problem

    colin tong Newbie

      Enviroment:
      jboss 4.0.5GA
      JDK 1.5.00_7
      EJB 2.0

      I need to use my own connection but not the jboss' jta datasource

      the exception and programme below:

      public static UserTransaction getUserTransaction() throws NamingException,
       Exception {
       //** for connect database directly
       if (fooTransaction != null)
       return fooTransaction;
      
       UserTransaction tran = null;
       try {
       Context ic = getInitialContext();
       if (ic != null) {
       //GlobalNames.USER_TRANSACTION=javax.transaction.UserTransaction
       tran = (UserTransaction) ic.lookup(GlobalNames.USER_TRANSACTION);
       //tran = (UserTransaction) ic.lookup("java:/UserTransaction");
       }
       if (tran == null) {
      
       throw new Exception("UserTransaction is null!");
      
       }
       }
       catch (NamingException ex) {
       System.out
       .println("catch NamingException when trying to lookup UserTransaction name\n"
       + ex.toString());
       throw ex;
       }
       finally {
       }
       return tran;
       }


      In my BPO class:
      public ResponseEnvelop mainPerform(RequestEnvelop req) {
      return super.mainPerform(req);
      }
      

      base class:
      public ResponseEnvelop mainPerform(RequestEnvelop req) {
      Connection conn = null;
      UserTransaction ut = null;
      
      try {
      
      
      //costruct Response
      HashMap responseBody = new HashMap();
      {
      ut = DBUtil.getUserTransaction();
      ut.begin();
      
      conn = DBUtil.getConnection();
      
      ut.commit();
      }
      
      response.setHead(responseHead);
      response.setBody(responseBody);
      } catch (Exception e) {
      try {
      if (ut.getStatus() != 0) {
      ut.rollback();
      }
      } catch (Exception ex) {
      ex.printStackTrace();
      }
      
      } finally {
      try {
      if (ut.getStatus() != Status.STATUS_NO_TRANSACTION) {
      ut.rollback();
      }
      
      if (conn != null) {
      conn.close();
      }
      } catch (Exception ex) {
      ex.printStackTrace();
      }
      }
      
      return response;
      }
      

      when the programme execute at ut = DBUtil.getUserTransaction()
      the exceptions throw:
      com.start.si.commonsearch.SQLSearchBPO mainPerform()error!|Transaction already active, cannot nest transactions.| dateTime = 2008-05-29 10:51:43
      10:51:43,156 ERROR [STDERR] javax.transaction.NotSupportedException: Transaction already active, cannot nest transactions.
      10:51:43,171 ERROR [STDERR] at org.jboss.tm.TxManager.begin(TxManager.java:209)
      10:51:43,171 ERROR [STDERR] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:124)
      10:51:43,171 ERROR [STDERR] at com.start.sibase.commonsearch.SQLSearchBPOBase.mainPerform(SQLSearchBPOBase.java:75)
      10:51:43,171 ERROR [STDERR] at com.start.si.commonsearch.SQLSearchBPO.mainPerform(SQLSearchBPO.java:42)
      10:51:43,171 ERROR [STDERR] at com.start.si.commonsearch.SQLSearchFacadeBean.perform(SQLSearchFacadeBean.java:41)
      10:51:43,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:51:43,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:51:43,171 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:51:43,171 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      10:51:43,171 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:954)
      10:51:43,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:51:43,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:51:43,171 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:51:43,171 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      10:51:43,171 ERROR [STDERR] at $Proxy249.perform(Unknown Source)
      10:51:43,171 ERROR [STDERR] at com.start.sibase.commonsearch.SQLSearchEJBActionBase.perform(SQLSearchEJBActionBase.java:130)
      10:51:43,171 ERROR [STDERR] at com.start.si.commonsearch.SQLSearchEJBAction.perform(SQLSearchEJBAction.java:39)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.RequestProcessor.processRequest(RequestProcessor.java:211)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.MainServlet.doProcess(MainServlet.java:97)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.MainServlet.doPost(MainServlet.java:60)
      10:51:43,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      10:51:43,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.SaftyFilter.doFilter(SaftyFilter.java:97)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.HeadFilter.doFilter(HeadFilter.java:114)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      10:51:43,171 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      10:51:43,171 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      10:51:43,171 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      10:51:43,171 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      10:51:43,171 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      10:51:43,171 ERROR [LogInterceptor] RuntimeException in method: public abstract com.lbs.sieaf.envelop.ResponseEnvelop com.start.si.commonsearch.SQLSearchFacade.perform(com.lbs.sieaf.envelop.RequestEnvelop) throws java.rmi.RemoteException:
      java.lang.IllegalStateException: Wrong transaction association: expected TransactionImpl:XidImpl[FormatId=257, GlobalId=deepass/15, BranchQual=, localId=15] was null
       at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:486)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:361)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
       at org.jboss.ejb.Container.invoke(Container.java:954)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
       at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
       at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
       at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
       at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
       at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
       at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
       at $Proxy249.perform(Unknown Source)
       at com.start.sibase.commonsearch.SQLSearchEJBActionBase.perform(SQLSearchEJBActionBase.java:130)
       at com.start.si.commonsearch.SQLSearchEJBAction.perform(SQLSearchEJBAction.java:39)
       at com.lbs.sieaf.webcontroller.RequestProcessor.processRequest(RequestProcessor.java:211)
       at com.lbs.sieaf.webcontroller.MainServlet.doProcess(MainServlet.java:97)
       at com.lbs.sieaf.webcontroller.MainServlet.doPost(MainServlet.java:60)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.lbs.sieaf.webcontroller.SaftyFilter.doFilter(SaftyFilter.java:97)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at com.lbs.sieaf.webcontroller.HeadFilter.doFilter(HeadFilter.java:114)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      10:51:43,171 ERROR [STDERR] java.rmi.ServerException: RuntimeException; nested exception is:
       java.lang.IllegalStateException: Wrong transaction association: expected TransactionImpl:XidImpl[FormatId=257, GlobalId=deepass/15, BranchQual=, localId=15] was null
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:954)
      10:51:43,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:51:43,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:51:43,171 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:51:43,171 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      10:51:43,171 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
      10:51:43,171 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      10:51:43,171 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      10:51:43,171 ERROR [STDERR] at $Proxy249.perform(Unknown Source)
      10:51:43,171 ERROR [STDERR] at com.start.sibase.commonsearch.SQLSearchEJBActionBase.perform(SQLSearchEJBActionBase.java:130)
      10:51:43,171 ERROR [STDERR] at com.start.si.commonsearch.SQLSearchEJBAction.perform(SQLSearchEJBAction.java:39)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.RequestProcessor.processRequest(RequestProcessor.java:211)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.MainServlet.doProcess(MainServlet.java:97)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.MainServlet.doPost(MainServlet.java:60)
      10:51:43,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      10:51:43,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.SaftyFilter.doFilter(SaftyFilter.java:97)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at com.lbs.sieaf.webcontroller.HeadFilter.doFilter(HeadFilter.java:114)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      10:51:43,171 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      10:51:43,171 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      10:51:43,171 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      10:51:43,171 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      10:51:43,171 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      10:51:43,171 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      10:51:43,171 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      10:51:43,171 ERROR [STDERR] Caused by: java.lang.IllegalStateException: Wrong transaction association: expected TransactionImpl:XidImpl[FormatId=257, GlobalId=deepass/15, BranchQual=, localId=15] was null
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:486)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:361)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      10:51:43,171 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      10:51:43,171 ERROR [STDERR] ... 53 more
      10:51:43,187 ERROR [class] userID = hrgl sessionID = C036A6C5FB500CD012E8030122D25920 functionID = F12.00.00 code = 100212000 message = 100212000|com.start.si.commonsearch.SQLSearchEJBAction RemoteException: | application server: ejb invoke error | RuntimeException; nested exception is:
       java.lang.IllegalStateException:Wrong transaction association: expected TransactionImpl:XidImpl[FormatId=257, GlobalId=deepass/15, BranchQual=, localId=15] was null dateTime = 2008-05-29 10:51:43
      10:51:43,187 INFO [STDOUT] To client:
      <?xml version="1.0" encoding="GBK"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><soap:Header><result sessionID="C036A6C5FB500CD012E8030122D25920"/></soap:Header><soap:Body><soap:Fault><faultcode>2003</faultcode><faultstring><error msg="2008-05-29 10:51:43 | 100212000|com.start.si.commonsearch.SQLSearchEJBAction RemoteException error: | application server: ejb invoke error� |"/></faultstring></soap:Fault></soap:Body></soap:Envelope>
      10:51:43,187 INFO [STDOUT] >>EndTime = 2008-05-29 10:51:43 Interval = 187
      10:51:44,984 INFO [STDOUT]
      

      why? who can help me? thanks a lot