Actually, turning it off in transaction-service.xml has a tiny performance improvement as well.

Adrian Brock wrote:

On Sat, 2003-11-15 at 01:22, mark pope wrote:

Hi,

I'm passing a JDBC Connection between two stateless beans. The called bean uses
it and closes its Statement and ResultSet. When the method returns to the
caller I get a WrappedConnection msg on the console. Both EJBs have local
interfaces.

I don't believe that I am violating the EJB Spec and cannot determine if there
are any *xml or *-ds.xml flags that I can set to eliminate the msg. Is my
approach incorrect?



This behaviour was changed/fixed in 3.2.2

It should now be possible to pass Connections between ejbs, but
JBoss will still try to close the connection at transaction end.

Of course you can turn that behaviour off using the debug flag
on the cached connection manager in transaction-service.xml

Regards,
Adrian


thx.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-- ================ Bill Burke Chief Architect JBoss Group LLC. ================



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to