报错oracle.jdbc.driver.T2CConnection.logon

IdleMan 发布于 2012/07/02 09:25
阅读 1K+
收藏 0
load-extra-libs:
     [java] arguments: '-nodefiner' '-v' '-v' '-s' '-g' 'public' '-u' 'LU/LU@LUNS' 'lib/log4j-1.2.16.jar' 
     [java] 
     [java] An unexpected exception has been detected in native code outside the VM.
     [java] Unexpected Signal : 11 occurred at PC=0x0
     [java] Function=[Unknown.]
     [java] Library=(N/A)
     [java] 
     [java] NOTE: We are unable to locate the function name symbol for the error
     [java]       just occurred. Please refer to release documentation for possible
     [java]       reason and solutions.
     [java] 
     [java] 
     [java] Current Java thread:
     [java]     at oracle.jdbc.driver.T2CConnection.t2cCreateState(Native Method)
     [java]     at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:346)
     [java]     at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
     [java]     at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
     [java]     at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
     [java]     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     - locked <0xf5f9a330> (a java.lang.Class)
     [java]     at java.sql.DriverManager.getConnection(DriverManager.java:140)
     [java]     - locked <0xf5f9a330> (a java.lang.Class)
     [java]     at oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:180)
     [java]     at oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:123)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJavaState.getConnection(LoadJavaState.java:409)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJavaState.java:696)
     [java]     at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(ClientSchemaObject.java:52)
     [java]     at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObject.java:172)
     [java]     at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:215)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.addObject(LoadJava.java:513)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:451)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.addJar(LoadJava.java:727)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:432)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)
     [java]     at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)
     [java] 
     [java] Dynamic libraries:
     [java] 0x8050000   /u01/app/oracle/product/10.2/db_1/jdk/jre/bin/java
     [java] 0xfef80000  /lib/libthread.so.1
     [java] 0xfef40000  /lib/libdl.so.1
     [java] 0xfee10000  /lib/libc.so.1
     [java] 0xfea00000  /u01/app/oracle/product/10.2/db_1/jdk/jre/lib/i386/client/libjvm.so
     [java] 0xfedd0000  /usr/lib/libCrun.so.1
     [java] 0xfedb0000  /lib/libsocket.so.1
     [java] 0xfe960000  /lib/libnsl.so.1
     [java] 0xfed90000  /lib/libm.so.1
     [java] 0xfedc0000  /usr/lib/libsched.so.1
     [java] 0xfe900000  /lib/libm.so.2
     [java] 0xfed40000  /lib/libscf.so.1
     [java] 0xfe8e0000  /lib/libdoor.so.1
     [java] 0xfe8b0000  /lib/libuutil.so.1
     [java] 0xfe890000  /lib/libgen.so.1
     [java] 0xfe870000  /lib/libmd.so.1
     [java] 0xfe850000  /lib/libmp.so.2
     [java] 0xfe830000  /u01/app/oracle/product/10.2/db_1/jdk/jre/lib/i386/native_threads/libhpi.so
     [java] 0xfe3d0000  /u01/app/oracle/product/10.2/db_1/jdk/jre/lib/i386/libverify.so
     [java] 0xfe390000  /u01/app/oracle/product/10.2/db_1/jdk/jre/lib/i386/libjava.so
     [java] 0xfe370000  /u01/app/oracle/product/10.2/db_1/jdk/jre/lib/i386/libzip.so
     [java] 0xf9e80000  /u01/app/oracle/product/10.2/db_1/lib32/libocijdbc10.so
     [java] 0xf0e00000  /u01/app/oracle/product/10.2/db_1/lib32/libclntsh.so.10.1
     [java] 0xf0c60000  /u01/app/oracle/product/10.2/db_1/lib32/libnnz10.so
     [java] 0xf9e60000  /lib/libkstat.so.1
     [java] 0xf9e30000  /lib/libaio.so.1
     [java] 0xf1b60000  /lib/librt.so.1
     [java] 
     [java] Heap at VM Abort:
     [java] Heap
     [java]  def new generation   total 576K, used 139K [0xf1e00000, 0xf1ea0000, 0xf22e0000)
     [java]   eden space 512K,  26% used [0xf1e00000, 0xf1e21ae0, 0xf1e80000)
     [java]   from space 64K,   6% used [0xf1e80000, 0xf1e811e8, 0xf1e90000)
     [java]   to   space 64K,   0% used [0xf1e90000, 0xf1e90000, 0xf1ea0000)
     [java]  tenured generation   total 1408K, used 235K [0xf22e0000, 0xf2440000, 0xf5e00000)
     [java]    the space 1408K,  16% used [0xf22e0000, 0xf231ad20, 0xf231ae00, 0xf2440000)
     [java]  compacting perm gen  total 4096K, used 2299K [0xf5e00000, 0xf6200000, 0xf9e00000)
     [java]    the space 4096K,  56% used [0xf5e00000, 0xf603ed38, 0xf603ee00, 0xf6200000)
     [java] 
     [java] Local Time = Mon Jul  2 09:19:57 2012
     [java] Elapsed Time = 0
     [java] #
     [java] # The exception above was detected in native code outside the VM
     [java] #
     [java] # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
     [java] #
     [java] # An error report file has been saved as hs_err_pid2353.log.
     [java] # Please refer to the file for further information.
     [java] #

 

 

帮忙看下,3Q!!!

加载中
0
IdleMan
IdleMan
用户名和密码是没有问题的。我用sqlplus  LU/LU@LUNS 是可以成功登陆的
0
IdleMan
IdleMan

还有情况是,OS和Oracle都是64bit的,如果在LD_LIBRARY_PATH中设置了$ORACLE_HOME/lib连上面的错误都看不到,如果在LD_LIBRARY_PATH中只保留$ORACLE_HOME/lib32就会出现上面的错误。

我用String arch = System.getProperty("sun.arch.data.model");  得到的JVM是32bit的

返回顶部
顶部