|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  java.library.path | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | mkitclr | 
		  
		    
			  
				 Posted: Fri Jul 22, 2011 6:35 am    Post subject: java.library.path | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Jul 22, 2011 7:25 am    Post subject: Re: java.library.path | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mkitclr | 
		  
		    
			  
				 Posted: Fri Jul 22, 2011 9:04 am    Post subject: java.library.path | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Jul 22, 2011 10:37 am    Post subject: Re: java.library.path | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mkitclr | 
		  
		    
			  
				 Posted: Fri Jul 22, 2011 10:59 am    Post subject: java.library.path | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 19 May 2011 Posts: 16
  
  | 
		  
		    
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |