Home » Developer & Programmer » JDeveloper, Java & XML » Error in JAVA Stored Procedures while loading to Oracle
Error in JAVA Stored Procedures while loading to Oracle [message #252054] Tue, 17 July 2007 13:31 Go to next message
Messages: 4
Registered: May 2005
Location: Bangalore
Junior Member

I am trying to load a java class into Oracle using loadjava (in order to create the Java Stored Procedure). While trying to do so, using the below command,

loadjava -user ABCD/XXXXXX hello.class
I got the below error.
errors : class hello
ORA-29545: badly formed class:

The following operations failed
class hello: resolution
exiting : Failures occurred during processing

But I can see the class loaded into oracle, with an invalid state.

SELECT object_name, object_type, status, TIMESTAMP FROM user_objects where object_type LIKE 'JAVA %'

Instead, I dropped the class from Oracle and tried loading with
loadjava -user ABCD/XXXXXX -genmissing hello.class

it did not throw any error, but the state in Oracle is yet invalid.

Can anyone help me out in sorting this problem? Any help is appreciated. I know, there are few more steps for the complete Java stored procedure, but as I am struck here, not able to proceed further.

Thanks & Regards,

Re: Error in JAVA Stored Procedures while loading to Oracle [message #252098 is a reply to message #252054] Tue, 17 July 2007 19:03 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
plenty of examples here
Previous Topic: I can't start OC4J instance
Next Topic: PLS-00311 Error when creating java stored function
Goto Forum:

Current Time: Sat Oct 22 19:36:12 CDT 2016

Total time taken to generate the page: 0.22848 seconds