Hello vickyk and jboss-user-1234,
Thanks for the suggestion. I have rechecked the code and found out that I
overlooked commenting one piece of code. Finally, closing the wrapped
connection is working. Closing the underlying connection is closing the actual
connection.
Thanks.
View the origi
Never close underlying connection.
Always close Wrapped Connection.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237442#4237442
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237442
"rohit.macherla" wrote : the wrapped connection is open and the underlying
connection is closed.
|
Can you simulate this behaviour through a simple jsp page, you can attach the
jsp and I can have look at it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
Hi Vickyk,
Thanks for the reply.
My WebService does just this :
Fetches the connection (Using the connection pool)
Invokes a PL/SQL procedure and fetches the result
Closes the connection and the JDBC statements.
The WebService ends after closing the connection.
What I meant by the 'next invocatio
anonymous wrote : But in the next invocations of the :
| ds.getConnection()
| I receive the following statements:
This is not clear, what exactly you are doing after closing the wrapped
connection?
Can you explain the code in detail, I don't want to guess/assume things here?
View the origi