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]persistentWorkItem() MQWF 3.6

Post new topic  Reply to topic
 [Solved]persistentWorkItem() MQWF 3.6 « View previous topic :: View next topic » 
Author Message
MQRR
PostPosted: Mon Sep 19, 2005 4:28 pm    Post subject: [Solved]persistentWorkItem() MQWF 3.6 Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

Is anyone having issues with the method persistentWorkItem in executionservice class. we are having problems in getting the workitem object after upgrading from 3.4 to 3.6.
the same code base is working fine with the 3.4 but not with with 3.6. We are planning to open a PMR with IBM but wanted to put a word out on here incase anyone had this issue with 3.6
MQRR


Last edited by MQRR on Wed Sep 21, 2005 6:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Sep 19, 2005 5:01 pm    Post subject: Reply with quote

Jedi Knight

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

I have not experienced any problems with any of the persitentxxx methods
_________________
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
MQRR
PostPosted: Tue Sep 20, 2005 10:44 am    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

Jmac,
on which environment are you running your workflow?is it windows or AIX..
MQRR
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Sep 20, 2005 11:11 am    Post subject: Reply with quote

Jedi Knight

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

Currently all my work has been with windows systems... but I really think that a bug such as you are describing would have to be already known no matter what the platform.

You didn't indicate what the problem was, just that there is a problem... perhaps you could elaborate a little more.
_________________
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
MQRR
PostPosted: Tue Sep 20, 2005 12:23 pm    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

Jmac,
I was trying to pinpoint exact problem until now. There were many variations, so i was waiting to complete my test case and get to the point.
I have successful test case that proves following problem:
we have workitem id stored in the tables. And using
WorkItem workItem = requestContext.getExecutionService()
.persistentWorkItem("workitemid");

we get the workitem object. And now when i say

WorkItem.name() I get the name of the workitem without problem
and it also returns me the workitem id if i say
workItem.persistentOid() without problem.

But when i say

workItem.owner() it returns me empty string. This happens only on 3.6

I have tested this on AIX, but i guess it should not matter what platform it is as you said, but I will test it on windows too and see how it behaves.

If you are interested i can send you the test case that i have created.

MQRR
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Sep 20, 2005 1:19 pm    Post subject: Reply with quote

Jedi Knight

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

I have reproduced your problem, and while I also think that this is a bug the workaround is pretty simple....

Put a

workItem.refresh() right after your call to persistent workitem.

If you do not open a PMR on this PLEASE let me know... becuase this bug should be reported.

It is actually really stranger than I originally thought if you get the name, then try for the owner it works for me... but if I go for the owner prior to the name the owner is null.... Weird
_________________
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
MQRR
PostPosted: Tue Sep 20, 2005 2:31 pm    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

Thanks for that jmac. I could go ahead and do that but i think there are too many places that may need changes and it may be advisable not to, since this is not on production box, we can wait for IBM to fix it. We did open a PMR on this.
Thanks,
MQRR
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Sep 20, 2005 2:45 pm    Post subject: Reply with quote

Jedi Knight

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

Could you let me know what the response is on that PMR.

Thanks
_________________
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
MQRR
PostPosted: Tue Sep 20, 2005 3:19 pm    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

sure I will. And there is another issue with 3.6 with the process instances list. When you put sort order for a process instance list it does not return the instances in the list, it times out(it could be an oracle issue since it did not happen on windows with DB2). We had PMR for this too, and IBM was able to recreate this and is sending us a patch for this.
Back to top
View user's profile Send private message
MQRR
PostPosted: Wed Sep 21, 2005 1:24 pm    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

update:
IBM has recognized this as an issue and agreed to send a patch for this as soon as they fix it.
MQRR
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]persistentWorkItem() MQWF 3.6
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.