0 Replies Latest reply on Aug 9, 2003 8:33 AM by santhosh

    JBoss3.2 throws error when Load testing with JMeter

    santhosh Newbie

      hi,
      we have built an enterprise application (JSP/servlet/EJBs) on JBoss 3.2 with MSSQLserver 2000 as the database. we are using the microsoft supplied JDBC type 4 driver for sqlserver2000. but when we test this application using JMeter with a few concurrent threads simulating simultaneous web users, we get the following error. what could be the problem in JBoss??. the same application with the same driver works absolutely fine in WebLogic
      -------------------------------------------------------
      19:46:57,668 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [Fo
      rmatId=257, GlobalId=santhosh//23, BranchQual=] errorCode=XAER_RMERR
      javax.transaction.xa.XAException: [Microsoft][SQLServer 2000 Driver for JDBC][SQ
      LServer]xa_end (2000000) returns -3
      at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Un
      known Source)
      at com.microsoft.jdbcx.sqlserver.SQLServerImplXAResource.end(Unknown Sou
      rce)
      at com.microsoft.jdbcx.base.BaseXAResource.end(Unknown Source)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedC
      onnection.java:146)
      at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1194)
      at org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:531)

      at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnection
      EventListener.delist(TxConnectionManager.java:516)
      at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnection
      EventListener.connectionClosed(TxConnectionManager.java:565)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.closeHan
      dle(BaseWrapperManagedConnection.java:280)
      at org.jboss.resource.adapter.jdbc.WrappedConnection.close(WrappedConnec
      tion.java:127)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.safeClose(JDBCUtil.java:84)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoad
      EntityCommand.java:227)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoad
      EntityCommand.java:83)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreM
      anager.java:632)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreM
      anager.java:614)
      at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistence
      Manager.java:386)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.load
      Entity(CachedConnectionInterceptor.java:353)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS
      ynchronizationInterceptor.java:232)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
      ke(CachedConnectionInterceptor.java:186)
      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentr
      anceInterceptor.java:82)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstance
      Interceptor.java:174)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockIntercep