0 Replies Latest reply on Aug 5, 2005 12:25 AM by Mareeswaran Nagendran

    Running 4 clients simultaneously on Jboss leads to Deadlock

    Mareeswaran Nagendran Newbie

      hai friends,
      I am using jboss as an appication server for my project. When i do performance test on that, 4 clients simultaneously accessing my jboss server, at that time deadlock occurs. Deadlock occur in EJBContainer side. Please help me to resolve this. At the time of deadlock status of 4 clients are

      Client 1:
      ---------
      SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]
      SocketInputStream.read(byte[], int, int) line: 129
      SQLServerByteOrderedDataReader.readPacketIntoPrimaryBuffer() line: not available
      SQLServerByteOrderedDataReader.receive() line: not available
      TDSExecuteRequest.submitRequest() line: not available
      TDSExecuteRequest(TDSRequest).execute(BaseWarnings) line: not available
      SQLServerImplStatement.execute() line: not available
      BaseStatement.commonExecute() line: not available
      BaseStatement.executeUpdateInternal() line: not available
      BaseStatement.executeUpdate(String) line: not available
      WrappedStatement.executeUpdate(String) line: 229

      Client 2:
      ----------
      SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]
      SocketInputStream.read(byte[], int, int) line: 129
      SQLServerByteOrderedDataReader.readPacketIntoPrimaryBuffer() line: not available
      SQLServerByteOrderedDataReader.receive() line: not available
      TDSExecuteRequest.submitRequest() line: not available
      TDSExecuteRequest(TDSRequest).execute(BaseWarnings) line: not available
      SQLServerImplStatement.execute() line: not available
      BaseStatement.commonExecute() line: not available
      BaseStatement.executeUpdateInternal() line: not available
      BaseStatement.executeUpdate(String) line: not available
      WrappedStatement.executeUpdate(String) line: 229

      Client 3:
      ----------
      Object.wait(long) line: not available [native method]
      QueuedPessimisticEJBLock.waitForTx(Transaction, boolean) line: 332
      QueuedPessimisticEJBLock.doSchedule(Invocation) line: 236
      QueuedPessimisticEJBLock.schedule(Invocation) line: 183
      EntityLockInterceptor.invoke(Invocation) line: 85
      EntityCreationInterceptor.invoke(Invocation) line: 53
      CallValidationInterceptor.invoke(Invocation) line: 48
      TxInterceptorCMT(AbstractTxInterceptor).invokeNext(Invocation, boolean) line: 105
      TxInterceptorCMT.runWithTransactions(Invocation) line: 316
      TxInterceptorCMT.invoke(Invocation) line: 149
      SecurityInterceptor.invoke(Invocation) line: 128
      LogInterceptor.invoke(Invocation) line: 191
      ProxyFactoryFinderInterceptor.invoke(Invocation) line: 122
      EntityContainer.internalInvoke(Invocation) line: 514
      EntityContainer(Container).invoke(Invocation) line: 854

      Client 4:
      ----------
      Object.wait(long) line: not available [native method]
      QueuedPessimisticEJBLock.waitForTx(Transaction, boolean) line: 332
      QueuedPessimisticEJBLock.doSchedule(Invocation) line: 236
      QueuedPessimisticEJBLock.schedule(Invocation) line: 183
      EntityLockInterceptor.invoke(Invocation) line: 85
      EntityCreationInterceptor.invoke(Invocation) line: 53
      CallValidationInterceptor.invoke(Invocation) line: 48
      TxInterceptorCMT(AbstractTxInterceptor).invokeNext(Invocation, boolean) line: 105
      TxInterceptorCMT.runWithTransactions(Invocation) line: 316
      TxInterceptorCMT.invoke(Invocation) line: 149
      SecurityInterceptor.invoke(Invocation) line: 128
      LogInterceptor.invoke(Invocation) line: 191
      ProxyFactoryFinderInterceptor.invoke(Invocation) line: 122
      EntityContainer.internalInvoke(Invocation) line: 514
      EntityContainer(Container).invoke(Invocation) line: 854