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 » Null pointer exception in MQ get call for idle time

Post new topic  Reply to topic
 Null pointer exception in MQ get call for idle time « View previous topic :: View next topic » 
Author Message
jothiraju
PostPosted: Mon Apr 09, 2007 11:04 pm    Post subject: Null pointer exception in MQ get call for idle time Reply with quote

Newbie

Joined: 09 Apr 2007
Posts: 3

Hi friends I'm working in a banking project and we use MQ for middleware.During End of day process the MQ get call will be issued to a queue but it will fail since the CORE is down.After sometime the Java component which issues MQget call rises null pointer exception and no transaction can be further made the next day morning.PLease give me solution or your suggestion to solve this issue it is very critical.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Apr 10, 2007 12:36 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

sounds like an application error. fix the program, and review your design and processing schedule (why is the application active when MQ (or what do you mean by CORE) is not available?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
jothiraju
PostPosted: Tue Apr 10, 2007 1:13 am    Post subject: Reply with quote

Newbie

Joined: 09 Apr 2007
Posts: 3

CORE is the main database connecting all branches.The Java component which i mentioned will update the queue satus by sending message to core and receive from CORE. if there is no response that component will update that queue status as dead.And this is a threaded process.
What happends at the End of day is CORE will not response so it'll keep on updating all the queue status as not alive , and during start of day the CORE will send response so the component will update the queue as alive. This was working fine sometimes before but now its throwing null pointer exception after end of day and does not pick up any message at start of day.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 10, 2007 1:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Mr Butcher wrote:
why is the application active when MQ (or what do you mean by CORE) is not available?


I echo this question. Why not trigger the application?

Your Null pointer is an application problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » IBM MQ Java / JMS » Null pointer exception in MQ get call for idle time
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.