Quote:
Originally posted by Amit Dandekar
Make sure you have taken care of these things
1) the jar you have provided seems to be
on windows while your engine is on linux box.
I think you need to put you jar on same linux box or some place
where engine can find it.
for exaple you can copy it to
/tmp/myudr.jar and set first parameter as "file:/tmp/myudr.jar"
2) Secondly wonder if using alias "myudr.class" causing any problem .
try and use "myudr_class" intead.
3) Make sure you have setup Java UDR support in your engine
by setting necessary parameters in onconfig etc.
Refer to admin guide for same
4) Make sure you have defined SYSSBSPACE and added same to the
instance.
|
Hi Amit Dandekar ,
Thank you for your reply.
I've run the install_jar successfully with your solution #1.
But I've got another error, the situation as following:
case 1: My java source code has the package
package com.my.udr;
public class Hello{
public static String HelloWorld() throws Exception{
String str = "Hello World!";
return str;
}
}
case 2: My java source code has no the package
public class Hello{
public static String HelloWorld() throws Exception{
String str = "Hello World!";
return str;
}
}
Step 1. compile the source.
Step 2. make the jar file.
Step 3. run the procedure sqlj.install_jar(...).
Step 4. execute the function HelloWorld().
Case 2. is no problem but it got an error in the step 4 of the Case 1.
9479: Unknown throwable: (Cannot convert param:zh_tw).
What is the problem of the package?
I still have the problem.
Thanks...