java.sql.SQLException: Error in allocating a connection. Cause: java.lang.RuntimeException: Got exception during XAResource.start:

Oracle Community | chris.joelly | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Got exception during XAResource.start

    Oracle Community | 6 years ago | chris.joelly
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.RuntimeException: Got exception during XAResource.start:
  2. 0

    Glassfish 3.1: problems with datasource and JTA

    Oracle Community | 6 years ago | chris.joelly
    java.sql.SQLException: Error in allocating a connection. Cause: java.lang.RuntimeException: Got exception during XAResource.start:
  3. 0

    XA transaction errors on non-XA connection pools?

    Oracle Community | 4 years ago | ljnelson
    javax.transaction.xa.XAException: com.sun.appserv.connectors.internal.api.PoolingException: javax.resource.spi.LocalTransactionException: Connection not established
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.transaction.xa.XAException

      com.sun.appserv.connectors.internal.api.PoolingException: java.lang.NullPointerException

      at com.sun.enterprise.resource.ConnectorXAResource.handleResourceException()
    2. Connectors Runtime
      ConnectorXAResource.start
      1. com.sun.enterprise.resource.ConnectorXAResource.handleResourceException(ConnectorXAResource.java:115)
      2. com.sun.enterprise.resource.ConnectorXAResource.start(ConnectorXAResource.java:150)
      2 frames
    3. Embedded GlassFish Web
      JavaEETransactionManagerSimplified.enlistResource
      1. com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.enlistResource(JavaEETransactionManagerSimplified.java:375)
      1 frame
    4. Connectors Runtime
      ConnectionManagerImpl.allocateConnection
      1. com.sun.enterprise.resource.rm.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:152)
      2. com.sun.enterprise.resource.rm.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:112)
      3. com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:208)
      4. com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:338)
      5. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
      6. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190)
      7. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
      8. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
      8 frames
    5. Embedded GlassFish Web
      DataSource.getConnection
      1. com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
      1 frame
    6. MyBatis
      DefaultSqlSessionFactory.openSession
      1. org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
      2. org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)
      2 frames
    7. Activiti - Engine
      AbstractQuery.list
      1. org.activiti.engine.impl.db.DbSqlSession.<init>(DbSqlSession.java:86)
      2. org.activiti.engine.impl.db.DbSqlSessionFactory.openSession(DbSqlSessionFactory.java:77)
      3. org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:177)
      4. org.activiti.engine.impl.persistence.AbstractManager.getSession(AbstractManager.java:56)
      5. org.activiti.engine.impl.persistence.AbstractManager.getDbSqlSession(AbstractManager.java:52)
      6. org.activiti.engine.impl.persistence.entity.TaskManager.findTasksByQueryCriteria(TaskManager.java:89)
      7. org.activiti.engine.impl.TaskQueryImpl.executeList(TaskQueryImpl.java:334)
      8. org.activiti.engine.impl.AbstractQuery.execute(AbstractQuery.java:138)
      9. org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
      10. org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
      11. org.activiti.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:59)
      12. org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
      13. org.activiti.engine.impl.AbstractQuery.list(AbstractQuery.java:112)
      13 frames
    8. erp.web.faces
      TaskList.getOwnTasks
      1. erp.web.faces.beans.activiti.TaskList.getOwnTasks(TaskList.java:62)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. EL
      BeanELResolver.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
      1 frame
    11. JSF
      DemuxCompositeELResolver.getValue
      1. com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
      2. com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
      2 frames
    12. EL
      ValueExpressionImpl.getValue
      1. com.sun.el.parser.AstValue.getValue(AstValue.java:116)
      2. com.sun.el.parser.AstValue.getValue(AstValue.java:163)
      3. com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:219)
      3 frames
    13. Weld Implementation
      WeldValueExpression.getValue
      1. org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
      1 frame
    14. JSF
      TagValueExpression.getValue
      1. com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
      1 frame
    15. JavaEE 7
      UIData.getRowCount
      1. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
      2. javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
      3. javax.faces.component.UIData.getValue(UIData.java:731)
      4. javax.faces.component.UIData.getDataModel(UIData.java:1798)
      5. javax.faces.component.UIData.getRowCount(UIData.java:356)
      5 frames
    16. primefaces
      DataTableRenderer.encodeEnd
      1. org.primefaces.component.datatable.DataTable.calculatePage(DataTable.java:767)
      2. org.primefaces.component.datatable.DataTableRenderer.encodeMarkup(DataTableRenderer.java:157)
      3. org.primefaces.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:82)
      3 frames
    17. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)
      3. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      4. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      4 frames
    18. JSF
      GroupRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
      2. com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105)
      2 frames
    19. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      1 frame
    20. JSF
      GridRenderer.encodeChildren
      1. com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
      2. com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
      3. com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
      3 frames
    21. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
      4 frames
    22. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      2 frames
    23. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
      1 frame
    24. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      3 frames
    25. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      3 frames
    27. primefaces
      FileUploadFilter.doFilter
      1. org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
      1 frame
    28. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      6 frames
    29. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      2 frames
    30. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      3 frames
    31. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
      1 frame
    32. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    33. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame