1 Reply Latest reply on Aug 4, 2003 2:06 AM by Jon Barnett

    EXCEPTION_ACCESS_VIOLATION (0xc0000005)

    tteksoy Newbie

      Jboss crashes when I deploy multiple EJBs. Any ideas ....


      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80C1548
      Function=JVM_RegisterPerfMethods+0x134D1
      Library=E:\j2sdk1.4.2\jre\bin\client\jvm.dll

      Current Java thread:
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:401)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      - locked <0x1131ee38> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:242)
      at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:114)
      at org.jboss.mx.loading.LoadMgr.nextTask(LoadMgr.java:281)
      at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:181)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:401)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:242)
      at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:114)
      at org.jboss.mx.loading.LoadMgr.nextTask(LoadMgr.java:281)
      at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:181)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:401)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:242)
      at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:114)
      at org.jboss.mx.loading.LoadMgr.nextTask(LoadMgr.java:281)
      at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:181)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      - locked <0x1125c388> (a org.jboss.mx.loading.UnifiedClassLoader3)
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
      at java.lang.Class.getDeclaredMethod(Class.java:1254)
      at org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(AbstractVerifier.java:550)
      at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:1099)
      at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:92)
      at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:159)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:472)
      - locked <0x105aea68> (a org.jboss.ejb.EJBDeployer)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
      - locked <0x105c4238> (a org.jboss.deployment.scanner.URLDeploymentScanner)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

      Dynamic libraries:
      0x00400000 - 0x00406000 E:\j2sdk1.4.2\bin\java.exe
      0x77F50000 - 0x77FF6000 E:\WINDOWS\System32\ntdll.dll
      0x77E60000 - 0x77F45000 E:\WINDOWS\system32\kernel32.dll
      0x77DD0000 - 0x77E5B000 E:\WINDOWS\system32\ADVAPI32.dll
      0x78000000 - 0x7806E000 E:\WINDOWS\system32\RPCRT4.dll
      0x77C10000 - 0x77C63000 E:\WINDOWS\system32\MSVCRT.dll
      0x08000000 - 0x08136000 E:\j2sdk1.4.2\jre\bin\client\jvm.dll
      0x77D40000 - 0x77DC6000 E:\WINDOWS\system32\USER32.dll
      0x77C70000 - 0x77CB0000 E:\WINDOWS\system32\GDI32.dll
      0x76B40000 - 0x76B6C000 E:\WINDOWS\System32\WINMM.dll
      0x5CD70000 - 0x5CD77000 E:\WINDOWS\System32\serwvdrv.dll
      0x5B0A0000 - 0x5B0A7000 E:\WINDOWS\System32\umdmxfrm.dll
      0x10000000 - 0x10007000 E:\j2sdk1.4.2\jre\bin\hpi.dll
      0x00390000 - 0x0039E000 E:\j2sdk1.4.2\jre\bin\verify.dll
      0x003A0000 - 0x003B8000 E:\j2sdk1.4.2\jre\bin\java.dll
      0x003C0000 - 0x003CD000 E:\j2sdk1.4.2\jre\bin\zip.dll
      0x003F0000 - 0x003FF000 E:\j2sdk1.4.2\jre\bin\net.dll
      0x71AB0000 - 0x71AC5000 E:\WINDOWS\System32\WS2_32.dll
      0x71AA0000 - 0x71AA8000 E:\WINDOWS\System32\WS2HELP.dll
      0x71A50000 - 0x71A8B000 E:\WINDOWS\System32\mswsock.dll
      0x76F20000 - 0x76F45000 E:\WINDOWS\System32\DNSAPI.dll
      0x76FB0000 - 0x76FB7000 E:\WINDOWS\System32\winrnr.dll
      0x76F60000 - 0x76F8C000 E:\WINDOWS\system32\WLDAP32.dll
      0x76FC0000 - 0x76FC5000 E:\WINDOWS\System32\rasadhlp.dll
      0x71A90000 - 0x71A98000 E:\WINDOWS\System32\wshtcpip.dll
      0x04790000 - 0x04795000 E:\j2sdk1.4.2\jre\bin\rmi.dll
      0x04BE0000 - 0x04BE6000 E:\j2sdk1.4.2\jre\bin\ioser12.dll
      0x76C90000 - 0x76CB2000 E:\WINDOWS\system32\imagehlp.dll
      0x6D510000 - 0x6D58C000 E:\WINDOWS\system32\DBGHELP.dll
      0x77C00000 - 0x77C07000 E:\WINDOWS\system32\VERSION.dll
      0x76BF0000 - 0x76BFB000 E:\WINDOWS\System32\PSAPI.DLL

      Heap at VM Abort:
      Heap
      def new generation total 2048K, used 1404K [0x10010000, 0x10240000, 0x104f0000)
      eden space 1856K, 75% used [0x10010000, 0x1016f0f8, 0x101e0000)
      from space 192K, 0% used [0x101e0000, 0x101e0000, 0x10210000)
      to space 192K, 0% used [0x10210000, 0x10210000, 0x10240000)
      tenured generation total 24936K, used 14960K [0x104f0000, 0x11d4a000, 0x14010000)
      the space 24936K, 59% used [0x104f0000, 0x1138c1f8, 0x1138c200, 0x11d4a000)
      compacting perm gen total 15616K, used 15548K [0x14010000, 0x14f50000, 0x18010000)
      the space 15616K, 99% used [0x14010000, 0x14f3f2b8, 0x14f3f400, 0x14f50000)

      Local Time = Sun Aug 03 21:17:29 2003
      Elapsed Time = 83
      #
      # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
      # Error ID : 4F530E43505002EF
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
      #

        • 1. Re: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
          Jon Barnett Master

          This looks like a JVM problem rather than a pure JBoss issue. I am concerned that it is reporting a client JVM HotSpot problem rather than a server JVM HotSpot problem. You may want to trace through the boot script, run.bat and check why -server doesn't seem to be invoked. You may also have to forcibly invoke the JVM in server mode and see if this cures the issue. You'll note that the error indicates you should log the issue with Sun. It is not unknown for HotSpot errors to occur, particularly with new releases. This one looks like it overstepped a memory boundary in the OS.