Pb with Krakatoa on Linux
Posted in 2007
Topics: Installation, Setup & Upgrades, Platform-Specific Issues, Java & JDBC Development
Hi,
I am inserting a JAR in Cheetah and I get:
SQL Error (-9431): Can't find system class or method or library
(/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so).
Just after executing:
EXECUTE PROCEDURE sqlj.install_jar( 'file:/tmp/statbuilder.jar','statbuilder', 0);
Of course, (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so exists,
Informix has the right to play with it.
If I run:
geo:/opt/IBM/informix/extend/krakatoa/jre/bin # ./java -version
I get:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20060824 (SR6) (JIT
enabled: jitc))
(ok it's a little lite for a Java test, but.)
Any help would be. .helpful (ok, it's Friday here).
Thanks!
jgp
Hi,
Look at your onconfig parameters such as JVPJAVAVM and JVPJAVALIB and make
sure they match exactly the values in onconfig.std for your platform.
Regards
Guy
----- Original Message ----
From: Jean Georges Perrin <jgp@jgp.net>
To: ids@iiug.org
Sent: Friday, July 6, 2007 9:09:17 AM
Subject: Pb with Krakatoa on Linux [9526]
Hi,
I am inserting a JAR in Cheetah and I get:
SQL Error (-9431): Can't find system class or method or library
(/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so).
Just after executing:
EXECUTE PROCEDURE sqlj.install_jar( 'file:/tmp/statbuilder.jar','statbuilder', 0);
Of course, (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so exists,
Informix has the right to play with it.
If I run:
geo:/opt/IBM/informix/extend/krakatoa/jre/bin # ./java -version
I get:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20060824 (SR6) (JIT
enabled: jitc))
(ok it's a little lite for a Java test, but.)
Any help would be. .helpful (ok, it's Friday here).
Thanks!
jgp
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
________________________________________________________________________________
____
Building a website is a piece of cake. Yahoo! Small Business gives you all the
tools to get online.
http://smallbusiness.yahoo.com/webhosting
Thanks Guy...
JVPJAVAVM jsig:hpi:jvm:java:net:zip:jpeg
JVPJAVALIB /bin
Seems to be okay...
I am investigation the ld.so.conf.d...
> -----Original Message-----
> From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Guy .
> Sent: Friday, July 06, 2007 18:51
> To: ids@iiug.org
> Subject: Re: Pb with Krakatoa on Linux [9527]
>
> Hi,
>
> Look at your onconfig parameters such as JVPJAVAVM and JVPJAVALIB and
> make
> sure they match exactly the values in onconfig.std for your platform.
>
> Regards
> Guy
>
> ----- Original Message ----
> From: Jean Georges Perrin <jgp@jgp.net>
> To: ids@iiug.org
> Sent: Friday, July 6, 2007 9:09:17 AM
> Subject: Pb with Krakatoa on Linux [9526]
>
> Hi,
>
> I am inserting a JAR in Cheetah and I get:
>
> SQL Error (-9431): Can't find system class or method or library
> (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so).
>
> Just after executing:
> EXECUTE PROCEDURE sqlj.install_jar( 'file:/tmp/statbuilder.jar',> 'statbuilder', 0);
>
> Of course, (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so exists,
> Informix has the right to play with it.
>
> If I run:
> geo:/opt/IBM/informix/extend/krakatoa/jre/bin # ./java -version
>
> I get:
> java version "1.4.2"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
> Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20060824 (SR6)
> (JIT
> enabled: jitc))
>
> (ok it's a little lite for a Java test, but.)
>
> Any help would be. .helpful (ok, it's Friday here).
>
> Thanks!
>
> jgp
>
>
> ***********************************************************************
> ********
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
> _______________________________________________________________________
> _____________
> Building a website is a piece of cake. Yahoo! Small Business gives you
> all the
> tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
>
> ***********************************************************************
> ********
> Forum Note: Use "Reply" to post a response in the discussion forum.
Hi,
Please refer to the Java configuration requirements listed in the release
notes of your installed product. There are some additional Linux
configuration steps in order to get Java UDRs working.
Regards,
Vinayak
"Guy ." <gbowerman@yahoo.com>
Sent by: ids-bounces@iiug.org
07/06/2007 09:50 AM
Please respond to
ids@iiug.org
To
ids@iiug.org
cc
Subject
Re: Pb with Krakatoa on Linux [9527]
Hi,
Look at your onconfig parameters such as JVPJAVAVM and JVPJAVALIB and make
sure they match exactly the values in onconfig.std for your platform.
Regards
Guy
----- Original Message ----
From: Jean Georges Perrin <jgp@jgp.net>
To: ids@iiug.org
Sent: Friday, July 6, 2007 9:09:17 AM
Subject: Pb with Krakatoa on Linux [9526]
Hi,
I am inserting a JAR in Cheetah and I get:
SQL Error (-9431): Can't find system class or method or library
(/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so).
Just after executing:
EXECUTE PROCEDURE sqlj.install_jar( 'file:/tmp/statbuilder.jar','statbuilder', 0);
Of course, (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so exists,
Informix has the right to play with it.
If I run:
geo:/opt/IBM/informix/extend/krakatoa/jre/bin # ./java -version
I get:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20060824 (SR6)
(JIT
enabled: jitc))
(ok it's a little lite for a Java test, but.)
Any help would be. .helpful (ok, it's Friday here).
Thanks!
jgp
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
________________________________________________________________________________
____
Building a website is a piece of cake. Yahoo! Small Business gives you all
the
tools to get online.
http://smallbusiness.yahoo.com/webhosting
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
What I found is:
6. J/Foundation (Java in the Server):
J/Foundation supports the JRE 1.4.2 release from IBM Corporation, which
uses
the Linux native threads based Java Virtual Machine.
JRE 1.4.2 is available under $INFORMIXDIR/extend/krakatoa/jre and should
be
used with J/Foundation. To use this JRE, specify the ONCONFIG setting
JVPJAVAHOME as shown below:
JVPJAVAHOME <jvphome>/jre
where <jvphome> is $INFORMIXDIR/extend/krakatoa
For developing Javaudrs used with J/Foundation, use the JDK 1.4.2
release
which can be downloaded from:
http://www-106.ibm.com/developerworks/java/jdk/eclipse/
For IBM Informix Dynamic Server ONCONFIG settings for J/Foundation,
refer to "onconfig.std" in $INFORMIXDIR/etc.
Please check the following web site for the latest Linux system requirements
for IBM Informix Dynamic Server:
http://www-306.ibm.com/software/data/informix/linux/ids.html
I must admit it is not super-clear about what I need to do... ;-)
> -----Original Message-----
> From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Vinayak Shenoi
> Sent: Friday, July 06, 2007 20:22
> To: ids@iiug.org
> Subject: Re: Pb with Krakatoa on Linux [9529]
>
> Hi,
>
> Please refer to the Java configuration requirements listed in the
> release
> notes of your installed product. There are some additional Linux
> configuration steps in order to get Java UDRs working.
>
> Regards,
> Vinayak
>
> "Guy ." <gbowerman@yahoo.com>
> Sent by: ids-bounces@iiug.org
> 07/06/2007 09:50 AM
> Please respond to
> ids@iiug.org
>
> To
> ids@iiug.org
> cc
>
> Subject
> Re: Pb with Krakatoa on Linux [9527]
>
> Hi,
>
> Look at your onconfig parameters such as JVPJAVAVM and JVPJAVALIB and
> make
>
> sure they match exactly the values in onconfig.std for your platform.
>
> Regards
> Guy
>
> ----- Original Message ----
> From: Jean Georges Perrin <jgp@jgp.net>
> To: ids@iiug.org
> Sent: Friday, July 6, 2007 9:09:17 AM
> Subject: Pb with Krakatoa on Linux [9526]
>
> Hi,
>
> I am inserting a JAR in Cheetah and I get:
>
> SQL Error (-9431): Can't find system class or method or library
> (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so).
>
> Just after executing:
> EXECUTE PROCEDURE sqlj.install_jar( 'file:/tmp/statbuilder.jar',> 'statbuilder', 0);
>
> Of course, (/opt/IBM/informix/extend/krakatoa/jre/bin/libhpi.so exists,
> Informix has the right to play with it.
>
> If I run:
> geo:/opt/IBM/informix/extend/krakatoa/jre/bin # ./java -version
>
> I get:
> java version "1.4.2"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
> Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20060824 (SR6)
> (JIT
> enabled: jitc))
>
> (ok it's a little lite for a Java test, but.)
>
> Any help would be. .helpful (ok, it's Friday here).
>
> Thanks!
>
> jgp
>
>
> ***********************************************************************
> ********
>
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
> _______________________________________________________________________
> _____________
>
> Building a website is a piece of cake. Yahoo! Small Business gives you
> all
> the
> tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
>
> ***********************************************************************
> ********
>
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
> ***********************************************************************
> ********
> Forum Note: Use "Reply" to post a response in the discussion forum.