-
1. Re: JBoss 4.0.1 final - I get
aloubyansky Dec 28, 2004 4:07 AM (in response to camel)Are you accessing the database directly using JDBC or only through Hibernate?
-
2. Re: JBoss 4.0.1 final - I get
camel Dec 29, 2004 4:46 AM (in response to camel)Alex,
I'm only accessing the database through hibernate. I'm not even using Hibernate's direct SQL queries -- only HQL, and session.load() calls.
Thanks,
chris -
3. Re: JBoss 4.0.1 final - I get
dejan Dec 29, 2004 3:54 PM (in response to camel)"camel" wrote:
I just upgraded to JBoss 4.0.1 final from 4.0.0, and now I get "Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@11d5b39" errors a lot -- appears to be every time a DB call is made. The app appears to work (it gets the data from the DB ok).
I didn't change anything else in my app. I'm using JBoss's hibernate deployer with my HAR file, and accessing hibernate from stateless session beans with container managed transactions. It works fine in 4.0.0 and 3.2.6. Any ideas? thanks
-chris
I got the same error. I am using the same configuration (HAR, Stateless Session beans, CMT). In 4.0.0 there is no errors.
Dejan -
4. Re: JBoss 4.0.1 final - I get
starksm64 Dec 29, 2004 4:24 PM (in response to camel)http://www.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageDoYourOwnHousekeepingMean
If you believe this does not apply create a bug report with a testcase here:
http://jira.jboss.com/jira/browse/JBAS -
5. Re: JBoss 4.0.1 final - I get
camel Dec 30, 2004 4:36 AM (in response to camel)Thanks Scott, this resolves it for me.
-
6. Re: JBoss 4.0.1 final - I get
paulkuit Apr 6, 2005 9:58 AM (in response to camel)Hi Scott,
Sorry to bother.
Closing the connection (of course) resolves the issue, but did I understand wrong that it is not nessecary to close the session when it is obtained with HibernateContext.getSesssion()
in a CMT environment? -
7. Re: JBoss 4.0.1 final - I get
paulkuit Apr 12, 2005 8:03 PM (in response to camel)Yep, this is a bug a read somewhere else, will be resolved soon.