Re: Session closed suddenly

Jyrki Saarinen <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Felipe Furtado Palma Dias wrote:

> I have a similar problem (see thread "Durable consumers and http 
> connection"). This happen when I use http connectors. What is your 
> connector?

<disscussing session closing without it being explicitely closed>

javax.jms.IllegalStateException: Cannot perform operation - session has 
been closed
       at org.exolab.jms.client.JmsSession.ensureOpen(JmsSession.java:1010)

This happened with the RMI connector, haven't tried others yet.

Another question: in the JMS programming model, is it allowed
to keep Session open for a long time? I just double checked
Sun's JMS tutorial and it didn't say anything about this.

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
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.