> When I was running a client that sends messages to a router, the
> following message appeared:
> 
> *** Exception:exception occurred during lookup:
> javax.jms.IllegalStateException: Message consumer is closed
> 
> It seems to occur around the JNDI lookup when the
> TopicConnectionFactory
> is looked up.
> (could be also around the publish() method though).
> Surprisingly, it only happens when the client connects over the
> network.
> When the client runs
> on the same machine as the router, everything works fine.

It seems, there is a classpath problem when you run it over the network. 

> I would be glad if you could explain the exception, especially the
> "Message consumer is closed"
> which sounds like the server is not available or so.

It means that the consumer is closed (due to a connection close) and a 
send is performed on this consumers. May happen on class incompatibility 
between client and router.

-- 
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com
-----------------------------------------------------------------------
Support SwiftMQ! PLEASE vote for SwiftMQ as "Best Java Messaging Tool":
         http://www.sys-con.com/java/readerschoice2001/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to