| Author | 
		  Message
		 | 
		
		  | Keka | 
		  
		    
			  
				 Posted: Fri Jan 03, 2003 12:53 pm    Post subject: Can I cpnnect to Qmnager in MQ binding mode with jDK 1.4?? | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 28 Dec 2002 Posts: 96
  
  | 
		  
		    
			  
				Hi All,
 
 
 I got an error while trying to connect to the QueueManager using Java interface in bindings mode. When I searched for that error on IBM site, I found the exact same error information in the FAQ. I am pasting that FAQ here.
 
The only different between this and my problem is I am running on HP Unix and I have JDK 1.4 installed.
 
 
 
FAQ
 
Question:
 
Running the MQ Java product on my Compaq (DEC) OVMS system, why do I get the error: Exception in thread main java.lang.UnsatisfiedLinkError: no mqjbnd01 in java.library.path?
 
 
A: The most likely cause is having the wrong Java JDK version installed on your system. Currently, version 1.1.8 is the only supported version.
 
In running MQ Java bindings mode with Compaq JDK 1.2.2 and 1.3, unlike other platforms, the various JDKs supply a shareable image (Java JAVA_SHR.EXE) which is not compatible with the MQ shareable image (MQJBND01) linked with JDK 1.1.8. Use JDK 1.1.8 for bindings mode. It may be possible to use JDK 1.3 for client mode connections yet this has not been tested.
 
 
So My questions is,
 
 
 Does this mean I cannot run a Java application to connect to  the Qmanager on HpUnix  if I have a javaversion 1.4??
 
Please correct/clarify my doubt.
 
 
thanks
 
keka _________________ Keka | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | nimconsult | 
		  
		    
			  
				 Posted: Sun Jan 05, 2003 11:33 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium 
  | 
		  
		    
			  
				I may be wrong but if you are trying to work with mqjbnd01 it probably means that you have an old version of the MQ Series classes for Java.
 
 
You should download and install a newer version of these classes (in support pac MA88).
 
 
(If you are working with WMQ 5.3 the MQ Series classes for java are part of the standard package). _________________ Nicolas Maréchal  
 
Senior Architect - Partner
 
 
NIMCONSULT Software Architecture Services (Belgium)
 
http://www.nimconsult.be | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Mon Jan 06, 2003 7:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				I just took a quick look at MA88.  It states the following:
 
 
Supported Java Development Kit versions: 
 
 
AIX - IBM Software Development Kit (SDK) 1.3.1 
 
HP-UX 10-20 - HP-UX SDK 1.1.8 
 
HP-UX 11 - HP-UX SDK 1.3.1 
 
iSeries - IBM SDK 1.2.2 and 1.3.0 
 
Linux - IBM SDK 1.3.1 
 
OS/390 or z/OS - IBM SDK 1.3.1 
 
Solaris - Sun SDK 1.3.1 
 
Windows 95, 98, NT, 2000 - IBM SDK 1.3.0 
 
 
Here is a direct link:
 
 
http://www-3.ibm.com/software/ts/mqseries/txppacs/ma88.html | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Mon Jan 06, 2003 7:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Keka | 
		  
		    
			  
				 Posted: Mon Jan 06, 2003 12:20 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 28 Dec 2002 Posts: 96
  
  | 
		  
		    
			  
				So if I am using MQ 5.1 and Java 5.4, It will not work??
 
How do I know which support pack I am using??
 
 
thanks
 
kiran _________________ Keka | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Mon Jan 06, 2003 1:57 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				Do an swlist and look out for JAVA
 
 
---
 
Venny | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Tue Jan 07, 2003 11:16 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				| If you are truly running MQSeries 5.1, then it may or may not work.  But it is definitely not supported.  You need to move your MQ forward. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | anderc1 | 
		  
		    
			  
				 Posted: Wed Jan 08, 2003 7:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 11 Sep 2002 Posts: 55 Location: Research Triangle Park, NC 
  | 
		  
		    
			  
				| We have similar problem on AIX 4.3 MQ5.2 with MA88 and JDK 1.3.1 I believe. Binding mode wouldn't work. Call to IBM, response was "It's a bug" with a convoluted work around. Call IBM and if it is the same bug then they will send you the same convoluted work around. We are using client connections as a bandaid until we can decifer and possibly implement IBM's bandaid. This may be a UNIX thing as bindings work fine in the Windows world with MA88 and current JDK. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Wed Jan 08, 2003 8:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
			  
				I would guess that the bug that you are mentioning is the 'segment 8' problem.  Personally, I would have called it a limitation.  Regardless, with WebSphere MQ 5.3, you can get around this by using extended shared memory.  You'll basically run with EXTSHM=ON set and life will be good.
 
 
This problem only showed up on AIX. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bmccarty | 
		  
		    
			  
				 Posted: Thu Jan 23, 2003 8:40 am    Post subject: We need to set EXTSHM=ON, but have a question... | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 18 Dec 2001 Posts: 43
  
  | 
		  
		    
			  
				I need to use the EXTSHM=ON; however, I don't understand if this environment variable needs to be set for every user that executes an MQ application, or just the user that starts the queue manager.
 
 
The deal is that we have MANY different users that connect programs to queue managers that only start/run under mqm.  It would be kind of a pain to go out and set the environment variable for every user's profile.
 
 
Alternatively, can we just set it at the system level somehow?
 
 
Please let me know what you think if you got a minute...
 
 
BMMc. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |