Re: [JBoss-user] Mysql ejbpassivate()

2001-10-01 Thread Dmitri Colebatch
You shouldn't be holding on to a connection. Hold on to a reference to the datasource object, and use datasource.getConnection() and connection.close() to obtain/release a connection. cheers dim On Tue, 2 Oct 2001, Papo Napolitano wrote: > Hi! > > I'm trying to write an EJBean with mysql. I b

[JBoss-user] Mysql ejbpassivate()

2001-10-01 Thread Papo Napolitano
Hi! I'm trying to write an EJBean with mysql. I build it and everything works fine, but when I make some change and redeploy I got the following error. I want to close the connection in the ejbPassivate(). Anybody can help me with this?? How can I do it ? Regards, Papo ERROR: [Auto deploy] Aut