|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| [solved] Problems connecting workflow from Linux-Client | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | legux | 
			  
				|  Posted: Mon Apr 16, 2007 6:51 am    Post subject: [solved] Problems connecting workflow from Linux-Client |   |  |  
		  | Novice
 
 
 Joined: 14 Nov 2005Posts: 18
 
 
 | 
			  
				| Hi. I have installed MQ Workflow 3.6 on Windows 2k3 Server System.
 Now I'm trying to run the MQ-WebClient (fmcohcli.war) on an Tomcat, which is installed on a Linux 64Bit-Server with mqseries 6.0.1.0 installed.
 
 The Configuration with com.ibm.workflow.config.JACA  was successful and the Queue Manager starts without an error.
 
 I deployed the fmcohcli.war on tomcat and tried to logon.
 
 The first error i get is an UnsatisfiedLinkError: no libmqjbnd05 in java.library.path as posted in this thread: http://www.mqseries.net/phpBB2/viewtopic.php?t=28942&highlight=unsatisfiedlinkerror
 
 So i tried to set the env-Variable:
 LD_LIBRARY_PATH=/opt/mqm/java/lib/
 but this doesn't work. I also tried to set LD_LIBRARY_PATH=/opt/mqm/java/lib64/  but it had the same effect.
 
 The next error i get is an
 java.lang.NoClassDefFoundError: Could not initialize class com.ibm.mq.server.MQSESSION
 com.ibm.workflow.servlet.client.ClientException
 java.lang.NoClassDefFoundError: Could not initialize class com.ibm.mq.server.MQSESSION
 
 at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70)
 
 Now I'm a bit confused, because the Class MQSESSION is in the directory shared/lib of tomcat.
 
 Can anyone help me to solve this problem?
 
 Thanks for your help,
 Steffen
 
 Last edited by legux on Wed Apr 18, 2007 10:06 am; edited 1 time in total
 |  |  
		  | Back to top |  |  
		  |  |  
		  | jmac | 
			  
				|  Posted: Mon Apr 16, 2007 10:10 am    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 27 Jun 2001Posts: 3081
 Location: EmeriCon, LLC
 
 | 
			  
				| Steffen: 
 I have not done this on Linux... but the messages you are seeing are ones I generally see when there is not proper access to all of the MQ Series jar files.
 _________________
 John McDonald
 RETIRED
 |  |  
		  | Back to top |  |  
		  |  |  
		  | legux | 
			  
				|  Posted: Mon Apr 16, 2007 10:29 am    Post subject: |   |  |  
		  | Novice
 
 
 Joined: 14 Nov 2005Posts: 18
 
 
 | 
			  
				| The user have the right to read all files in Tomcat-Directory, which includes the shared/lib-Directory. Though the Webclient should have access to all jars..
 
 When i try to run the same tomcat with the webclient on a Windows Server with installed MQ Workflow Client, i can logon to the Workflow Server ...
 So i guess, the jars must be in the classpath...
 |  |  
		  | Back to top |  |  
		  |  |  
		  | jmac | 
			  
				|  Posted: Mon Apr 16, 2007 10:41 am    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 27 Jun 2001Posts: 3081
 Location: EmeriCon, LLC
 
 | 
			  
				| Looking at my windows box I see the following MQ jars in the classpath (I can not be 100% certain they were put in there by MQWF, but I am sure I did not do this explicitly, i.e. some IBM product put them into my classpath) 
 
   
	| Code: |  
	| C:\Program Files\IBM\WebSphere MQ\Java\lib\providerutil.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\ldap.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\fscontext.jar
 C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar
 
 |  
 I don't believe you will need all of these, but maybe this list will help you out.
 _________________
 John McDonald
 RETIRED
 |  |  
		  | Back to top |  |  
		  |  |  
		  | legux | 
			  
				|  Posted: Wed Apr 18, 2007 10:09 am    Post subject: |   |  |  
		  | Novice
 
 
 Joined: 14 Nov 2005Posts: 18
 
 
 | 
			  
				| Thanks for the help jmac. 
 The Workflow Client needs the jars in the classpath for the jvm starting tomcat. After starting the tomcat i get a connection to mq workflow with the standard web client.
 |  |  
		  | 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
 
 |  |  |  |