Sounds to me like their code is missing a close() on the database connection.
You always need to do a close() on the connection so that it can be reused
within the connection pool.
-t
On Tue, Aug 29, 2000 at 04:03:29PM +0100, Chris Miller wrote:
> I have a BMP bean (3rd party, but I have the source code) that writes to a
> database. The write is fine and gets committed seemingly without problems.
> Once I continue surfing around the site however Orion then throws the
> following exception:
>
> OrionCMTConnection not closed, check your code!
> LogicalDriverManagerXAConnection not closed, check your code!
> Created at:
> java.lang.Throwable: OrionCMTConnection created
> at com.evermind.sql.ai.<init>(JAX)
> at com.evermind.sql.OrionCMTDataSource.getConnection(JAX)
> at
> com.cai.joe.component.PortableContext1_1.getDatabaseConnection(PortableConte
> xt1_1.java:49)
> at
> com.cai.joe.component.ComponentContext$DatabaseConnection.establishJDBCConne
> ction(ComponentContext.java:400)
> at
> com.cai.joe.component.ComponentContext$DatabaseConnection.<init>(ComponentCo
> ntext.java:303)
> at com.cai.joe.component.ComponentContext.<init>(ComponentContext.java:68)
> at
> com.cai.joe.component.ComponentContextFactory.create(ComponentContextFactory
> java:73)
> at
> com.cai.joe.component.InitialComponentContext.<init>(InitialComponentContext
> java:77)
> at
> com.sevenirene.qnacomponent.session.QuestionComponentSessionBean.createQuest
> ion(QuestionComponentSessionBean.java:54)
> at
> IQuestionComponentEJBObject_StatelessSessionBeanWrapper21.createQuestion(IQu
> estionComponentEJBObject_StatelessSessionBeanWrapper21.java:53)
> at com.lgfg.ejbwrapper.QuestionEJB.createQuestion(QuestionEJB.java:74)
> at com.lgfg.action.VoteSaveAction.perform(VoteSaveAction.java:102)
> at
> org.apache.struts.action.ActionServlet.processActionInstance(ActionServlet.j
> ava:794)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:702)
> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:332)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at com.evermind.server.http.dk.p8(JAX)
> at com.evermind.server.http.dk.forward(JAX)
> at com.evermind.server.http.dt.qe(JAX)
> at com.evermind.server.http.dt.qd(JAX)
> at com.evermind.util.f.run(JAX)
>
>
> Any ideas/help/tips on this one? I'm not sure if it really is the code in
> the bean, or something to do with my config/deployment descriptor.
>
--
Tony Abbott [EMAIL PROTECTED]