Re: Session closed suddenly

Felipe Furtado Palma Dias <palmadias-/E1597aS9LRfJ/[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
I have a similar problem (see thread "Durable consumers and http 
connection"). This happen when I use http connectors. What is your 
connector?

Jyrki Saarinen escreveu:
> 
> Hello all,
> 
> I have a problem when publishing a message to a topic. The session
> is suddenly closed, which is weird since I'm not closing it.
> Is there a timeout on a session after which it is closed after
> being idle for x seconds?
> 
> Here's the code I'm using to publish a message:
> 
>    ObjectMessage message = this.topicSession.createObjectMessage();
>    message.setObject(txid);
>    this.topicPublisher.publish(message);
> 
> Here's the stack trace I'm getting:
> 
> javax.jms.IllegalStateException: Cannot perform operation - session has 
> been closed
>        at org.exolab.jms.client.JmsSession.ensureOpen(JmsSession.java:1010)
>        at 
> org.exolab.jms.client.JmsSession.createObjectMessage(JmsSession.java:
> 278)
> 
> Jyrki
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> openjms-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openjms-user
> 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.