oc4j 10.1.3.4.0上的JSP编译错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oc4j 10.1.3.4.0上的JSP编译错误相关的知识,希望对你有一定的参考价值。

我有两个网络应用程序,App A和App B.在我当地的独立OC4J上,两者都运行正常。当我将它们部署到远程OC4J(而不是独立版本)时,App A工作正常,但对于App B,我尝试并显示的每个JSP都会出现JSP编译错误。但是,常规html文件显示正常。这两个Web应用程序都包含在一个单独的EAR文件中,并且它们是部署在两个系统上的相同EAR文件。下面是application.log文件的输出示例。在任何日志文件中似乎都没有任何关于JSP无法编译的原因的提示。 web.xml,application.xml和orion-application.xml看起来很好。我可能在部署中丢失了一些jar文件吗?这个问题的根源是什么?

14/07/09 16:05:01.39 ifactory-security: JspServlet: unable to dispatch to requested page: oracle.jsp.provider.JspCompileException: <H3>Errors compiling:/icu/ias/dev/ifactory/10.1.3/j2ee/ifactory/application-deployments/ifactory-security/ifactory-security/persistence/_pages//_simple.java</H3><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:64)
    at com.icumed.ifactory3.web.common.ServletRequestListener.doFilter(ServletRequestListener.java:79)
    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:889)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Unknown Source)
答案

找到了答案。在问题环境中,我们最近升级了Java版本。但是,出现了一个错误,OC4J最终使用的是JRE而不是JDK,因此没有编译器存在。

以上是关于oc4j 10.1.3.4.0上的JSP编译错误的主要内容,如果未能解决你的问题,请参考以下文章

Oracle 11g RAC oc4j/gsd Offline

OC4J Configuration issue. /u01...dbhome_1/oc4j/j2ee/OC4J_DBConsole_orcl-db-01_orcl not found.

错误记录Android Studio 编译报错 ( VirtualApp 编译 NDK 报错 | Error:A problem occurred configuring project ‘: )(代

错误记录Android Studio 编译报错 ( VirtualApp 编译 NDK 报错 | Error:A problem occurred configuring project ‘: )(代

错误记录Android Studio 编译报错 ( Cannot use connection to Gradle distribution . as it has been stopped. )(代

JSP编译错误:无法解析数组