You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David B Sullivan <ds...@csc.com> on 2005/05/27 00:42:47 UTC

An unexpected exception has been detected in native code outside the VM.

We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9 
box running Oracle 9.2.0.1 and Java 1.4.2_05.
When Tomcat tries to connect to the DataBase, it crashes, with the log 
file shown below. We can point Tomcat at another DataBase, same versions 
of everything, and it works fine. We can point to this DataBase from 
another server, with everything being the same and that works too. Not 
being knowledgeable of Tomcat or reading the traceback information, I 
really don't know where to start looking.... 
We're locked into versions because of the Application, so I really need to 
get this Version working.
Can anybody tell me what this log file is saying?? 
Any info would be much appreciated.
Thanks,
 cat hs_err_pid2578.log

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xEF8EDD88
Function=[Unknown. Nearest: vcharSizedNormalizeUTF+0x460]
Library=/usr/local/matrix/1052/RMI/lib/solaris4/libvgalaxy-unicode.so.7

Current Java thread:
        at com.matrixone.jni.MatrixKernel.dbStartup(Native Method)
        at com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java:47)
        - locked <0xf5f3ffe0> (a java.lang.Class)
        at com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java:35)
        at 
com.matrixone.jdl.rmi.bosErrorObjectImpl.<init>(bosErrorObjectImpl.java:10)
        at 
com.matrixone.jdl.rmi.bosInterfaceImpl.<init>(bosInterfaceImpl.java:50)
        at 
com.matrixone.jdl.MatrixJNISession.getInterface(MatrixJNISession.java:43)
        at 
com.matrixone.jdl.MatrixRMISession.getInterface(MatrixRMISession.java:74)
        at matrix.db.Context.getInterface(Context.java:1191)
        at matrix.db.Context.getContext(Context.java:1241)
        at matrix.db.Context.printTrace(Context.java:2684)
        at com.matrixone.servlet.AuditServlet.init(AuditServlet.java:63)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)
        - locked <0xf22a8010> (a org.apache.catalina.core.StandardWrapper)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)
        - locked <0xf22a8010> (a org.apache.catalina.core.StandardWrapper)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3363)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)
        - locked <0xf22dfa38> (a org.apache.catalina.core.StandardContext)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:774)
        - locked <0xf200bc28> (a java.util.HashMap)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)
        at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:548)
        at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:260)
        - locked <0xf200bd40> (a 
org.apache.catalina.core.StandardHostDeployer)
        at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:741)
        at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:445)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:353)
        at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:671)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1149)
        - locked <0xf2009448> (a org.apache.catalina.core.StandardHost)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
        - locked <0xf2009448> (a org.apache.catalina.core.StandardHost)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
        - locked <0xf1fe6e70> (a org.apache.catalina.core.StandardEngine)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        - locked <0xf1fe6e70> (a org.apache.catalina.core.StandardEngine)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
        - locked <0xf201a2c8> (a [Lorg.apache.catalina.Service;)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
        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.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

Dynamic libraries:
0x10000         /usr/local/j2sdk1.4.2_06/bin/java
0xff370000      /usr/lib/lwp/libthread.so.1
0xff3fa000      /usr/lib/libdl.so.1
0xff280000      /usr/lib/libc.so.1
0xff3a0000      /usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1
0xfec00000      /usr/local/j2sdk1.4.2_06/jre/lib/sparc/client/libjvm.so
0xff230000      /usr/lib/libCrun.so.1
0xff210000      /usr/lib/libsocket.so.1
0xff100000      /usr/lib/libnsl.so.1
0xff1c0000      /usr/lib/libm.so.1
0xff0e0000      /usr/lib/libsched.so.1
0xff0b0000      /usr/lib/libmp.so.2
0xff070000 /usr/local/j2sdk1.4.2_06/jre/lib/sparc/native_threads/libhpi.so
0xfebd0000      /usr/local/j2sdk1.4.2_06/jre/lib/sparc/libverify.so
0xfeb90000      /usr/local/j2sdk1.4.2_06/jre/lib/sparc/libjava.so
0xff040000      /usr/local/j2sdk1.4.2_06/jre/lib/sparc/libzip.so
0xfe840000      /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
0xfbc70000      /usr/local/j2sdk1.4.2_06/jre/lib/sparc/libnet.so
0xee000000      /usr/local/matrix/1052/RMI/bin/solaris4/libeMatrix.so
0xf98b0000      /usr/local/matrix/1052/RMI/lib/solaris4/libmxCipher.so
0xf9890000      /usr/local/matrix/1052/RMI/lib/solaris4/libmxDriver.so
0xf9850000      /usr/local/matrix/1052/RMI/lib/solaris4/libmxMemory.so
0xefb00000      /usr/local/matrix/1052/RMI/lib/solaris4/libxerces-c.so.21
0xef700000 /usr/local/matrix/1052/RMI/lib/solaris4/libvgalaxy-unicode.so.7
0xf9830000      /usr/lib/librpcsvc.so.1
0xf16a0000      /usr/lib/libresolv.so.2
0xfc560000      /usr/lib/libintl.so.1
0xf9ad0000      /usr/lib/libw.so.1
0xf17d0000      /usr/lib/libXext.so.0
0xedf00000      /usr/lib/libX11.so.4
0xf15e0000      /usr/lib/libpthread.so.1
0xf15c0000      /usr/lib/locale/en_US.ISO8859-15/en_US.ISO8859-15.so.2
0xf15a0000      /usr/local/matrix/1052/RMI/lib/solaris4/mxoci80.so
0xed800000      /usr/local/matrix/1052/RMI/lib/solaris4/libclntsh.so.8.0
0xf0f60000      /usr/lib/libaio.so.1

Heap at VM Abort:
Heap
 def new generation   total 2112K, used 391K [0xf1800000, 0xf1a20000, 
0xf1f10000)
  eden space 2048K,  15% used [0xf1800000, 0xf1851df8, 0xf1a00000)
  from space 64K,  99% used [0xf1a10000, 0xf1a1fff8, 0xf1a20000)
  to   space 64K,   0% used [0xf1a00000, 0xf1a00000, 0xf1a10000)
 tenured generation   total 6768K, used 4551K [0xf1f10000, 0xf25ac000, 
0xf5800000)
   the space 6768K,  67% used [0xf1f10000, 0xf2381f60, 0xf2382000, 
0xf25ac000)
 compacting perm gen  total 7680K, used 7424K [0xf5800000, 0xf5f80000, 
0xf9800000)
   the space 7680K,  96% used [0xf5800000, 0xf5f400e8, 0xf5f40200, 
0xf5f80000)

Local Time = Thu May 26 13:54:30 2005
Elapsed Time = 9
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
#

Re: An unexpected exception has been detected in native code outside the VM.

Posted by Will Hartung <wi...@msoft.com>.
> From: "David B Sullivan" <ds...@csc.com>
> Sent: Thursday, May 26, 2005 3:42 PM

> We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9
> box running Oracle 9.2.0.1 and Java 1.4.2_05.
> When Tomcat tries to connect to the DataBase, it crashes, with the log
> file shown below. We can point Tomcat at another DataBase, same versions
> of everything, and it works fine. We can point to this DataBase from
> another server, with everything being the same and that works too. Not
> being knowledgeable of Tomcat or reading the traceback information, I
> really don't know where to start looking....
> We're locked into versions because of the Application, so I really need to
> get this Version working.
> Can anybody tell me what this log file is saying??
> Any info would be much appreciated.
> Thanks,
>  cat hs_err_pid2578.log
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : 11 occurred at PC=0xEF8EDD88
> Function=[Unknown. Nearest: vcharSizedNormalizeUTF+0x460]
> Library=/usr/local/matrix/1052/RMI/lib/solaris4/libvgalaxy-unicode.so.7
>
> Current Java thread:
>         at com.matrixone.jni.MatrixKernel.dbStartup(Native Method)
>         at com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java:47)

Looks like what I'm assuming are your JDBC drivers are exploding with a
SIGFAULT.

And it looks like its imploding with something to do with UNICODE, so
perhaps you have some kind of strange Locale issue.

Is that matrixone stuff actually your JDBC driver? Any reason you can't use
the Oracle thin (JDBC Type 4) drivers?

This looks to me to be a problem with MatrixOne, and I'd give them a call.
Tomcat is but a victim.

Regards,

Will Hartung
(willh@msoft.com)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: An unexpected exception has been detected in native code outside the VM.

Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
David B Sullivan wrote:

>We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9 
>box running Oracle 9.2.0.1 and Java 1.4.2_05.
>When Tomcat tries to connect to the DataBase, it crashes, with the log 
>file shown below. We can point Tomcat at another DataBase, same versions 
>of everything, and it works fine. We can point to this DataBase from 
>another server, with everything being the same and that works too. Not 
>being knowledgeable of Tomcat or reading the traceback information, I 
>really don't know where to start looking.... 
>We're locked into versions because of the Application, so I really need to 
>get this Version working.
>Can anybody tell me what this log file is saying?? 
>Any info would be much appreciated.
>Thanks,
> cat hs_err_pid2578.log
>
>An unexpected exception has been detected in native code outside the VM.
>Unexpected Signal : 11 occurred at PC=0xEF8EDD88
>Function=[Unknown. Nearest: vcharSizedNormalizeUTF+0x460]
>Library=/usr/local/matrix/1052/RMI/lib/solaris4/libvgalaxy-unicode.so.7
>
>Current Java thread:
>        at com.matrixone.jni.MatrixKernel.dbStartup(Native Method)
>        at com.matrixone.jni.MatrixKernel.getKernel(MatrixKernel.java:47)
>  
>

This sounds like you're using Oracle's JDBC driver that is not Type-4 
(pure Java). It is crashing in one of the external libraries. The 
immediate remedy is to use a pure Java JDBC driver.

Nix.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org