0 Replies Latest reply on May 16, 2005 8:43 AM by Deivanaathan A Krishnan

    Exception error thrown when accessing the file

    Deivanaathan A Krishnan Newbie

      Hi,

      I am using the PHPServlet engine to process the PHP files and installed the same in the deploy directory.

      When i tried to run the phpinfo(); its showing the proper results and i don't have any problem with that. But when i tried to run any code which creates instance of java object, then it throws the exception and the JBoss server gets crashed and logs out.

      Do any one face the same problem or can any one help on this?

      Thanks in advance!

      Deiva

      PS : Herewith i am attaching the content of the error log file generated by the JBoss

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d739bf5, pid=2620, tid=2492
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode)
      # Problematic frame:
      # V [jvm.dll+0x89bf5]
      #

      --------------- T H R E A D ---------------

      Current thread (0x008ce280): JavaThread "http-0.0.0.0-8080-1" daemon [_thread_in_vm, id=2492]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

      Registers:
      EAX=0x00000000, EBX=0x00000000, ECX=0x0000deab, EDX=0x00000000
      ESP=0x287eefa0, EBP=0x287eefc0, ESI=0x008ce280, EDI=0x00000000
      EIP=0x6d739bf5, EFLAGS=0x00010246

      Top of Stack: (sp=0x287eefa0)
      0x287eefa0: 008ce280 00000006 00000000 008ce33c
      0x287eefb0: 008ce33c 28d1a2f8 6d7f2920 008ce280
      0x287eefc0: 00000000 288316ee 008ce33c 00000000
      0x287eefd0: 00000000 00000000 27392748 008ce33c
      0x287eefe0: 00000000 28d1a2fc 28831171 00000000
      0x287eeff0: 28d1a2fc 27392748 28d1a2a8 00000000
      0x287ef000: 27392748 287ef08c 00000000 28d1b780
      0x287ef010: 28d1a2a8 00000000 2887232b 27c35c94

      Instructions: (pc=0x6d739bf5)
      0x6d739be5: f0 53 6a 06 56 89 75 fc e8 af 80 fb ff 8b 45 10
      0x6d739bf5: ff 30 e8 e0 84 ff ff 83 c4 14 8d 4d f8 50 56 e8


      Stack: [0x287b0000,0x287f0000), sp=0x287eefa0, free space=251k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x89bf5]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j net.php.servlet.send(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Z)V+0
      j net.php.servlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V+52
      j net.php.servlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+24
      j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
      j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354
      j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
      j org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+61
      j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+117
      j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
      j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+670
      j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285
      j org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+37
      j org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+302
      j org.jboss.web.tomcat.security.JaccContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+32
      j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
      j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
      j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
      j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141
      j org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+521
      j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
      j org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
      j org.apache.tomcat.util.net.MasterSlaveWorkerThread.run()V+32
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
      0x27c35d30 JavaThread "http-0.0.0.0-8080-2" daemon [_thread_blocked, id=3244]
      =>0x008ce280 JavaThread "http-0.0.0.0-8080-1" daemon [_thread_in_vm, id=2492]
      0x27b38c28 JavaThread "TP-Monitor" daemon [_thread_blocked, id=3316]
      0x26e25010 JavaThread "TP-Processor4" daemon [_thread_in_native, id=2596]
      0x26e24a80 JavaThread "TP-Processor3" daemon [_thread_blocked, id=3224]
      0x26e33d40 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2340]
      0x26e24560 JavaThread "TP-Processor1" daemon [_thread_blocked, id=2304]
      0x27b4f678 JavaThread "http-0.0.0.0-8080" daemon [_thread_in_native, id=2820]
      0x27baa998 JavaThread "JBossLifeThread" [_thread_blocked, id=2592]
      0x27996d80 JavaThread "UILServerILService Accept Thread" [_thread_in_native, id=2216]
      0x27daaa88 JavaThread "TimeoutFactory" daemon [_thread_blocked, id=860]
      0x27de9d48 JavaThread "JCA PoolFiller" [_thread_blocked, id=3168]
      0x27dfcdd0 JavaThread "Timer-2" daemon [_thread_blocked, id=656]
      0x27878ce8 JavaThread "HSQLDB Timer @90ebfe" daemon [_thread_blocked, id=3012]
      0x27ba9ac0 JavaThread "WorkManager(3)-1" daemon [_thread_blocked, id=2232]
      0x27beb238 JavaThread "Thread-3" daemon [_thread_blocked, id=3392]
      0x2705cc40 JavaThread "JBossMQ Cache Reference Softner" daemon [_thread_blocked, id=716]
      0x27af50a0 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=680]
      0x27874480 JavaThread "PooledInvokerAcceptor#0-4445" [_thread_in_native, id=3044]
      0x278936b0 JavaThread "RMI TCP Accept-4444" daemon [_thread_in_native, id=2628]
      0x27881f18 JavaThread "ClassLoadingPool(2)-1" daemon [_thread_in_native, id=872]
      0x27882120 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=3424]
      0x2738b038 JavaThread "GC Daemon" daemon [_thread_blocked, id=2600]
      0x27883db8 JavaThread "RMI Reaper" [_thread_blocked, id=2180]
      0x273969b0 JavaThread "Timer-1" daemon [_thread_blocked, id=3100]
      0x27864c28 JavaThread "RMI TCP Accept-1098" daemon [_thread_in_native, id=3220]
      0x2738bd60 JavaThread "ScannerThread" daemon [_thread_blocked, id=2728]
      0x2737a5f8 JavaThread "Timer-0" daemon [_thread_blocked, id=2848]
      0x00236d90 JavaThread "DestroyJavaVM" [_thread_blocked, id=3312]
      0x008a39a8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2844]
      0x008a24b0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2888]
      0x008a1718 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2736]
      0x00898af8 JavaThread "Finalizer" daemon [_thread_blocked, id=2956]
      0x00897608 JavaThread "Reference Handler" daemon [_thread_blocked, id=2780]

      Other Threads:
      0x00894c58 VMThread [id=3248]
      0x008a4f40 WatcherThread [id=2920]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
      def new generation total 9152K, used 7751K [0x02950000, 0x03330000, 0x050b0000)
      eden space 8192K, 82% used [0x02950000, 0x02ff1f50, 0x03150000)
      from space 960K, 99% used [0x03240000, 0x0332fff8, 0x03330000)
      to space 960K, 0% used [0x03150000, 0x03150000, 0x03240000)
      tenured generation total 121024K, used 27160K [0x050b0000, 0x0c6e0000, 0x22950000)
      the space 121024K, 22% used [0x050b0000, 0x06b36038, 0x06b36200, 0x0c6e0000)
      compacting perm gen total 20480K, used 20293K [0x22950000, 0x23d50000, 0x26950000)
      the space 20480K, 99% used [0x22950000, 0x23d21460, 0x23d21600, 0x23d50000)
      No shared spaces configured.

      Dynamic libraries:
      0x00400000 - 0x0040c000 C:\Program Files\Java\jdk1.5.0_02\bin\java.exe
      0x77f80000 - 0x77ffd000 C:\WINNT\system32\ntdll.dll
      0x7c2d0000 - 0x7c332000 C:\WINNT\system32\ADVAPI32.dll
      0x7c570000 - 0x7c628000 C:\WINNT\system32\KERNEL32.DLL
      0x77d30000 - 0x77da1000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
      0x6d6b0000 - 0x6d835000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\client\jvm.dll
      0x77e10000 - 0x77e75000 C:\WINNT\system32\USER32.dll
      0x77f40000 - 0x77f7e000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775a0000 C:\WINNT\system32\WINMM.dll
      0x6bd00000 - 0x6bd0d000 C:\WINNT\system32\SYNCOR11.DLL
      0x6d2f0000 - 0x6d2f8000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\hpi.dll
      0x690a0000 - 0x690ab000 C:\WINNT\system32\PSAPI.DLL
      0x6d680000 - 0x6d68c000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\verify.dll
      0x6d370000 - 0x6d38d000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\java.dll
      0x6d6a0000 - 0x6d6af000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\zip.dll
      0x6d530000 - 0x6d543000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\net.dll
      0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
      0x782c0000 - 0x782cc000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779a4000 C:\WINNT\system32\DNSAPI.DLL
      0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL
      0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
      0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
      0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
      0x75150000 - 0x7515f000 C:\WINNT\system32\SAMLIB.DLL
      0x75170000 - 0x751bf000 C:\WINNT\system32\NETAPI32.DLL
      0x7c340000 - 0x7c34f000 C:\WINNT\system32\Secur32.dll
      0x77bf0000 - 0x77c01000 C:\WINNT\system32\NTDSAPI.dll
      0x77950000 - 0x7797a000 C:\WINNT\system32\WLDAP32.DLL
      0x751c0000 - 0x751c6000 C:\WINNT\system32\NETRAP.dll
      0x77a50000 - 0x77b3f000 C:\WINNT\system32\OLE32.DLL
      0x779b0000 - 0x77a4b000 C:\WINNT\system32\OLEAUT32.DLL
      0x773b0000 - 0x773df000 C:\WINNT\system32\ACTIVEDS.DLL
      0x77380000 - 0x773a3000 C:\WINNT\system32\ADSLDPC.DLL
      0x77830000 - 0x7783e000 C:\WINNT\system32\RTUTILS.DLL
      0x77880000 - 0x7790e000 C:\WINNT\system32\SETUPAPI.DLL
      0x7c0f0000 - 0x7c151000 C:\WINNT\system32\USERENV.DLL
      0x774e0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
      0x774c0000 - 0x774d1000 C:\WINNT\system32\RASMAN.DLL
      0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
      0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
      0x70a70000 - 0x70ad4000 C:\WINNT\system32\SHLWAPI.DLL
      0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
      0x777e0000 - 0x777e8000 C:\WINNT\System32\winrnr.dll
      0x777f0000 - 0x777f5000 C:\WINNT\system32\rasadhlp.dll
      0x6d520000 - 0x6d528000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\management.dll
      0x7ca00000 - 0x7ca23000 C:\WINNT\system32\rsaenh.dll
      0x7c740000 - 0x7c7c7000 C:\WINNT\system32\CRYPT32.dll
      0x77430000 - 0x77440000 C:\WINNT\system32\MSASN1.DLL
      0x74fd0000 - 0x74fee000 C:\WINNT\system32\msafd.dll
      0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
      0x6d550000 - 0x6d559000 C:\Program Files\Java\jdk1.5.0_02\jre\bin\nio.dll
      0x28830000 - 0x28838000 C:\php\php5servlet.dll
      0x28840000 - 0x28ba5000 c:\php\php5ts.dll
      0x28bb0000 - 0x28be2000 C:\WINNT\system32\ODBC32.dll
      0x782f0000 - 0x78535000 C:\WINNT\system32\SHELL32.dll
      0x76b30000 - 0x76b6e000 C:\WINNT\system32\comdlg32.dll
      0x28cf0000 - 0x28d06000 C:\WINNT\system32\odbcint.dll
      0x60000000 - 0x60045000 C:\WINNT\system32\MSCTF.dll

      VM Arguments:
      jvm_args: -Dprogram.name=run.bat -Xms128m -Xmx512m -Djava.endorsed.dirs=C:\jboss-4.0.2\bin\\..\lib\endorsed
      java_command: org.jboss.Main

      Environment Variables:
      JAVA_HOME=C:\Program Files\Java\jdk1.5.0_02
      CLASSPATH=C:\Program Files\Java\jre1.5.0_02\lib\;C:\php\ext;
      PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\Crystal Decisions\2.0\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\SSH\bin;C:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;C:\SSH\bin;C:\Program Files\Java\jdk1.5.0_02;c:\php;C:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;C:\SSH\bin;C:\Program Files\Java\jdk1.5.0_02\bin;
      USERNAME=administrator
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD


      --------------- S Y S T E M ---------------

      OS: Windows 2000 Build 2195 Service Pack 4

      CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse

      Memory: 4k page, physical 490992k(104584k free), swap 2461660k(1989192k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0_02-b09) for windows-x86, built on Mar 4 2005 01:53:53 by "java_re" with MS VC++ 6.0