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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [solved] Problems connecting workflow from Linux-Client

Post new topic  Reply to topic
 [solved] Problems connecting workflow from Linux-Client « View previous topic :: View next topic » 
Author Message
legux
PostPosted: Mon Apr 16, 2007 6:51 am    Post subject: [solved] Problems connecting workflow from Linux-Client Reply with quote

Novice

Joined: 14 Nov 2005
Posts: 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
View user's profile Send private message
jmac
PostPosted: Mon Apr 16, 2007 10:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
legux
PostPosted: Mon Apr 16, 2007 10:29 am    Post subject: Reply with quote

Novice

Joined: 14 Nov 2005
Posts: 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
View user's profile Send private message
jmac
PostPosted: Mon Apr 16, 2007 10:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
legux
PostPosted: Wed Apr 18, 2007 10:09 am    Post subject: Reply with quote

Novice

Joined: 14 Nov 2005
Posts: 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
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [solved] Problems connecting workflow from Linux-Client
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.