Hi all,
I?m running into a strange issue, and I need a hand. I have 2 remote
stateless EJB?s both use spring and hibernate 2.1.8. The flow of the
standalone execution is as follows
--> = Direction of the calls
Client -->
EJB Transaction Starts -->
Spring interceptor opens hibernate session for current thread -->
Business Logic -->
DAO calls
<--Spring closes session for thread
<--Return to caller
This works well for both EJB?s when they are called from separate client calls,
however when we merge them I?m receiving the error outlined below.
4:31:06,468 INFO [CachedConnectionManager] Closing a connection for you.
Please close them yourself: [EMAIL PROTECTED]
java.lang.Exception: STACKTRACE
I?ve read this post
http://www.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageDoYourOwnHousekeepingMean
but I don?t understand why this would not apply in a single remote EJB
inovacation, but an remote EJB to another remote EJB causes an issue. Here is
the basic flow is the same, except the first EJB makes a remote call to the
clustered JNDI to invoke the second EJB.
Everything appears to work correctly, however I receive the warning when the
client call to the first EJB returns. I?m not sure what I?m missing, according
to a Hibernate post, JBoss is just ?confused? since Hibernate is handling the
sessions, but I would like a more concrete answer than ?confused? before I
disable the debugging message.
Thanks,
Todd
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935615#3935615
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935615
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user