NoSuchMethoError in 10.2.0.1.0 (10.2.0.3.0 is OK)
Lately I've faced a problem of using Java stored procedure (defined in a package) in Oracle 10.2.0.1.0.
I'm receiving "ORA-29532: Java call terminated by uncaught Java exception:
java.lang.NoSuchMethodError" all the time while invoking the procedure, despite that classes from loaded jar were resolved successfully and are valid.
When load the same jar into the Oracle 10.2.0.3.0, and execute an identical stored procedure (actually the same), the error doesn't appear.
I've checked the version of java of both Oracle instances by calling stored java function, which merely reads property "java.version":
public class JavaVersion {
public static String get() {
String Version = System.getProperties().getProperty("java.version");
return Version;
And it's showed "1.4.2_04" for both Oracle instances, 10.2.0.1.0 and 10.2.0.3.0.
Do you have any suggestion how to make my classes work in the Oracle 10.2.0.1.0?
Thanks in advance.
P.S. If it might be anyhow important, my classes were compiled from Ant with Sun's javac (v 1.5) with parameters -source="1.4" and -target="1.4".
P.P.S. One more detail: Ora 10.2.0.1.0 runs on Solaris 5.10 and 10.2.0.3.0 runs on SuSe Linux ES 9
Message was edited by:
user603941
Finally, I've found a cause of the problem. And Oracle has nothing to it.
The problem had been caused by compilation of sources with jdk 1.5 compiler, which allowed the source, using the String.contains method available only since 1.5, in spite of setting target and source parameters to 1.4.
Anyway, thanks for everybody, who tried to help. ;-)
Regards
Similar Messages
Maybe you are looking for
-
Error in RAR while approving request from CUP
Dear GRC Gurus, I am getting error while approving request in CUP for RAR. Checked the related threads for this issue but still not getting any solution. Connectors are working fine. Also web service URL is maintained correctly and password for the s
-
How to optimize macbook pro for video editing and 3d animation
Hello Everybody - I've had a macbook pro for about 5 years now. It works great, havn't had any issues with it yet, but I've started doing more video editing and 3D animation work on it with FCP7 and Blender (usually using photoshop at the same time).
-
Approval process in oracle purchasing
hi, when i am about to approve one purchase order i dont see the fax, email it is disabled ? how do i enable it? Regards sudharshan
-
i have a game called dino island that i downloaded from the app store it wont work after i click on an island why can you help?
-
Fastest way to select many rows?
I wonder way a simple select that only joins 2 tables take so long to execute. It takes up to 30 seconds to read 50.000 rows with the 9.2.0.5 driver on a ORACLE 8.0.5 server. In another project we read 100.000 rows with a similar select over two tabl