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 » IBM MQ Java / JMS » JMS Session timeout

Post new topic  Reply to topic Goto page Previous  1, 2
 JMS Session timeout « View previous topic :: View next topic » 
Author Message
balareddy
PostPosted: Tue Jan 09, 2007 5:04 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

Hello, very good discussion...

Well, my application will dequeue msg and transfer data to some other server thru FTP socket. Remote server is not my control at all and i dont know its functionality, it is completely block box for me. My work is to Tranfer data which is dequeued from my servers MQ Queue.

Deueue msg and transfer to remote servers should be done in single transaction so that no msg loss or no duplicates can happen.

And my servers load is very high, i have 40 Java threads running always.. every thread is using its own JMS session and to create FTP session to transfer data to other server.
_________________
bala
Back to top
View user's profile Send private message AIM Address
balareddy
PostPosted: Tue Jan 09, 2007 5:08 am    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

jefflowrey wrote:
balareddy - are you able to build a test setup that will reliably hang the FTP transfer? If not... you're going to have a very hard time debugging this.

If you can, then turn on MQ trace, start your program, and hang the FTP session. Then wait until the transaction is rolled back and stop the tracing. Then look at the trace output and see what it says.



I am not able to simulate this problem with my test program. I mean, FTP socket is working fine.

FTP session hangs when there is heavy load, when all threads are busy in dequeueing msg from Q and sending data to remote server thru FTP.

when FTP session hangs, that jms msg is going back to Q and some other thread is processing...
_________________
bala
Back to top
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Tue Jan 09, 2007 5:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay, if it's happening under heavy load, then it may be that MQ is rolling back your transaction in order to handle other things that it thinks are more important.

You can look at the MQ logs and you will see error messages that tell you this is being done.

You should look at tuning your queue manager - in this case probably by making the log files as large as possible. And you should look at distributing the work more. Put up another queue manager and implement MQ clustering to distribute messages going to your FTP sender program, and run another copy of your FTP sender program against that queue manager.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS Session timeout
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.