ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java.library.path

Post new topic  Reply to topic
 java.library.path « View previous topic :: View next topic » 
Author Message
mkitclr
PostPosted: Fri Jul 22, 2011 6:35 am    Post subject: java.library.path Reply with quote

Novice

Joined: 19 May 2011
Posts: 16

The Java Exception information is 'java.lang.UnsatisfiedLinkError: ocijdbc10 (Not found in java.library.path)'. : RMSHABR1.eedaaf4c-3101-0000-0080-82ade96b0049: /build/S700_P/src/DataFlowEngine/ImbRdl/ImbRdlExternalJava.cpp: 1258: SqlExternalJavaMethod::executeJavaMethod: :

here is the profile
export CLASSPATH=$CLASSPATH:/oracle/home/oracle/product/10.2.0/client/jdbc/lib/ojdbc14.jar

we are MB7.0.0.2, MQ 7.0.1.3, Oracle RAC 10.2.0

don't know why it is looking for ocijdbc10, have anybody got this kind of error..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 22, 2011 7:25 am    Post subject: Re: java.library.path Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mkitclr wrote:
The Java Exception information is 'java.lang.UnsatisfiedLinkError: ocijdbc10 (Not found in java.library.path)'. : RMSHABR1.eedaaf4c-3101-0000-0080-82ade96b0049: /build/S700_P/src/DataFlowEngine/ImbRdl/ImbRdlExternalJava.cpp: 1258: SqlExternalJavaMethod::executeJavaMethod: :

here is the profile
export CLASSPATH=$CLASSPATH:/oracle/home/oracle/product/10.2.0/client/jdbc/lib/ojdbc14.jar

we are MB7.0.0.2, MQ 7.0.1.3, Oracle RAC 10.2.0

don't know why it is looking for ocijdbc10, have anybody got this kind of error..


This has nothing to do with the CLASSPATH.
You might want to look at your LD_LIBRARY_PATH variable.
My guess is you are missing either the library path for the DB client, or have a bad or missing DB client install.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mkitclr
PostPosted: Fri Jul 22, 2011 9:04 am    Post subject: java.library.path Reply with quote

Novice

Joined: 19 May 2011
Posts: 16

#!/bin/ksh

. /opt/ibm/mqsi/7.0/bin/mqsiprofile
export PATH=/HA:$PATH
export ORACLE_BASE=/oracle/home
export ORACLE_HOME=$ORACLE_BASE/oracle/product/10.2.0/client
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export ODBCINI=/opt/ibm/mqsi/7.0/DD64/.odbc.ini
export MQSI_LILPATH=/opt/ibm/mqsi/7.0/lil:/opt/ibm/mqsi/7.0/jplugin



ls -l /oracle/home/oracle/product/10.2.0/client/lib/liboci*
-rw-rw-r-- 1 orahome oinstall 138033 Feb 6 2008 /oracle/home/oracle/product/10.2.0/client/lib/libocijdbc10.so
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 22, 2011 10:37 am    Post subject: Re: java.library.path Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mkitclr wrote:
#!/bin/ksh

. /opt/ibm/mqsi/7.0/bin/mqsiprofile
export PATH=/HA:$PATH
export ORACLE_BASE=/oracle/home
export ORACLE_HOME=$ORACLE_BASE/oracle/product/10.2.0/client
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export ODBCINI=/opt/ibm/mqsi/7.0/DD64/.odbc.ini
export MQSI_LILPATH=/opt/ibm/mqsi/7.0/lil:/opt/ibm/mqsi/7.0/jplugin



ls -l /oracle/home/oracle/product/10.2.0/client/lib/liboci*
-rw-rw-r-- 1 orahome oinstall 138033 Feb 6 2008 /oracle/home/oracle/product/10.2.0/client/lib/libocijdbc10.so

You sure you don't need rx for all as permission for your so files?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mkitclr
PostPosted: Fri Jul 22, 2011 10:59 am    Post subject: java.library.path Reply with quote

Novice

Joined: 19 May 2011
Posts: 16

Yes..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java.library.path
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.