Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

loadjava error - loading JAR file

user1980Dec 7 2006 — edited Dec 15 2006
Hi,

I am trying to load a JAR file into the DB and am getting these errors:
$ loadjava -force -user user/pass javaTelnet.jar

Error while creating class javaTelnet/ScriptHandler
    ORA-29537: class or resource cannot be created or dropped directly

Error while creating class javaTelnet/TelnetClient$ReaderThread
    ORA-29537: class or resource cannot be created or dropped directly

Error while creating class javaTelnet/TelnetClient
    ORA-29537: class or resource cannot be created or dropped directly

Error while creating class javaTelnet/TelnetWrapper
    ORA-29537: class or resource cannot be created or dropped directly

Error while creating class javaTelnet/TelnetProtocolHandler
    ORA-29537: class or resource cannot be created or dropped directly

The following operations failed
    class javaTelnet/ScriptHandler: creation
    class javaTelnet/TelnetClient$ReaderThread: creation
    class javaTelnet/TelnetClient: creation
    class javaTelnet/TelnetWrapper: creation
    class javaTelnet/TelnetProtocolHandler: creation
exiting  : Failures occurred during processing

These are the only other Java class I have in the DB.

SQL> select dbms_java.longname(object_name),status
  2  from user_objects
  3  where object_type='JAVA CLASS'
  4  /

DBMS_JAVA.LONGNAME(OBJECT_NAME)
--------------------------------------------------------------------------------
STATUS
-------
PBoot
VALID
The JAR contains all class files within a package named javaTelnet.
I am able to execute the JAR successfully from command line.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2007
Added on Dec 7 2006
3 comments
2,072 views