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 » WebClient custom command recieves message twice

Post new topic  Reply to topic
 WebClient custom command recieves message twice « View previous topic :: View next topic » 
Author Message
jmac
PostPosted: Tue Feb 25, 2003 2:14 pm    Post subject: WebClient custom command recieves message twice Reply with quote

Jedi Knight

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

I have a custom application using the web client. Under some circumstances (not predictable) I am getting 2 messages coming to my custom command, each being processed on a separate thread. Now of course since this command does a checkout followed by a checkin, one of these threads ALWAYS fails.

I see four possiblities for producing this problem:

1. My code causes the command to be invoked again. I have ruled this out.

2. The AppServer sends the command twice, I have ruled this out by reproducing the error with TomCat and WebSphere 4.0.

3. IE is somehow causing the problem.

4. The WebClient is causing the problem.

My question is: Has anyone ever run in to anything like this?

I must admit that I am currently at a loss as to what the problem could be, and I am quite certain that this is not a "workflow" problem, although the WebClient could be at fault. Basically I am fishing for ideas.

THANKS for any advice you can give.
_________________
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
kriersd
PostPosted: Wed Feb 26, 2003 10:46 am    Post subject: Reply with quote

Master

Joined: 22 Jul 2002
Posts: 209
Location: IA, USA

Jmac

We too have noticed that some times we get multiple requests comming into the WF system if submitted by a web page. I believe this is a browser issue. Some how the submit button is processed twice or clicked twice. This activity would cause multiple requests to our custom servlet that is formulating a XML message to place on the EXEXMLINPUTQ to start a process. Many times a day we are seeing "Name Not Unique" errors in our reply queue. When we look at it we almost always find that the MQSeries message actually had two xml documents in the payload, both are exactly the same document.

Is this the same issue?

Dave
_________________
Dave Krier

IBM WebSphere MQ Workflow V3.4 Solution Designer
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Feb 26, 2003 11:06 am    Post subject: Reply with quote

Jedi Knight

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

Dave:

I currently found the following:

I was using an image button with an onclick method. In the onclick method I had a submit.

I changed to using a type=submit and this seemed to fix the problem.

I had my custom command display at the beginning an indication of the thread that was being used, and I can definitely see that 2 messages are coming in.

I am currently thinking about switching to all submit buttons vs using the image.
_________________
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 » WebClient custom command recieves message twice
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.