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 » fmcojagt > fmcjapi issues

Post new topic  Reply to topic
 fmcojagt > fmcjapi issues « View previous topic :: View next topic » 
Author Message
bml137
PostPosted: Thu Jul 20, 2006 10:04 am    Post subject: fmcojagt > fmcjapi issues Reply with quote

Newbie

Joined: 20 Jul 2006
Posts: 2

OS: AIX

We are in the process of moving our applications from v3.4 to v3.6. I am in a development/test environment right now and trying to see what issues we run into. I tested just about all the code we are using with MQWF and have run into 2 issues:

(1) When I run the exact same code with 'fmcojagt.jar.deprecated', it works. When I run it with 'fmcjapi.jar', the 'ProcessInstance.start2' method causes all 'fmcemain' processes to crash. The IBM Web Client can start workitems, everything else works (workitems advance through the workflow), but start2 crashes. If I comment just that line out, everything runs fine (except the item isn't started, of course).

(2) Using fmcjapi.jar (I haven't tried the old jar yet), 'Agent.locate' returns 'null'. It does not throw an exception...it just returns 'null'. I tried passing in the system-group/system and I also tried empty strings. I tried setting the configuration ID and using LOC_LOCATOR. Essentially, it can't find workflow. Here's the kicker. This is only the case when running from the shell. When I do an 'Agent.locate' from code running in WebSphere, it returns an ExecutionService.

Thanks,
Brian
Back to top
View user's profile Send private message
bml137
PostPosted: Thu Jul 20, 2006 11:46 am    Post subject: Reply with quote

Newbie

Joined: 20 Jul 2006
Posts: 2

As an addition to (2):

I switched to the 'fmcojagt.jar' library and it works now. It appears that I cannot get either the 'Agent.locate' or 'ProcessInstance.start2' methods to work with the 'fmcjapi.jar' library.

fyi: When trying to get 'Agent.locate' to work, I even added 'fmcrc' to the classpath.
Back to top
View user's profile Send private message
hos
PostPosted: Thu Jul 20, 2006 10:58 pm    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Well,

that's by no way enough information to make a serious assessment but my first guess would be that your plain (shell) applications do not have access to the profile.

Is the AIX box where you are running the applications the same where you have configured the clients? In WebSphere your applications have two ways to find the profile information: either via the fmcrc file hierarchy created during the configuration or via the fmcrc file buried in the ear file. Plain applications only have the file hierarchy.

Setting the Classpath to enable profile access is NOT the right way to solve this problem. Check the 3.6 Installation Guide for the Instant Trace facility that was designed to solve such problems .
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 » fmcojagt > fmcjapi issues
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.