Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807549, 1 year ago
Cannot obtain connection after 1 seconds. , Exception = None available
via Oracle Community by 666705, 1 year ago
Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Unknown reason at weblogic.jdbc.jta.DataSource.enlist(Lweblogic.transaction.Transaction;)V(DataSource.java:1395) at
javax.ejb.EJBException: Cannot obtain connection after 1 seconds. , Exception =
None available	at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.execGenKeyQuery(RDBMSPersistenceManager.java:1363)	at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.execGenKeyQuery(RDBMSPersistenceManager.java:1339)	at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyOracle(RDBMSPersistenceManager.java:1253)	at helios.sale.ejb.entity.LotteryBean_xe944p__WebLogic_CMP_RDBMS.ejbCreate(LotteryBean_xe944p__WebLogic_CMP_RDBMS.java:1524)	at java.lang.reflect.Method.invoke(Native Method)	at weblogic.ejb20.manager.DBManager.create(DBManager.java:737)	at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:716)	at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:182)	at helios.sale.ejb.entity.LotteryBean_xe944p_LocalHomeImpl.create(LotteryBean_xe944p_LocalHomeImpl.java:89)	at helios.sale.ejb.session.SaleLotteryFacadeBean.saleLottery(SaleLotteryFacadeBean.java:40)	at helios.sale.ejb.session.SaleLotteryFacadeBean_doinmk_ELOImpl.saleLottery(SaleLotteryFacadeBean_doinmk_ELOImpl.java:46)	at helios.sale.action.SaleLotteryEJBAction.perform(SaleLotteryEJBAction.java:74)	at com.sun.j2ee.blueprints.waf.controller.ejb.StateMachine.processEvent(StateMachine.java:86)	at com.sun.j2ee.blueprints.waf.controller.ejb.EJBClientControllerEJB.processEvent(EJBClientControllerEJB.java:45)	at helios.sale.controller.ejb.HeliosSaleControllerEJBBean_4js2ys_ELOImpl.processEvent(HeliosSaleControllerEJBBean_4js2ys_ELOImpl.java:46)	at helios.sale.controller.web.HeliosSaleControllerWebImpl.handleEvent(HeliosSaleControllerWebImpl.java:100)	at com.sun.j2ee.blueprints.waf.controller.web.RequestProcessor.processRequest(RequestProcessor.java:104)	at com.sun.j2ee.blueprints.waf.controller.web.TerminalSaleServlet.doProcess(TerminalSaleServlet.java:75)	at com.sun.j2ee.blueprints.waf.controller.web.TerminalSaleServlet.doPost(TerminalSaleServlet.java:64)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)	at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)