aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS problem" Watch "JMS problem" New topic
Author

JMS problem

shawn kennedy
Ranch Hand

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

Joined: Oct 23, 2005
Posts: 3710
    
    5

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


My Blog: Down Home Country Coding with Scott Selikoff
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
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ 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: http://aspose.com/file-tools
 
subject: JMS problem