B
badgerduke
We are running into an error whenever we try to access a JSP. I am
running a OC4J (OAS 10g) instance (10.1.3.3.0) on a server with Java 5
and Solaris. The app works on other servers.
I set
JAVA_HOME=$ORACLE_HOME/jdk/bin on the server
I also changed /ORACLE_HOME/opmn/conf/opmn.xml:
<category id="start-parameters">
<data id="java-options" value="-server -Xmx1024M -Xms512M -
Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2
..policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -
XX:MaxPermSize=256M -XX:AppendRatio=3"/>
<data id="java-bin" value="/apps/oracle/product/appserver/AS1/jdk/bin/
java"/>
</category>
I also added to /ORACLE_HOME/j2ee/home/config/oc4j.properties:
oracle.j2ee.home=/ORACLE_HOME/j2ee/home
Here is the exception:
08/04/21 09:15:59.314 ashdash: JspServlet: unable to dispatch to
requested page: oracle.jsp.provider.JspCompileException:
Errors compiling:/apps/oracle/product/appserver/AS1/j2ee/home/
application-deployments/ashdash/ashdash/persistence/_pages//
_entry.java
<pre>< /pre> at
oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304) at
oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:
731) at
oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:
456) at
oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:
413) at
oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:
694) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:
414) at
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:
65) at ashdash.RemoteAddressFilter.doFilter(RemoteAddressFilter.java:
76) at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:
623) at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:
370) at
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:
871) at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:
453) at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:
302) at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:
190) at oracle.oc4j.network.ServerSocketReadHandler
$SafeRunnable.run(ServerSocketReadHandler.java:260) at
com.evermind.util.ReleasableResourcePooledExecutor
$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at
java.lang.Thread.run(Thread.java:595)
Precompiling the JSPs did not help. Any help would be greatly
appreciated.
John
running a OC4J (OAS 10g) instance (10.1.3.3.0) on a server with Java 5
and Solaris. The app works on other servers.
I set
JAVA_HOME=$ORACLE_HOME/jdk/bin on the server
I also changed /ORACLE_HOME/opmn/conf/opmn.xml:
<category id="start-parameters">
<data id="java-options" value="-server -Xmx1024M -Xms512M -
Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2
..policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -
XX:MaxPermSize=256M -XX:AppendRatio=3"/>
<data id="java-bin" value="/apps/oracle/product/appserver/AS1/jdk/bin/
java"/>
</category>
I also added to /ORACLE_HOME/j2ee/home/config/oc4j.properties:
oracle.j2ee.home=/ORACLE_HOME/j2ee/home
Here is the exception:
08/04/21 09:15:59.314 ashdash: JspServlet: unable to dispatch to
requested page: oracle.jsp.provider.JspCompileException:
Errors compiling:/apps/oracle/product/appserver/AS1/j2ee/home/
application-deployments/ashdash/ashdash/persistence/_pages//
_entry.java
<pre>< /pre> at
oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304) at
oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:
731) at
oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:
456) at
oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:
413) at
oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:
694) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:
414) at
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:
65) at ashdash.RemoteAddressFilter.doFilter(RemoteAddressFilter.java:
76) at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:
623) at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:
370) at
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:
871) at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:
453) at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:
302) at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:
190) at oracle.oc4j.network.ServerSocketReadHandler
$SafeRunnable.run(ServerSocketReadHandler.java:260) at
com.evermind.util.ReleasableResourcePooledExecutor
$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at
java.lang.Thread.run(Thread.java:595)
Precompiling the JSPs did not help. Any help would be greatly
appreciated.
John