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 » Creating Mq workflow Service

Post new topic  Reply to topic
 Creating Mq workflow Service « View previous topic :: View next topic » 
Author Message
ammar
PostPosted: Mon Apr 06, 2009 9:16 pm    Post subject: Creating Mq workflow Service Reply with quote

Novice

Joined: 10 Nov 2008
Posts: 12

hi i m trying to create mq workflow service in java but i m getting following error at
service.logn2(usr,pass,sessionmode,AbsenceIndicator)
FMC38009E MQSeries Workflow API Error :
API Return Code : 13
Error Origin : FmcSession.java:504
Error Message : FMC00013E Communication error - Failing Action: put, Reason Code: 0, Failing Object: .
Nested Exception : None
Back to top
View user's profile Send private message
hos
PostPosted: Tue Apr 07, 2009 12:03 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

run fmczchk to see whether your MQ setup is correct.
Try to access the servers via fmcautil (MQ C-binding) to see whether it is a Java-only problem. The strange thing is that you do not see a failing object. This should be the queue name of the failing put.
Back to top
View user's profile Send private message
yphul
PostPosted: Wed Dec 18, 2013 7:28 pm    Post subject: Reply with quote

Newbie

Joined: 12 Jan 2008
Posts: 6

Hi,

has this issue been resolved and if so please let me know. I am having the same issue. I have Workflow 3.6 with Db2 V8.2 and MQ V6 working well on a WINDOWS XP machine. I am trying to migrate to a 64 bit windows 7 machine and I had to upgrade each component to :

Workflow : 3.6.0.9
Db2 : V9.7 with fixpack 9
MQ : V7 with fixpack 1

I was able to create the workflow profile, but when my web application tries to log into the application using the following command:

agent.setConfigurationID(configid); THIS WORKS
agent.setName("AGENT"); THIS WORKS
service = agent.locate(grp, sys); THIS WORKS
service.setTimeout(timeout); THIS WORKS

service.logon2(userId, pwd, SessionMode.DEFAULT, AbsenceIndicator.RESET);

THE ABOVE FAILS WITH :

com.ibm.workflow.client.util.FmcApiException:
FMC38009E MQSeries Workflow API Error :
API Return Code : 13
Error Origin : FmcSession.java:513
Error Message : FMC00013E Communication error - Failing Action: put, Reason Code: 0, Failing Object: .
Nested Exception : None


When I run fmczchk I get an error on the BT database which I do not understand b3cause I do not get the same error on the RT database:

MC34013I: ===> Admin Server found, checks started.
FMC34122I: Environment variable DB2_RR_TO_RS is set to 'YES'.
FMC34501I: ==> Database configuration for TIAMRNDB.
FMC34508I: Log file size is 4095.
FMC34508I: Log primary is 4.
FMC34508I: Log second is 124.
FMC34508I: Database heap is 400.
FMC34508I: Default application heap is 512.
FMC34508I: Number of page cleaners is 2.
FMC34508I: Log buffer size is 16.
FMC34508I: Lock list is 4096.
FMC34502I: ==> Database connection to TIAMRNDB.
FMC34508I: Buffer pool size is 2000.
FMC34515I: Connect to TIAMRNDB was successful (user ID 'YPHUL').
FMC34510I: The DBMS name is DB2/NT64 (version 09.07.0009).
FMC34511I: The database driver is db2cli.dll (Version 09.07.0009).
FMC34512I: The database name for alias 'TIAMRNDB' is 'tiamrndb'.
FMC34700I: ==> Service Control Manager configuration.
FMC34nnnI: Service MQSeriesServices: Startup automatic, account LocalSystem
FMC34nnnI: Service MQ Workflow - TIAMCFG: Startup automatic, account LocalSystem

FMC34013I: ===> Server message device found, checks started.
FMC34021W: The TCP/IP directory 'c:\windows\system32\drivers\etc' does not exist.
FMC34nnnW: No MQSeries TCP port found at default number 5010
FMC34404I: The MQSeries Server 7.0.1.3 is installed.
FMC34nnnI: System for TIAMQM is TIAM.TIAMGRP.TIAMSYS
FMC34031I: Successfully loaded QM switch file library db2swit.dll.
FMC34nnnI: Settings for TIAMQM from Queue manager TIAMQM registry
FMC34nnnI: XAResourceManager.XAOpenString = DB=TIAMRNDB, TPM=MQ, toc=t, UID=db2admin, PWD=******
FMC34nnnI: Channels.MaxChannels = <null>
FMC34nnnI: Channels.MaxActiveChannels = <null>
FMC34nnnI: Default queue manager is TIAMQM

FMC34013I: ===> Execution Server found, checks started.

FMC34013I: ===> Client message layer (server API) found, checks started.
FMC34nnnI: FMLConnectName is 'TIAM.TIAMGRP.TIAMSYS,TIAMQM'
FMC34nnnI: Channel definition file is c:\programdata\ibm\websphere mq workflow\chltabs\mqwfchl.tab
FMC34410I: Channel table c:\programdata\ibm\websphere mq workflow\chltabs\mqwfchl.tab has 2 entries.
FMC34411I: 0: Active; Queue Manager TIAMQM connecting to ADMINIB-UO20U8G(14000) through TCP.
FMC34411I: 1: Active; Queue Manager TIAMQM connecting to ADMINIB-UO20U8G(14000) through TCP.
FMC34nnnI: This client can connect to an OS/390 server

FMC34013I: ===> Client message layer (client API) found, checks started.

FMC34013I: ===> WebSphere MQ Workflow C/C++ API found, checks started.
FMC34nnnI: API will use queue manager 'TIAMQM' (queue prefix TIAM)
FMC34324I: Ping ADMINIB-UO20U8G successful.
FMC34324I: Ping ADMINIB-UO20U8G successful.

FMC34013I: ===> Java API found, checks started.
FMC34nnnI: CLASSPATH='C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar'

FMC34013I: ===> Buildtime found, checks started.
FMC34130I: The default font for the graphical user interface is 'MS Shell Dlg'.
FMC34129I: The screen resolution is set to 1440x900.
FMC34nnnI: B/T help file is c:\program files (x86)\ibm\websphere mq workflow\bin\fmcbhenu.hlp
FMC34nnnI: HTML template file is c:\program files (x86)\ibm\websphere mq workflow\bin\fmcfdhtm.tem
FMC34031I: Successfully loaded BT resource library fmcbrenu.dll.
FMC34502I: ==> Database connection to TIAMBTDB.
FMC34533E: YPHUL has no authorization for BT database TIAMBTDB.
FMC34515I: Connect to TIAMBTDB was successful (user ID 'YPHUL').
FMC34510I: The DBMS name is DB2/NT64 (version 09.07.0009).
FMC34511I: The database driver is db2cli.dll (Version 09.07.0009).
FMC34512I: The database name for alias 'TIAMBTDB' is 'tiambtdb'.
FMC34nnnI: Unified logon for 'yphul' not possible
FMC34519I: QueryTimeoutInterval is '<null>' in the Common section of c:\program files\ibm\sqllib\db2cli.ini.
FMC34531I: DB2 authentication is through the server.

FMC34013I: ===> Runtime Client found, checks started.
FMC34031I: Successfully loaded Runtime Client resource library fmcn6enu.dll.
FMC34nnnI: Runtime Client help file is c:\program files (x86)\ibm\websphere mq workflow\bin\fmcn6enu.hlp

FMC34100I: Messages have been written to c:\users\ibm_admin\fmczchk.log.
FMC34998I: See fmczchk.htm for more information on the messages.
FMC34999I: Configuration checker ended: 1 error(s), 2 warning(s), rc = 0.


Any help is much appreciated.

Thanks
Back to top
View user's profile Send private message
yphul
PostPosted: Fri Dec 20, 2013 12:54 pm    Post subject: Reply with quote

Newbie

Joined: 12 Jan 2008
Posts: 6

Hi,

an update ot my problem, when I logged in using the DB2 user id, I no longer had the connection issue with the build-time database.. so fmczchk no longer had any errors, but I had the same problem when trying to log into workflow :

service.logon2(userId, pwd, SessionMode.DEFAULT, AbsenceIndicator.RESET);

THE ABOVE FAILS WITH :

com.ibm.workflow.client.util.FmcApiException:
FMC38009E MQSeries Workflow API Error :
API Return Code : 13
Error Origin : FmcSession.java:513
Error Message : FMC00013E Communication error - Failing Action: put, Reason Code: 0, Failing Object: .
Nested Exception : None

Thanks
Back to top
View user's profile Send private message
jmac
PostPosted: Sun Dec 22, 2013 5:24 am    Post subject: Reply with quote

Jedi Knight

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

This is not something I have any experience with...
The one thing I can tell you to check is that your Admin server is running. Since the login support is through the Admin server, if for some reason that is not running, logins will not be processed.

If all else fails, I would suggest you open a PMR on this, assuming you have IBM support for your MQWF system.
_________________
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
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 » Creating Mq workflow Service
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.