Loading java classes into ORACLE database error : ()Ljava/util/List;) catch_type not a subclass of Throwable -


i trying load java classes database using loadjava tool, getting warning causing error when calling java methode plsql procedure.

error :

ora-29552: verification warning: java.lang.verifyerror: (class: com/mq/rimsmqtoolsin, method: mqread signature: ()ljava/util/list;) catch_type not subclass of throwable

i think dependencie issue missing java class need resolved using loadjava tool not figure jar need used , how correct cmd using laodjava ?

nb: tried use jar file contains java.util.list.class still warning when loading

java version:

java -version java version "1.6.0_39" java(tm) se runtime environment (build 1.6.0_39-b04) java hotspot(tm) 64-bit server vm (build 20.14-b01, mixed mode)  

to load first compile using shell script:

javac -source 1.4 \ -target 1.4 \ -classpath ./com.ibm.mq.jar:./connector.jar:$classpath \ $sources  

then load :

loadjava -force -definer -resolve -synonym -grant rims_user_role -user $db_connect_string -verbose $classes  

this error occurs when dependency jar files loaded in separate load java command. load jar files in single loadjava command below: loadjava -u sys/welcome1 -r -v -f -s -grant public -genmissing xyz.jar xyz1.jar

before loading jar files drop them database.

https://community.oracle.com/message/13161867#13161867


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -