By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,812 Members | 875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,812 IT Pros & Developers. It's quick & easy.

Java or .NET interpreter startup or communication failed, reason code "2"

P: 1
I am getting the following error while deploying a simple Java Stored Procedure. I am using db2 8 and using the IBM Data Studio. I am new to DB2. Your help will be apreciated.


CHETR.PROCEDURE1 - Deploy started.

CHETR.PROCEDURE1 - Created temporary working directory C:\PROJECTS\IBM\TEST3\workspace\.metadata\.plugins \com.ibm.datatools.db2.routines.deploy.ui\bld12266 88205679.

C:\Program Files\IBM\DSADM1.2\jdk\bin\javac -classpath ".;C:\Program Files\IBM\DS12Shared\plugins\com.ibm.datatools.sql j.translator_1.0.101.v200807011459\sqlj.zip;C:\Pro gram Files\IBM\DS12Shared\plugins\com.ibm.datatools.db2 _1.0.201.v200807111732\driver\db2jcc.jar;C:\Progra m Files\IBM\DS12Shared\plugins\com.ibm.datatools.db2 _1.0.201.v200807111732\driver\db2jcc_license_cisuz .jar" -source 1.4 -target 1.4 CHETR\MyPackage\PROCEDURE1.java

CHETR.PROCEDURE1 - Javac completed.

C:\Program Files\IBM\DSADM1.2\jdk\bin\jar cf spjar.jar CHETR\MyPackage\PROCEDURE1.class

CHETR.PROCEDURE1 - Jar file created.

Call SQLJ.DB2_INSTALL_JAR (<<C:\PROJECTS\IBM\TEST3\workspace\.metadata\.plug ins\com.ibm.datatools.db2.routines.deploy.ui\bld12 26688205679\spjar.jar>>, 'CHETR.PROCEDURE1', 0)

Java or .NET interpreter startup or communication failed, reason code "2".. SQLCODE=-4301, SQLSTATE=58004, DRIVER=3.52.90

CHETR.PROCEDURE1 - Removed temporary working directory C:\PROJECTS\IBM\TEST3\workspace\.metadata\.plugins \com.ibm.datatools.db2.routines.deploy.ui\bld12266 88205679.

CHETR.PROCEDURE1 - Deploy failed.

CHETR.PROCEDURE1 - Roll back completed successfully.
Nov 14 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.