This discussion is archived
0 Replies Latest reply: Jun 19, 2013 7:08 AM by 984856 RSS

Error while loading java file in Oracle

984856 Newbie
Currently Being Moderated

Hi,

I am facing error while loading java class into oracle . Can you please help

 

-bash-3.2$ cd /export/home/sacuser/

-bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM - resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java

unrecognized or badly formed option -

loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grant                                          s] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-resolver resolver] [-schema schema] [-synonym] [-th                                          in] [-tableschema schema] [-user user/password@database] [-verbose] classes..jars..resources..properties...

-bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM -resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java

 

 

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

Unexpected Signal : 11 occurred at PC=0x0

Function=[Unknown.]

Library=(N/A)

 

 

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 oracle.jdbc.driver.T2CConnection.t2cCreateState(Native Method)

        at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:346)

        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413)

        at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)

        at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)

        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)

        at java.sql.DriverManager.getConnection(DriverManager.java:512)

        - locked <0xf5fdc448> (a java.lang.Class)

        at java.sql.DriverManager.getConnection(DriverManager.java:140)

        - locked <0xf5fdc448> (a java.lang.Class)

        at oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:180)

        at oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:123)

        at oracle.aurora.server.tools.loadjava.LoadJavaState.getConnection(LoadJavaState.java:409)

        at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJavaState.java:696)

        at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(ClientSchemaObject.java:52)

        at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObject.java:172)

        at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:215)

        at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)

        at oracle.aurora.server.tools.loadjava.LoadJava.addSource(LoadJava.java:574)

        at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:439)

        at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)

        at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)

        at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)

        at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)

        at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)

        at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)

        at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)

        at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)

 

 

Dynamic libraries:

0x8050000       /opt/oracle/product/10g/jdk/jre/bin/java

0xfef80000      /lib/libthread.so.1

0xfef40000      /lib/libdl.so.1

0xfee10000      /lib/libc.so.1

0xfea00000      /opt/oracle/product/10g/jdk/jre/lib/i386/client/libjvm.so

0xfedd0000      /usr/lib/libCrun.so.1

0xfedb0000      /lib/libsocket.so.1

0xfe960000      /lib/libnsl.so.1

0xfed90000      /lib/libm.so.1

0xfedc0000      /usr/lib/libsched.so.1

0xfe900000      /lib/libm.so.2

0xfed40000      /lib/libscf.so.1

0xfe8e0000      /lib/libdoor.so.1

0xfe8b0000      /lib/libuutil.so.1

0xfe890000      /lib/libgen.so.1

0xfe870000      /lib/libmd.so.1

0xfe850000      /lib/libmp.so.2

0xfe830000      /opt/oracle/product/10g/jdk/jre/lib/i386/native_threads/libhpi.so

0xfe3d0000      /opt/oracle/product/10g/jdk/jre/lib/i386/libverify.so

0xfe3a0000      /opt/oracle/product/10g/jdk/jre/lib/i386/libjava.so

0xfe380000      /opt/oracle/product/10g/jdk/jre/lib/i386/libzip.so

0xf9e80000      /opt/oracle/product/10g/lib32/libocijdbc10.so

0xf0e00000      /opt/oracle/product/10g/lib32/libclntsh.so.10.1

0xf0c60000      /opt/oracle/product/10g/lib32/libnnz10.so

0xf9e60000      /lib/libkstat.so.1

0xf9e30000      /lib/libaio.so.1

0xf1b60000      /lib/librt.so.1

 

 

Heap at VM Abort:

Heap

def new generation   total 576K, used 237K [0xf1e00000, 0xf1ea0000, 0xf22e0000)

  eden space 512K,  45% used [0xf1e00000, 0xf1e3a058, 0xf1e80000)

  from space 64K,   8% used [0xf1e90000, 0xf1e915c0, 0xf1ea0000)

  to   space 64K,   0% used [0xf1e80000, 0xf1e80000, 0xf1e90000)

tenured generation   total 1408K, used 204K [0xf22e0000, 0xf2440000, 0xf5e00000)

   the space 1408K,  14% used [0xf22e0000, 0xf23130f0, 0xf2313200, 0xf2440000)

compacting perm gen  total 4096K, used 2662K [0xf5e00000, 0xf6200000, 0xf9e00000)

   the space 4096K,  65% used [0xf5e00000, 0xf6099a38, 0xf6099c00, 0xf6200000)

 

 

Local Time = Mon Jun 17 16:29:08 2013

Elapsed Time = 0

#

# The exception above was detected in native code outside the VM

#

# Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)

#

# An error report file has been saved as hs_err_pid27805.log.

# Please refer to the file for further information.

#

Abort (core dumped)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points