Orion J2EE Interest

For J2EE questions in the Orion context including EJB, JTA, JMS, JDBC, Connector, Application clients, and more.

Navigation : Forums , Search , Login , Register , Password Reminder

Thread: orion-j2ee-interest/TransactionR.../re: Transact...

Magnus Rydin
Magnus Rydin
The Orion Team

Posts: 93
Joined: 03-07-22
 
TransactionRolledbackException Problem 09-08-10 09:22 +0200
Hello,

Four is the default number of retries.

Magnus R
The Orion team

jam@ecfreeway.com skrev:
> when i use the ejb method i get this exception
> but it run four times at the same time
> ******************************************************************************
> 16:32:00 ERROR OrderDayBean:
> javax.transaction.TransactionRolledbackException: java.sql.SQLException: Couldn't get connection because we are at maximum connection count (2/2) and there are none available
> at com.evermind.server.ejb.EJBUtils.getUserException(Unknown Source)
> at Other_StatelessSessionBeanWrapper6.querySysVar(Other_StatelessSessionBeanWrapper6.java:71)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.order(OrderDayBean.java:98)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.newStkOrder(OrderDayBean.java:584)
> at OrderDay_StatelessSessionBeanWrapper64.newStkOrder(OrderDay_StatelessSessionBeanWrapper64.java:69)
> at __jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp._jspService(__jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp.java:457)
> at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
> at com.evermind._ay._rkb(Unknown Source)
> at com.evermind.server.http.JSPServlet.service(Unknown Source)
> at com.evermind._ha.doFilter(Unknown Source)
> at com.acme.filter.GZIPFilter.doFilter(GZIPFilter.java:26)
> at com.evermind._csb._pvd(Unknown Source)
> at com.evermind._csb._boc(Unknown Source)
> at com.evermind._ax._lsc(Unknown Source)
> at com.evermind._ax._uab(Unknown Source)
> at com.evermind._bf.run(Unknown Source)
> 16:32:00 ERROR OrderDayBean:
> javax.transaction.TransactionRolledbackException: java.sql.SQLException: Couldn't get connection because we are at maximum connection count (2/2) and there are none available
> at com.evermind.server.ejb.EJBUtils.getUserException(Unknown Source)
> at Other_StatelessSessionBeanWrapper6.querySysVar(Other_StatelessSessionBeanWrapper6.java:71)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.order(OrderDayBean.java:98)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.newStkOrder(OrderDayBean.java:584)
> at OrderDay_StatelessSessionBeanWrapper64.newStkOrder(OrderDay_StatelessSessionBeanWrapper64.java:69)
> at __jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp._jspService(__jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp.java:457)
> at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
> at com.evermind._ay._rkb(Unknown Source)
> at com.evermind.server.http.JSPServlet.service(Unknown Source)
> at com.evermind._ha.doFilter(Unknown Source)
> at com.acme.filter.GZIPFilter.doFilter(GZIPFilter.java:26)
> at com.evermind._csb._pvd(Unknown Source)
> at com.evermind._csb._boc(Unknown Source)
> at com.evermind._ax._lsc(Unknown Source)
> at com.evermind._ax._uab(Unknown Source)
> at com.evermind._bf.run(Unknown Source)
> 16:32:00 ERROR OrderDayBean:
> javax.transaction.TransactionRolledbackException: java.sql.SQLException: Couldn't get connection because we are at maximum connection count (2/2) and there are none available
> at com.evermind.server.ejb.EJBUtils.getUserException(Unknown Source)
> at Other_StatelessSessionBeanWrapper6.querySysVar(Other_StatelessSessionBeanWrapper6.java:71)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.order(OrderDayBean.java:98)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.newStkOrder(OrderDayBean.java:584)
> at OrderDay_StatelessSessionBeanWrapper64.newStkOrder(OrderDay_StatelessSessionBeanWrapper64.java:69)
> at __jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp._jspService(__jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp.java:457)
> at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
> at com.evermind._ay._rkb(Unknown Source)
> at com.evermind.server.http.JSPServlet.service(Unknown Source)
> at com.evermind._ha.doFilter(Unknown Source)
> at com.acme.filter.GZIPFilter.doFilter(GZIPFilter.java:26)
> at com.evermind._csb._pvd(Unknown Source)
> at com.evermind._csb._boc(Unknown Source)
> at com.evermind._ax._lsc(Unknown Source)
> at com.evermind._ax._uab(Unknown Source)
> at com.evermind._bf.run(Unknown Source)
> 16:32:00 ERROR OrderDayBean:
> javax.transaction.TransactionRolledbackException: java.sql.SQLException: Couldn't get connection because we are at maximum connection count (2/2) and there are none available
> at com.evermind.server.ejb.EJBUtils.getUserException(Unknown Source)
> at Other_StatelessSessionBeanWrapper6.querySysVar(Other_StatelessSessionBeanWrapper6.java:71)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.order(OrderDayBean.java:98)
> at com.ecf.pscf.stkftr.stk.trans.OrderDayBean.newStkOrder(OrderDayBean.java:584)
> at OrderDay_StatelessSessionBeanWrapper64.newStkOrder(OrderDay_StatelessSessionBeanWrapper64.java:69)
> at __jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp._jspService(__jspPage11_Customer_OrderBar_stk_Normal_Reply_jsp.java:457)
> at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
> at com.evermind._ay._rkb(Unknown Source)
> at com.evermind.server.http.JSPServlet.service(Unknown Source)
> at com.evermind._ha.doFilter(Unknown Source)
> at com.acme.filter.GZIPFilter.doFilter(GZIPFilter.java:26)
> at com.evermind._csb._pvd(Unknown Source)
> at com.evermind._csb._boc(Unknown Source)
> at com.evermind._ax._lsc(Unknown Source)
> at com.evermind._ax._uab(Unknown Source)
> at com.evermind._bf.run(Unknown Source)
> *******************************************************************************
>
> Can anyone help me how to rectify it.
> --------------------------------------------------
> Orion J2EE Interest: To manage your account and
> subscriptions go to http://forums.orionserver.com
>
>