2 Replies Latest reply on Dec 29, 2004 10:35 PM by Vinaydath Shivaprasad

    An unexpected exception has been detected in native code out

    s s Newbie

      when I was running jboss4.0 on win2003,once in a while such error would be see:

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F36A07
      Function=RtlFreeHeap+0x322
      Library=C:\WINDOWS\system32\ntdll.dll
      
      Current Java thread:
       at java.util.zip.ZipFile.getEntry(Native Method)
       at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
       - locked <0x129a5038> (a java.util.jar.JarFile)
       at java.util.jar.JarFile.getEntry(JarFile.java:194)
       at java.util.jar.JarFile.getJarEntry(JarFile.java:181)
       at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:668)
       at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:657)
       at sun.misc.URLClassPath.findResource(URLClassPath.java:138)
       at java.net.URLClassLoader$2.run(URLClassLoader.java:352)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findResource(URLClassLoader.java:349)
       at java.lang.ClassLoader.getResource(ClassLoader.java:787)
       at org.jboss.mx.loading.RepositoryClassLoader.getResourceLocally(RepositoryClassLoader.java:200)
       at org.jboss.mx.loading.UnifiedLoaderRepository3.getResourceFromClassLoader(UnifiedLoaderRepository3.java:376)
       at org.jboss.mx.loading.UnifiedLoaderRepository3.getResource(UnifiedLoaderRepository3.java:291)
       at org.jboss.mx.loading.RepositoryClassLoader.getResource(RepositoryClassLoader.java:517)
       at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:969)
       at java.lang.Class.getResourceAsStream(Class.java:1323)
       at com.keem.EduGuider.helper.util.Log.<init>(Log.java:29)
       at com.keem.EduGuider.baseframe.session.UsersManageBean.<clinit>(UsersManageBean.java:63)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
       at java.lang.Class.newInstance0(Class.java:308)
       at java.lang.Class.newInstance(Class.java:261)
       at org.jboss.ejb.Container.createBeanClassInstance(Container.java:568)
       at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146)
       at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:80)
       at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
       at org.jboss.ejb.Container.invoke(Container.java:854)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
       at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
       at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:55)
       at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
       at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
       at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
       at $Proxy371.login(Unknown Source)
       at com.keem.EduGuider.baseframe.proxy.UsersDelegate.login(UsersDelegate.java:340)
       at com.keem.EduGuider.baseframe.servlet.system.action.Login.doGet(Login.java:61)
       at com.keem.EduGuider.baseframe.servlet.system.action.Login.doPost(Login.java:141)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at com.keem.EduGuider.baseframe.api.filter.ResourceFilter.doFilter(ResourceFilter.java:118)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at com.keem.EduGuider.baseframe.api.filter.LoginFilter.doFilter(LoginFilter.java:194)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at com.keem.EduGuider.baseframe.api.filter.EncodingFilter.doFilter(EncodingFilter.java:133)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
       at java.lang.Thread.run(Thread.java:534)
      
      Dynamic libraries:
      0x00400000 - 0x00406000 C:\Sun\AppServer\jdk\bin\java.exe
      0x77F30000 - 0x77FFA000 C:\WINDOWS\system32\ntdll.dll
      0x77E10000 - 0x77F2D000 C:\WINDOWS\system32\kernel32.dll
      0x77D60000 - 0x77E00000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77C20000 - 0x77CC5000 C:\WINDOWS\system32\RPCRT4.dll
      0x77B70000 - 0x77BC4000 C:\WINDOWS\system32\MSVCRT.dll
      0x08000000 - 0x08138000 C:\Sun\AppServer\jdk\jre\bin\client\jvm.dll
      0x77CD0000 - 0x77D5E000 C:\WINDOWS\system32\USER32.dll
      0x77BD0000 - 0x77C14000 C:\WINDOWS\system32\GDI32.dll
      0x769E0000 - 0x76A09000 C:\WINDOWS\system32\WINMM.dll
      0x76180000 - 0x7619D000 C:\WINDOWS\system32\IMM32.DLL
      0x63090000 - 0x63099000 C:\WINDOWS\system32\LPK.DLL
      0x72EE0000 - 0x72F3E000 C:\WINDOWS\system32\USP10.dll
      0x10000000 - 0x10007000 C:\Sun\AppServer\jdk\jre\bin\hpi.dll
      0x003E0000 - 0x003EE000 C:\Sun\AppServer\jdk\jre\bin\verify.dll
      0x008A0000 - 0x008B9000 C:\Sun\AppServer\jdk\jre\bin\java.dll
      0x008C0000 - 0x008CD000 C:\Sun\AppServer\jdk\jre\bin\zip.dll
      0x034A0000 - 0x034AF000 C:\Sun\AppServer\jdk\jre\bin\net.dll
      0x71B60000 - 0x71B78000 C:\WINDOWS\system32\WS2_32.dll
      0x71B50000 - 0x71B58000 C:\WINDOWS\system32\WS2HELP.dll
      0x71A80000 - 0x71AC2000 C:\WINDOWS\System32\mswsock.dll
      0x76E30000 - 0x76E58000 C:\WINDOWS\system32\DNSAPI.dll
      0x76ED0000 - 0x76ED7000 C:\WINDOWS\System32\winrnr.dll
      0x76E70000 - 0x76E9F000 C:\WINDOWS\system32\WLDAP32.dll
      0x76EE0000 - 0x76EE5000 C:\WINDOWS\system32\rasadhlp.dll
      0x71A40000 - 0x71A48000 C:\WINDOWS\System32\wshtcpip.dll
      0x04070000 - 0x04076000 C:\Sun\AppServer\jdk\jre\bin\ioser12.dll
      0x04080000 - 0x04088000 C:\Sun\AppServer\jdk\jre\bin\nio.dll
      0x04090000 - 0x04095000 C:\Sun\AppServer\jdk\jre\bin\rmi.dll
      0x76B70000 - 0x76B98000 C:\WINDOWS\system32\imagehlp.dll
      0x6D830000 - 0x6D8D1000 C:\WINDOWS\system32\dbghelp.dll
      0x77B60000 - 0x77B68000 C:\WINDOWS\system32\VERSION.dll
      0x76AB0000 - 0x76ABB000 C:\WINDOWS\system32\PSAPI.DLL
      
      Heap at VM Abort:
      Heap
       def new generation total 18240K, used 15907K [0x10010000, 0x113d0000, 0x12770000)
       eden space 16256K, 89% used [0x10010000, 0x10e4bdf0, 0x10ff0000)
       from space 1984K, 67% used [0x10ff0000, 0x1113ce70, 0x111e0000)
       to space 1984K, 0% used [0x111e0000, 0x111e0000, 0x113d0000)
       tenured generation total 241984K, used 69820K [0x12770000, 0x213c0000, 0x30010000)
       the space 241984K, 28% used [0x12770000, 0x16b9f3c8, 0x16b9f400, 0x213c0000)
       compacting perm gen total 31488K, used 31349K [0x30010000, 0x31ed0000, 0x34010000)
       the space 31488K, 99% used [0x30010000, 0x31ead728, 0x31ead800, 0x31ed0000)
      
      Local Time = Wed Dec 29 18:27:04 2004
      Elapsed Time = 258
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)
      #
      

      someone can tell me the reason?thanks for your reply?