Hi everybody,
I have several stored procedure developped in Java that ran fine when
I was in DB2 7.2 FP6 (on Windows) but since I have passed the FP11,
I'm not able to call any of my stored procedure or call an
install_JAR, replace_jar or whatever.
I always get the following error :
SQL1131N DARI (Stored Procedure) process has been terminated
abnormally. SQLSTATE=38503
and a Dr Watson is raised.
I have read many post on this forum for a similar problem but any of
the solution suggested have worked.
In fact at the beginning I got the error SQL4304N with errorCode4, so
I have installed JDK1.2.1 and I have updated my DBM CFG like this :
db2set DB2_USE_JDK12=1
db2 update dbm cfg using JDK11_PATH c:\jdk1.2.1
db2stop
db2start
and now i got the error SQL1131N with Dr Watson...
does someone have the solution?
I have set my classpath, path and java_home to refers to c:\jdk1.2.1
first but I have several jdk installed on my computer...
Thanks for your help 6 2434
What's the build date of the JDK (java -fullversion)? A good first step
would be to make sure you have the most recent.
gaetan wrote: Hi everybody,
I have several stored procedure developped in Java that ran fine when I was in DB2 7.2 FP6 (on Windows) but since I have passed the FP11, I'm not able to call any of my stored procedure or call an install_JAR, replace_jar or whatever.
I always get the following error : SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503 and a Dr Watson is raised.
I have read many post on this forum for a similar problem but any of the solution suggested have worked. In fact at the beginning I got the error SQL4304N with errorCode4, so I have installed JDK1.2.1 and I have updated my DBM CFG like this :
db2set DB2_USE_JDK12=1 db2 update dbm cfg using JDK11_PATH c:\jdk1.2.1 db2stop db2start
and now i got the error SQL1131N with Dr Watson...
does someone have the solution? I have set my classpath, path and java_home to refers to c:\jdk1.2.1 first but I have several jdk installed on my computer...
Thanks for your help
I suggest not to install multiple JDK 's versions on the same computer. It's
the best way to loose control of the situation.
You should keep using the JDK installed by IBM in the SQLLIB directory. The
SQL4304N with errorCode4 suggested a problem with your classpath. Has it
been corrupted ?
Hth,
Jean-Marc
"gaetan" <ga******@hotma il.com> a écrit dans le message de
news:7b******** *************** ***@posting.goo gle.com... Hi everybody,
I have several stored procedure developped in Java that ran fine when I was in DB2 7.2 FP6 (on Windows) but since I have passed the FP11, I'm not able to call any of my stored procedure or call an install_JAR, replace_jar or whatever.
I always get the following error : SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503 and a Dr Watson is raised.
I have read many post on this forum for a similar problem but any of the solution suggested have worked. In fact at the beginning I got the error SQL4304N with errorCode4, so I have installed JDK1.2.1 and I have updated my DBM CFG like this :
db2set DB2_USE_JDK12=1 db2 update dbm cfg using JDK11_PATH c:\jdk1.2.1 db2stop db2start
and now i got the error SQL1131N with Dr Watson...
does someone have the solution? I have set my classpath, path and java_home to refers to c:\jdk1.2.1 first but I have several jdk installed on my computer...
Thanks for your help
Hi,
Thanks for your replies. That's right that i shouldn't have multiple
JDK installed on my computer but it was working fine with FP6.
Moreover, in fixpak 11, IBM has removed is jdk12 under
SQLLIB\java...s o I have installed this version : java full version
"JDK-1.2.1_004"
Because as far as i know this is the last release supported by DB2.
In fact, I have insulated a little bit more the problem. I seems that
it comes from the db2java.zip used with usejdbc2.bat because if I go
back to usejdb1, I can call some stored procedure successfully but not
the ones that return a ResultSet...
any idea?
Thanks a lot for your help
A 1.2.1 jdk is very old...you should move up to the most recent 1.2.2
jdk you can find.
I forgot that some jdks do not show the date of the build on
fullversion...t ry 'java -version' you should see something like:
"Classic VM (J2RE 1.2.2 IBM build ca122-20001206a (JIT enabled: jitc))"
The date is December of 2000...I think that was the last jvm patch put
out on 1.2.2.
gaetan wrote: Hi,
Thanks for your replies. That's right that i shouldn't have multiple JDK installed on my computer but it was working fine with FP6. Moreover, in fixpak 11, IBM has removed is jdk12 under SQLLIB\java...s o I have installed this version : java full version "JDK-1.2.1_004" Because as far as i know this is the last release supported by DB2.
In fact, I have insulated a little bit more the problem. I seems that it comes from the db2java.zip used with usejdbc2.bat because if I go back to usejdb1, I can call some stored procedure successfully but not the ones that return a ResultSet...
any idea?
Thanks a lot for your help
Hi,
Thanks for your help.
In fact, i use the jdk build by sun (i cannot find where to download
the jdk build by ibm as far as the removed it with the Fixpak 11).
So java -version returns the information below:
java version "1.2.2"
Classic VM (build JDK-1.2.2_017, native threads, symcjit)
With that version, i'm not able to call stored procedures which return
a ResultSet...
thanks
Ok, but you're getting further now. :-) What's the error returned when
you try to call an sp that returns a result set?
gaetan wrote: Hi,
Thanks for your help.
In fact, i use the jdk build by sun (i cannot find where to download the jdk build by ibm as far as the removed it with the Fixpak 11).
So java -version returns the information below: java version "1.2.2" Classic VM (build JDK-1.2.2_017, native threads, symcjit)
With that version, i'm not able to call stored procedures which return a ResultSet...
thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Reddin |
last post by:
Hi,
(V8.1 FP2)
Trying to run SQLJ.INSTALL_JAR, we get the following error
SQL1131N DARI (Stored Procedure) process has been terminated abnormally.
SQLSTATE=38503
Not sure why this has started failing now (we did upgrade to fp2 fairly
|
by: N.V.Dev |
last post by:
Hi,
I am trying to use the db2load API using C. During run-time below is
the error message thrown
call utils.load_table('util.temp')
SQL1131N DARI (Stored Procedure) process has been terminated
abnormally.
SQLSTATE=38503
|
by: Jack |
last post by:
I am trying to get javamail running with DB2 and am running into a
problem with the sqlj.install_jar. When I go to install the jar, I
get a SQL1131 error message which is unhelpful. This is a fresh DB2
install and the first jar file I've tried to install on this system.
This is one the command I am issuing:
call sqlj.install_jar('file:/home/db2inst1/jaf-1.0.2/activation.jar','ACTIVATION')
This is running on:
Linux RHEL AS 3 update 1,
|
by: dromuss via DBMonster.com |
last post by:
I have a problem registering Stored Procedures.
I tried diferent stored procedure and non of them work.
Not even an empty stored procedure like the following:
CREATE PROCEDURE DB2INST1.PRUEBA ()
LANGUAGE SQL
BEGIN
END
|
by: Michel Esber |
last post by:
Hello,
DB2 V7 FP 13 running on Linux.
We have developed a C++ shared library that will be called by a db2
stored procedure. Every time my developers generate a new .so shared
library, I copy it to /home/db2inst1/sqllib/functions/ and then run a
test applications that calls the stored proc. I also run a "bind
file.bnd blocking all grant public". The first execution of the
procedure (after the .so has been replaced) always fails with...
| |
by: annhere |
last post by:
Hi we have a certain SQL script. From that script we have calls like:
DROP FUNCTION A@
call sqlj.remove_jar( 'AXML')@
CALL SQLJ.REFRESH_CLASSES()@
call sqlj.install_jar( 'file:C:\AXML.jar', 'AXML' )@
CALL SQLJ.REFRESH_CLASSES()@
CREATE FUNCTION A(xml VARCHAR(3000),type VARCHAR(3000))
RETURNS VARCHAR(3000)
EXTERNAL NAME 'AXML:com.AConvertXML.convertXML'
LANGUAGE JAVA
|
by: tol7481 |
last post by:
Hi,
I'm trying to deploy a Java stored procedure on DB2 V8 on a Linux box,
but I have some problems.
I've added to the classpath the following JARs
sqllib/java/db2java.zip
sqllib/java/db2jcc.jar
sqllib/java/db2jcc_license_cu.jar
sqllib/java/sqlj.zip
|
by: ravindrag |
last post by:
Hi,
I am getting error SQL1131N during sqlj.install_jar(...). There is no useful message in the diag.log (even with diag level 4). I am giving the diag.log entries at the end of this posting (would have been ideal if there was an option to attach the file).
command:
db2 call sqlj.install_jar('file:/home/xyz/abc.jar','def.abc')
response:
SQL1131N DARI (Stored Procedure) process has been terminated abnormally.
SQLSTATE=38503
|
by: taisho |
last post by:
HP-UX, DB2v9, Java 1.4.2.13
I attempt to install a stored procedure via SQLJ.install and get the following:
db2 "call SQLJ.install_jar('file:/opt/IBM/DB2TOOLS/grp_dir/grouper/server/sp/db2v8/EGFSPROC.jar', 'EGFSPROC.EGFSPROC')"
SQL1131N DARI (Stored Procedure) process has been terminated abnormally.
SQLSTATE=38503
I've read several posting some regarding memory overflow for too large result set or errant code behaviore in the SP. I...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |