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 » fmcojloc.dll: Can't find dependent libraries

Post new topic  Reply to topic
 fmcojloc.dll: Can't find dependent libraries « View previous topic :: View next topic » 
Author Message
hifives
PostPosted: Fri Nov 11, 2011 11:03 am    Post subject: fmcojloc.dll: Can't find dependent libraries Reply with quote

Newbie

Joined: 09 Nov 2011
Posts: 4

While executing standalone java client program following error is logged. fmcojloc.dll is available in C:\Program Files\IBM\WebSphere MQ Workflow\BIN\

Server is in differnet machine and Client is in different machine.
Have installed MQWF RTC and MQ Series client and i am able to connect to MQ WF via MQ WF RTC but not through java code:

Error

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\WebSphere MQ Workflow\BIN\fmcojloc.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at com.ibm.workflow.loc.jni.DomainControllerImpl.<clinit>(DomainControllerImpl.java:102)
at com.ibm.workflow.api.Agent$LocLocator.locate(Agent.java:91)
at com.ibm.workflow.api.Agent.setName(Agent.java:255)
at MQWConnector.Connect(MQWConnector.java:32)
at OrderFulfillmentDS.main(OrderFulfillmentDS.java:20)

Java code

Agent agent = new Agent();
agent.setLocator(Agent.LOC_LOCATOR);
agent.setName("MQWFAGENT");
agent.setConfigurationID("FMC");
ExecutionAgent pea = agent.getExecutionAgent();
service = agent.locate("", "");
service.logon2(userid, passwd, SessionMode.DEFAULT, AbsenceIndicator.LEAVE)

Error shown at agent.setName("MQWFAGENT");
Back to top
View user's profile Send private message
jmac
PostPosted: Sat Nov 12, 2011 7:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

How is this different from the previous post you have?

You are still attempting to get a PEA which is not supported in any modern version of MQWF.
_________________
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
hos
PostPosted: Mon Nov 14, 2011 12:12 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

In addition, the Java API that you are using does not use version 3.6 classes.
It uses the 'old' JNI based API which was replaced by a 'pure Java' API in 3.6
Check your CLASSPATH for the existence of an outdated fmcjapi.jar.
Check the Programming Guide how to setup a Java web client in WebSphere.
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 » fmcojloc.dll: Can't find dependent libraries
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.