>
> That sees like a bug, but it is important to remember that whats
> actually is pooled is the the session, and that should be closed after
> each method invocation.
>
I was not closing the session properly.
Should the connection close all of its sessions?
I just read the javadoc for Session.close(), in it it says:
Closing a transacted session must rollback the in-progress transaction.
and:
Closing a closed session must NOT throw an exception.
The first one is a little scary since all examples that I have seen from sun
on using JMS inside of a EJB show close always being called. Perhaps this
is a javadoc bug?
The current JmsSession will throw an javax.jms.llegalStateException when
close() is called on a closed session, which should be easy to fix.
--jason
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development