2 Replies Latest reply on Nov 13, 2001 12:47 AM by JAYESH PARAYALI

    MDB Crash

    JAYESH PARAYALI Newbie

      Hi,

      I have a Message Driven Bean which in turn calls some jni methods from a DLL.

      It fails sometimes when I send 100 messages to the queue. It works fine If I send about 50-60 messages.

      jboss version JBoss-2.4.3
      Java version: 1.3.1_01,Sun Microsystems Inc.
      Java VM: Java HotSpot(TM) Client VM 1.3.1_01,Sun Microsystems Inc.
      System: Windows NT 4.0,x86

      Looks to me like problem with threading.

      Appreciate any help.

      Thanks,
      Jayesh

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x98f94a0
      Function name=GsShowStats
      Library=C:\WINNT\System32\Geostn32.dll

      Current Java thread:
      at GeoCode.SingleGeoCode(Native Method)
      at GeoCode.GeoCode(GeoCode.java:29)
      at GeoCoderBean.onMessage(GeoCoderBean.java:44)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
      ageDrivenContainer.java:400)
      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
      DrivenInstanceInterceptor.java:58)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.ja
      va:133)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
      torCMT.java:247)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:9
      9)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
      java:128)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      at org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.ja
      va:281)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
      ker.java:165)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
      essage(JMSContainerInvoker.java:644)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
      ageConsumer.java:420)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:29
      5)
      at org.jboss.mq.SpySession.run(SpySession.java:216)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
      utor.java:655)
      at java.lang.Thread.run(Thread.java:484)

      Dynamic libraries:
      0x00400000 - 0x00405000 C:\jdk1.3\jre\bin\java.exe
      0x77F60000 - 0x77FBC000 C:\WINNT\System32\ntdll.dll
      0x77DC0000 - 0x77DFF000 C:\WINNT\system32\ADVAPI32.dll
      0x77F00000 - 0x77F5E000 C:\WINNT\system32\KERNEL32.dll
      0x77E70000 - 0x77EC4000 C:\WINNT\system32\USER32.dll
      0x77ED0000 - 0x77EFC000 C:\WINNT\system32\GDI32.dll
      0x77E10000 - 0x77E67000 C:\WINNT\system32\RPCRT4.dll
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D420000 - 0x6D4EE000 C:\jdk1.3\jre\bin\hotspot\jvm.dll
      0x77FD0000 - 0x77FFA000 C:\WINNT\System32\WINMM.dll
      0x6D220000 - 0x6D227000 C:\jdk1.3\jre\bin\hpi.dll
      0x6D3B0000 - 0x6D3BD000 C:\jdk1.3\jre\bin\verify.dll
      0x6D250000 - 0x6D266000 C:\jdk1.3\jre\bin\java.dll
      0x6D3C0000 - 0x6D3CD000 C:\jdk1.3\jre\bin\zip.dll
      0x6D340000 - 0x6D348000 C:\jdk1.3\jre\bin\net.dll
      0x776D0000 - 0x776D8000 C:\WINNT\system32\WSOCK32.dll
      0x776B0000 - 0x776C4000 C:\WINNT\system32\WS2_32.dll
      0x776A0000 - 0x776A7000 C:\WINNT\system32\WS2HELP.dll
      0x74FF0000 - 0x74FFD000 C:\WINNT\System32\rnr20.dll
      0x77BF0000 - 0x77BF7000 C:\WINNT\System32\rpcltc1.dll
      0x75360000 - 0x75367000 C:\WINNT\System32\rasadhlp.dll
      0x77660000 - 0x7766F000 C:\WINNT\system32\msafd.dll
      0x77690000 - 0x77699000 C:\WINNT\System32\wshtcpip.dll
      0x10000000 - 0x1000D000 C:\WINNT\system32\geostnj.dll
      0x098C0000 - 0x0992E000 C:\WINNT\System32\Geostn32.dll
      0x76AC0000 - 0x76ADD000 C:\WINNT\System32\imagehlp.dll
      0x731B0000 - 0x731BA000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Fri Nov 09 13:34:21 2001
      Elapsed Time = 293
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1_01 mixed mode)
      #
      [Default] Address1 NORTH PINO ROAD
      [Default] Address1 NORTH PINO ROAD
      [Default] Loc Code ZC5X
      [Default] match code E022
      [Default] MSA Number 3120
      # An error report file has been saved as hs_err_pid222.log.
      # Please refer to the file for further information.
      #
      Press any key to continue . . .