• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS problem

 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using JMS queues to receive and send messages to Tibco.My code seems to have worked for around9-10 months suddenly it throws an exception that indicates that it cannot create the queue message receiver and InvalidDestinationException.
Can anyone tells me why i get this error.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide more information. Off hand I'd say your server config is wrong, but thats a shot in the dark.
 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What information do you require?
All i can say is that all these queues are set up in the EMS Server and they are present there.So why should i suddenly start getting InvalidDestinationException when the queues are valid.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the code stops working after 9-10 months, then two possibilities come to mind:

(1) You just exceeded some limit -- either a file is full, or a queue is full, or something to that effect. Try rebooting the server, clearing out all of your logs and restarting it.

(2) You just changed something in the configuration in the process of doing something else. Was anyone else deploying or changing something on those servers?

Kyle
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Invoke getQueueName() on your Queue. Is the name of the queue returned correct?
 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried rebooting the server and checked the config files and it yet gives me the same error.Besides the queue names have not changed at all thats why i am confused.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic