3 Replies Latest reply on Jan 27, 2003 4:58 AM by Michael Albrecht

    Crash during Deployment

    Michael Albrecht Newbie

      Hi!

      My JBoss 3.0.1 is crashing a few moments after deploying some of my beans.

      It`s doing this not everytime, but if it crashes, it does it permantly.

      I don`t know exactly what helps. Sometimes it is rebuilding my project. Sometimes it`s stopping running (external) Tomcat...

      The exception message follows:

      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d42bd15
      Function name=(N/A)
      Library=E:\jdk1.3.1_06\jre\bin\hotspot\jvm.dll

      NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.



      Current Java thread:
      at java.lang.reflect.Field.set(Native Method)
      at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:73)
      at org.jboss.proxy.compiler.ProxyCompiler.(ProxyCompiler.java:76)
      at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:580)
      at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
      at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.(JDBCCreateBeanClassInstanceCommand.java:5
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:97)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:357)
      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
      at org.jboss.ejb.Container.invoke(Container.java:789)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:272)
      - locked <2c1dd50> (a org.jboss.system.ServiceController)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy15.create(Unknown Source)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:392)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:272)
      - locked <2c1dd50> (a org.jboss.system.ServiceController)
      at org.jboss.system.ServiceController.create(ServiceController.java:212)
      - locked <2c1dd50> (a org.jboss.system.ServiceController)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.create(Unknown Source)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:380)
      - locked <2d59cc0> (a org.jboss.ejb.EJBDeployer)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:631)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:586)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:465)
      - locked <2d5bda8> (a java.util.Collections$SynchronizedList)
      - locked <2d5aaa8> (a org.jboss.deployment.scanner.URLDeploymentScanner)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:237)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:340)
      - locked <2c1dd50> (a org.jboss.system.ServiceController)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)

      Dynamic libraries:
      0x00400000 - 0x00405000 E:\jdk1.3.1_06\bin\java.exe
      0x77880000 - 0x77901000 C:\WINNT\System32\ntdll.dll
      0x77DA0000 - 0x77DFD000 C:\WINNT\system32\ADVAPI32.dll
      0x77E70000 - 0x77F33000 C:\WINNT\system32\KERNEL32.DLL
      0x77D20000 - 0x77D91000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D420000 - 0x6D4F9000 E:\jdk1.3.1_06\jre\bin\hotspot\jvm.dll
      0x77E00000 - 0x77E65000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77540000 - 0x77571000 C:\WINNT\System32\WINMM.dll
      0x10000000 - 0x10019000 C:\WINNT\System32\NVDESK32.DLL
      0x007B0000 - 0x007C7000 C:\WINNT\System32\AvmSnd.dll
      0x6D220000 - 0x6D227000 E:\jdk1.3.1_06\jre\bin\hpi.dll
      0x6D3B0000 - 0x6D3BD000 E:\jdk1.3.1_06\jre\bin\verify.dll
      0x6D250000 - 0x6D266000 E:\jdk1.3.1_06\jre\bin\java.dll
      0x6D3C0000 - 0x6D3CD000 E:\jdk1.3.1_06\jre\bin\zip.dll
      0x6D2A0000 - 0x6D2BB000 E:\jdk1.3.1_06\jre\bin\jdwp.dll
      0x6D1D0000 - 0x6D1D5000 E:\jdk1.3.1_06\bin\dt_socket.dll
      0x74FA0000 - 0x74FB3000 C:\WINNT\System32\ws2_32.dll
      0x74F90000 - 0x74F98000 C:\WINNT\System32\WS2HELP.DLL
      0x74F40000 - 0x74F5D000 C:\WINNT\system32\msafd.dll
      0x74F80000 - 0x74F87000 C:\WINNT\System32\wshtcpip.dll
      0x6D340000 - 0x6D348000 E:\jdk1.3.1_06\jre\bin\net.dll
      0x74FC0000 - 0x74FC9000 C:\WINNT\System32\WSOCK32.dll
      0x77830000 - 0x7783C000 C:\WINNT\System32\rnr20.dll
      0x77970000 - 0x77994000 C:\WINNT\System32\DNSAPI.DLL
      0x77310000 - 0x77323000 C:\WINNT\System32\iphlpapi.dll
      0x774F0000 - 0x774F5000 C:\WINNT\System32\ICMP.DLL
      0x772F0000 - 0x77307000 C:\WINNT\System32\MPRAPI.DLL
      0x750C0000 - 0x750D0000 C:\WINNT\System32\SAMLIB.DLL
      0x750E0000 - 0x7512F000 C:\WINNT\System32\NETAPI32.DLL
      0x77BD0000 - 0x77BDF000 C:\WINNT\System32\SECUR32.DLL
      0x75130000 - 0x75136000 C:\WINNT\System32\NETRAP.DLL
      0x77940000 - 0x7796B000 C:\WINNT\system32\WLDAP32.DLL
      0x77A40000 - 0x77B35000 C:\WINNT\system32\OLE32.DLL
      0x779A0000 - 0x77A3B000 C:\WINNT\system32\OLEAUT32.DLL
      0x77380000 - 0x773AF000 C:\WINNT\System32\ACTIVEDS.DLL
      0x77350000 - 0x77372000 C:\WINNT\System32\ADSLDPC.DLL
      0x77820000 - 0x7782E000 C:\WINNT\System32\RTUTILS.DLL
      0x78310000 - 0x783A0000 C:\WINNT\System32\SETUPAPI.DLL
      0x77C00000 - 0x77C5F000 C:\WINNT\System32\USERENV.DLL
      0x774B0000 - 0x774E2000 C:\WINNT\System32\RASAPI32.DLL
      0x77490000 - 0x774A1000 C:\WINNT\System32\RASMAN.DLL
      0x77500000 - 0x77522000 C:\WINNT\System32\TAPI32.DLL
      0x71780000 - 0x7180A000 C:\WINNT\system32\COMCTL32.DLL
      0x70BD0000 - 0x70C34000 C:\WINNT\system32\SHLWAPI.DLL
      0x77330000 - 0x77349000 C:\WINNT\System32\DHCPCSVC.DLL
      0x777D0000 - 0x777D8000 C:\WINNT\System32\winrnr.dll
      0x777E0000 - 0x777E5000 C:\WINNT\System32\rasadhlp.dll
      0x77910000 - 0x77933000 C:\WINNT\system32\imagehlp.dll
      0x72970000 - 0x7299D000 C:\WINNT\system32\DBGHELP.dll
      0x68F30000 - 0x68F3B000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Thu Jan 23 10:09:25 2003
      Elapsed Time = 50
      #
      # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
      # Error ID : 4F530E43505002BD
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1_06-b01 interpreted mode)
      #
      # An error report file has been saved as hs_err_pid144.log.
      # Please refer to the file for further information.
      #
      Drücken Sie eine beliebige Taste . . .

      What can I do? Changing the built version jdk from 01 to 06 didn`t help.

      Changing to jdk 1.4 is not possible cause the whole project is developped with jdk 1.3.1.

      Please help me.

      Thanks a lot,
      Michael

        • 1. Re: Crash during Deployment
          Tin Blaskovic Newbie

          This is a hardware problem, most likely a bad memory chip. Sometimes it might help to cool down memory chips with an extra fan as they will tend to be unstable if overheated.

          • 2. Re: Crash during Deployment
            Michael Albrecht Newbie

            No, no...

            Sorry, but this could not be, because the same error is happening on other computers with the same beans, but a different configuration.

            It`s always jdk 1.3.1 but on the one pc it is build 06 and on the other pc it is build 01.

            It`s always stopping at the same bean, but this bean is running without any exception through ant and - this is really miracle - sometimes everything is done well and I can start my webapp without any problems.

            Although thanks a lot for your help

            • 3. Re: Crash during Deployment
              Michael Albrecht Newbie

              Now the problem is solved (I hope).

              I`ve tried to use the following:

              private static Log trace = Log4jFactory.getLog(MyClassName.class);

              This object tries to get information about my objects, private fields and so on.

              But this is not possible. I`ve found no way to use Log4J in my beans...it`s a pity to work with System.out.println-commands, but there is no way out, I think.

              Bye.