Error in JAVA Stored Procedures while loading to Oracle [message #252054] |
Tue, 17 July 2007 13:31 |
asmat_mca
Messages: 4 Registered: May 2005 Location: Bangalore
|
Junior Member |
|
|
Greetings
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,
Rin...
|
|
|
|