javax.ejb.EJBException: setReadOnly: Read-only connections not supported

Oracle Community | 3004 | 1 decade 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

    Connection.setReadOnly(true) fails in clustered Weblogic8.1

    Oracle Community | 1 decade ago | 3004
    javax.ejb.EJBException: setReadOnly: Read-only connections not supported

    Root Cause Analysis

    1. javax.ejb.EJBException

      setReadOnly: Read-only connections not supported

      at com.hartfordlife.gbd.pvev.ejb.ebilling.ElectronicBillingEJB.getInvoiceListing()
    2. com.hartfordlife.gbd
      ListTag.doStartTag
      1. com.hartfordlife.gbd.pvev.ejb.ebilling.ElectronicBillingEJB.getInvoiceListing(Unknown Source)
      2. com.hartfordlife.gbd.pvev.ejb.ebilling.ElectronicBilling_vn4bdv_EOImpl.getInvoiceListing(ElectronicBilling_vn4bdv_EOImpl.java:410)
      3. com.hartfordlife.gbd.pvev.web.control.ElectronicBillingWebImpl.getInvoiceListing(Unknown Source)
      4. com.hartfordlife.gbd.pvev.web.taglib.InvoiceListTag.findCollection(Unknown Source)
      5. com.hartfordlife.gbd.pvev.web.taglib.ListTag.doStartTag(Unknown Source)
      5 frames
    3. jsp_servlet._view
      __ebill_invoice_list._jspService
      1. jsp_servlet._view.__ebill_invoice_list._jspService(__ebill_invoice_list.java:1893)
      1 frame
    4. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
      1 frame
    5. Atmosphere weblogic
      RequestDispatcherImpl.forward
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
      4. weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:301)
      4 frames
    6. com.hartfordlife.gbd
      ControllerServlet.doPost
      1. com.hartfordlife.gbd.pvev.web.control.ControllerServlet.doGet(UnknownSource)
      2. com.hartfordlife.gbd.pvev.web.control.ControllerServlet.doPost(Unknown Source)
      2 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    8. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
      4 frames
    9. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
      1 frame
    10. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
      1 frame
    11. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
      2 frames
    12. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
      2 frames