File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JMS problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS problem" Watch "JMS problem" New topic

JMS problem

shawn kennedy
Ranch Hand

Joined: Oct 31, 2002
Posts: 67
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3749

Please provide more information. Off hand I'd say your server config is wrong, but thats a shot in the dark.

[OCA 8 Book] [Blog]
shawn kennedy
Ranch Hand

Joined: Oct 31, 2002
Posts: 67
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
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
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 Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
Invoke getQueueName() on your Queue. Is the name of the queue returned correct?

SCJP 1.4, SCWCD 1.3, SCBCD 1.3
shawn kennedy
Ranch Hand

Joined: Oct 31, 2002
Posts: 67
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.
I agree. Here's the link:
subject: JMS problem
It's not a secret anymore!