Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> loadjava, oracle 9i, JNI panic error.

loadjava, oracle 9i, JNI panic error.

From: jch <johnh_at_127.0.0.1>
Date: Tue, 15 Feb 2005 03:17:24 GMT
Message-Id: <pan.2005.02.15.03.17.32.828221@127.0.0.1>


Greetings.

I'm running into an issue on a Solaris 9/Oracle 9i (9i patched up to 9.2.0.6 specifically) based platform with loading a compiled class file into the database. I've had this loaded successfully on many other platforms, and the oracle java creation scripts necessary all seemed to have completed without errors. Using the default "loadjava" script gives me the following output:

loadjava -f -verbose -oracleresolver -resolve -oci8 -u usr/pass ExecUtil.class

creating : class ExecUtil
loading  : class ExecUtil
JNI panic: JNI received a null array
        at oracle.jdbc.oci8.OCIDBAccess.blobWrite(Compiled Code)
        at oracle.jdbc.oci8.OCIDBAccess.lobWrite(Compiled Code)
        at oracle.sql.LobDBAccessImpl.putBytes(Compiled Code)
        at oracle.sql.BLOB.putBytes(Compiled Code)
        at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(Compiled Code)
        at oracle.jdbc.driver.OracleBlobOutputStream.flush(Compiled Code)
        at oracle.aurora.util.IOCopy.copy(Compiled Code)
        at oracle.aurora.server.tools.loadjava.SchemaObject.load(Compiled Code)
        at oracle.aurora.server.tools.loadjava.ClientClassObject.create(Compiled Code)
        at oracle.aurora.server.tools.loadjava.SchemaObject.process1(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.add(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.addClass(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.add(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.add(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.add(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.add(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.process(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJava.command(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(Compiled Code)
        at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(Compiled Code)


The class compiled successfully using oracle's supplied jre in 9.2.0.6, as well as java 1.4.2 supplied with solaris 9. I've not been able to find anything on technet/metalink/google about this specific error. Any insight or ideas are appreciated.

-jch Received on Mon Feb 14 2005 - 21:17:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US