> Hi,
> it's me again.
[quoted text clipped - 16 lines]
> SQLJ.install_jar?
> Any idea about my install_jar problem?
Are you sure you've copied the error information correctly? According to the
Information Center, there is no reason code 0 for SQL4301N, just reason
codes 1 through 6.
Also, according to the manuals, sqlj.install_jar() should only have two
parameters but you've supplied THREE, according to your example. The example
in the manual is:
CALL sqlj.install_jar( 'file:/home/bob/bobsjar.jar', 'MYJAR' )
Maybe the solution is as simple as removing your last parameter?--Rhino
>> Hi,
>> I'm trying to deploy a Java stored procedure on DB2 V8 on a Linux box,
[quoted text clipped - 18 lines]
>> Thanks,
>> Andrea
tol7481@iperbole.bologna.it - 07 Jun 2006 14:07 GMT
Hi!
>Are you sure you've copied the error information correctly? According to the
>Information Center, there is no reason code 0 for SQL4301N, just reason
>codes 1 through 6.
Yes the error information was just copied & pasted, this reason code is
also explained in
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0510law#commonp
roblems
I checked my configuration according to the article (JDK_PATH, ...) but
everything seems fine...
>Also, according to the manuals, sqlj.install_jar() should only have two
>parameters but you've supplied THREE, according to your example. The example
>in the manual is:
> CALL sqlj.install_jar( 'file:/home/bob/bobsjar.jar', 'MYJAR' )
>Maybe the solution is as simple as removing your last parameter?--Rhino
Same error even with two parameters.
I used the three params syntax because I made my first "experiments"
with iSeries and I found that syntax in the documentation:
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.
db2.doc.java/bjnkmstr132.htm
Errata corrige about the error I get with install_jar: I've corrected
the CLASSPATH (db2java.zip and other jars were not included) and
now I get the error about the JVM:
SQL4301N Java or .NET interpreter startup or communication failed,
reason code "0". SQLSTATE=58004
...
sqlcode : -4301
sqlstate : 58004
:-(
Any idea?
Thanks,
Andrea