2 Replies Latest reply: Aug 6, 2012 9:09 AM by 112491 RSS

    Servlet error: exception occurred ... - when I nav to Public pages

    112491
      My app's home page and other pages throw this error. Each page that throws this error have the page attributes of Authentication=Page is Public. My Authentication scheme is the apex built-in scheme. I do not experience this error if I create a new small proof of concept based on this apps concept. I am properly prompted to login on all the other pages and when authenticated, this error does not occur. This app was originally built and deployed with the Authentication scheme = No Authentication (using DAD). I've tried with the APEX listener 1.3 and 1.4.

      The browser simply only displays the following when I try to go to http://x.x.x.x:8888/apex/f?p=119:1
      Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.

      Here is what I found in the application log ($OC4J_HOME)/j2ee/home/apex/application.log

      12/08/05 13:19:40.115 apex: Servlet error
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(String.java:1937)
      at oracle.dbtools.apex.OWA.getPage(OWA.java:196)
      at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:179)
      at oracle.dbtools.apex.ModApex.doGet(ModApex.java:77)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at oracle.dbtools.rt.web.HttpEndpointBase.defaultServlet(HttpEndpointBase.java:133)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:90)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
      at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)