473,499 Members | 1,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error running SQLJ.INSTALL_JAR

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
recently, so don't know if there is something that needs rebinding?)

The trouble is, it doesn't log any messages to give us a clue as to
what the internal problem is ?

Can we by-pass this CALL completely by simply manually copying the JAR files into
sqllib/function/jar/INSTANCE

ourselves, or is there something else this Proc. does ?
PS. why is it in schema SQLJ anyway? and why is it not present in SYSCAT.PROCEDURES?

Thanks.

Paul.
Nov 12 '05 #1
4 5035
Ah Paul, so many questions. :-)

Answers inline.

Paul Reddin wrote:
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
recently, so don't know if there is something that needs rebinding?)

The trouble is, it doesn't log any messages to give us a clue as to
what the internal problem is ? Do you get a trap file in the db2dump directory? If not, can you email
me a server side trace?
Can we by-pass this CALL completely by simply manually copying the JAR files into
sqllib/function/jar/INSTANCE The problem will be that you won't be able to create the procedure using
a jar file in the external name...on the create of a parm style java
stored proc, we acutally validate that the jar entry exists in the
sysjar schemas, and look at the jar for the class that's specified. This
is part of the sqlj part 1 spec (see below).

ourselves, or is there something else this Proc. does ?
PS. why is it in schema SQLJ anyway? and why is it not present in SYSCAT.PROCEDURES? This was done as part of SQLJ part 1 (java standards...see www.sqlj.org
for more info). We can't catalog it because it does funny things to the
sp parameters, such as materializing the first parm (url) into a blob if
the jar file lives on the client system. At some point we want to deploy
a version called db2_install_jar or the like that will take the lob parm
directly, live in the system catalogs, and be compilable etc.

Thanks.

Paul.


Nov 12 '05 #2
Some were ponderings rather than questions directly! :-)
- Thanks for all the answers.

- It's great to get immediate feedback on this as it is really
hindering our progress.

We have now solved the problem (to a point).

The issue seems to be that SQLJ.INSTALL_JAR does not work
when we use JDK 1.4.1 (which we need to use for JAVA Regular
Expression support)

So having reset JDK_PATH=/opt/IBMJava2-131, we are able to run
it succesfully!

However, having run successfully, we we now change back to
JDK_PATH=/opt/IBMJava2-141, to be able to run our UDFs, and we get
two dbfmp processes which spin-off running @ 100% CPU and never
come back (query never ends) ???

We know the UDFs work under 1.4.1, as they are runnning fine on
another machine (with JDK_PATH=/opt/IBMJava2-141, which was created
from a backup/restore of the database which is now not working).

So, may be running of INSTALL_JAR with 1.3.1 is not compatible with
actually
running the UDFs with 1.4.1 ??

This is really hurting my head, I thought Java was meant to get away
from all these inter-dependencies, it just seems to be worse! :-(

Thanks again.

Paul.


Sean McKeough <mc******@nospam.ca.ibm.com> wrote in message news:<bo**********@hanover.torolab.ibm.com>...
Ah Paul, so many questions. :-)

Nov 12 '05 #3
Paul,

The only thing that we do on install_jar in a db2fmp, is read out this
list of classes for the jar that's being installed. Other than that,
there should be no lingering effect on the system, when the JDK is
changed (unless we somehow got back a bad list of classes with the 1.3
jdk, but I'd find that very surprising)...

Are you _sure_ the JDK is at the same level on both systems (the one
that works, vs this one)? I had seen problems on early jdk levels with
the jvm starting, and to me it sounds like this is what you were seeing
both for the install_jar, and maybe for this hanging problem (hung on a
severe trap?!?)...

BTW, I was able to run install_jar on a windows box, and AIX box with
the IBM 1.4.1 jdks...both the jvm builds were pretty recent. I'm also
aware of a problem with 1.4.1 SUN jvms where poll is being used too
frequently, and the CPU use in idle fmps is high (being investigated by
SUN)...

Paul Reddin wrote:
Some were ponderings rather than questions directly! :-)
- Thanks for all the answers.

- It's great to get immediate feedback on this as it is really
hindering our progress.

We have now solved the problem (to a point).

The issue seems to be that SQLJ.INSTALL_JAR does not work
when we use JDK 1.4.1 (which we need to use for JAVA Regular
Expression support)

So having reset JDK_PATH=/opt/IBMJava2-131, we are able to run
it succesfully!

However, having run successfully, we we now change back to
JDK_PATH=/opt/IBMJava2-141, to be able to run our UDFs, and we get
two dbfmp processes which spin-off running @ 100% CPU and never
come back (query never ends) ???

We know the UDFs work under 1.4.1, as they are runnning fine on
another machine (with JDK_PATH=/opt/IBMJava2-141, which was created
from a backup/restore of the database which is now not working).

So, may be running of INSTALL_JAR with 1.3.1 is not compatible with
actually
running the UDFs with 1.4.1 ??

This is really hurting my head, I thought Java was meant to get away
from all these inter-dependencies, it just seems to be worse! :-(

Thanks again.

Paul.


Sean McKeough <mc******@nospam.ca.ibm.com> wrote in message news:<bo**********@hanover.torolab.ibm.com>...
Ah Paul, so many questions. :-)


Nov 12 '05 #4
Sean,

Thanks for the feedback again.

Yesterday, we managed to install the UDFs on yet another Linux Box,
and this worked! i.e install_jar and UDFs both run correctly with
JDK1.4.1

So, out of 4 servers we now have the following:
2 work & 2 don't.

So it is looking like there is a combination of Linux & JVM level that
isn't
working.

Interestingly, the two that work are Single CPU runnning RedHat 7.3,
the two that don't are 2x CPU RedHat AS 2.1.

So, in conclusion, we are investigating the Linux,JVM combinations to
get this working consistently.

Thanks for all your help.

Paul.
Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1509
by: Bernard Dhooghe | last post by:
DB2 UDB V8.1 Fixpak 4 AIX 5.1 CLASSPATH: /usr/opt/db2_08_01/java/db2jcc.jar:/usr/opt/db2_08_01/java/db2jcc_license_cu.jar:/usr/opt/db2_08_01/java/sqlj.zip:/usr/java131/jre/lib/rt.jar: Program:...
10
4062
by: Raquel | last post by:
UDB PE 8.1 on Win XP. ok, this function caused a lot of grief today. My stored procedures are java stored procedures, all FENCED and directly placed in \sqllib\function directory (not built into...
2
1515
by: Raquel | last post by:
UDB V8.1.3 on XP. While trying out SQLj procedures, I just 'compile' my stored procedure code (by command sqlj program-name.sqlj) and run it. That's it. So, how and when is db2profc and all the...
7
2327
by: Jean-Marc Blaise | last post by:
Hi, The dev center calls sqlj.DB2_UPDATEJARINFO ('JMARC.JMB','JMB','file:JMB.sqlj') to update the sqlj routine source. I tried in CLP from the directory containing jar and sqlj files (Windows...
4
2484
by: tomtailor | last post by:
Hello! I try to create a Java Procedure in DB2 running under SuSE 9.3. But the install_jar command fails with: Error 58004 Error starting the Java Interpeter. a db2set -all command results...
3
3287
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...
0
1015
by: mzhang | last post by:
Hi, Can anyone help? I'm kind stuck. I have db2 workgroup 8.2 on RHEL 4.0, java 1.4.2. Here is the errors db2 " call sqlj.install_jar ('file:/home/int24/vap/phx/vap/storedProc.jar', ...
1
3455
by: vasilip | last post by:
I'm trying to insert large polygon data via sql statement. since the data was over 32k I had to use sqlj to insert my data. I made a class that inserts the data. ran sqlj, generated the .java...
0
1244
by: ajitkathar | last post by:
In my SQLJ procedure , there is call to another stored procedure using a callable statement. But during excecution when .excute() happens . . the DB2 V7 database shuts down. Plz help. Follwing...
0
7178
Oralloy
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,...
1
6899
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...
0
7390
tracyyun
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...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.