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 process exit with no exception

Post new topic  Reply to topic
 JMS process exit with no exception « View previous topic :: View next topic » 
Author Message
weihong
PostPosted: Mon Oct 27, 2003 5:11 pm    Post subject: JMS process exit with no exception Reply with quote

Newbie

Joined: 08 Apr 2002
Posts: 8

Hi Everyone,

I have a JMS program sending messages to queues and receiving messages to write to a files. Right now I just put them running in two JVMs. The sending program works ok, but the receving program is not.

After I started the receiving program, it process a few messages and stopped, although there are still other messages in the queue. Nothing is wrong with the messages, because if I start the program, it will process some messages and stops again. I got no exceptions. I am using Bind mode.

I did the regular procedure, creating connection, session, queue receiver and set queue listener.

Does anyone have an idea what cause the program to finish?

Thanks in advance.

weihong
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Tue Oct 28, 2003 10:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Without seeing the code, I would guess that one of the receives timed-out and your program ended. When you went to look at the queue, you saw messages because your put program had put some more.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
weihong
PostPosted: Tue Oct 28, 2003 5:22 pm    Post subject: Reply with quote

Newbie

Joined: 08 Apr 2002
Posts: 8

Thanks for the reply.

The put and receive process are using different queues. Do you know where to set the session timeout?

Thanks.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS process exit with no exception
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.