OC4J JSP Error compiling

Using: OC4J Standalone, JDK 1.4
Servelets work OK but JSPs fail to compile. Is this a problem using JDK1.4 (and if so is it possible to tell OC4J to use a lower version)
Thanks
The error (running the OC4J Date sample http://localhost:8888/examples/jsp/dates/date.jsp):
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\oc4j_extended\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_dates\_date.java
error: Invalid class file format in c:\j2sdk1.4.0_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\oc4j_extended\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_dates\_date.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package examples.jsp._dates;
^
2 errors

Ahhh after experimenting I realized what happened:
1.) The search does not look for words in the Title (only looks in the Body)
2.) The search does not look for occurances of words if they appear anywhere in the doc but rather only for exact phrase.
So for the doc you gave me (http://forums.oracle.com/forums/message.jsp?id=767439) here is a test:
[Search phrase] [did the doc come up?] [comment]
[oc4j doesn't compile JSPs with JDK 1.4?] [no] [the doc title]
[JSPs shipped with oc4j] [yes] [exact phrase in body]
[JSPs shipped oc4j] [no] [words in body but not exact phrase]
OK I have way to much time on my hands I see -- he he ... but I'm just putting this info out (respectfully of course) just so the forum owner will have the info so maybe he/she might want to change way search is done (add title, etc).
Best regards
Matt

Similar Messages

  • Jdeveloper toolbox -  links fail with "Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java"

    Hi,
    I'm running 12.1.3 in virtualbox and the OAF toolbox tutorials work after logging onto EBS.
    After installing jdeveloper (on windows 8) and doing the documented setup, even the "Hello World" test fails when run in jdeveloper.
    I've double checked the setup and that the jdeveloper patch version is right (p9879989_R12_GENERIC)
    and have the "Default Local IP address" checkbox selected as well.
    I guess some windows install/config is incorrect,but don't know what.  Any ideas?
    Thanks.
    The exact browser error is -
    500 Internal Server Error
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    OracleJSP:oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java
    and the full stack is  -
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    C:\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\jdevbin\j2ee\home\oc4j.jar;C:\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /C:/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 10061 ms.
    Target URL -- http://192.168.56.1:8988/OA_HTML/test_fwktutorial.jsp
    13/12/26 11:09:29 Oracle Containers for J2EE 10g (10.1.3.3.0)  initialized
    26/12/2013 11:09:44 oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
    INFO: Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
        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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)

    Hi,
    i think you missed JDEV_HOME environment variable.
    below blog may help,
    Oracle Apps By Kishore: Steps to make JDeveloper Environment

  • Standalone OC4J can't compile JSPs?

    I've been following this tutorial: http://www.eclipse.org/webtools/community/tutorials/OracleServerAdapter/OracleServerAdapter.html
    in order to get my Eclipse working with my 10.1.3 standalone OC4J server.
    However, every time I try to run the index.jsp page, I get the following error:
    J2EE JSP0008 Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\ORACLE\oc4j\j2ee\home\application-deployments\DemoOC4J\DemoOC4J\persistence\_pages\\_index.java</H3><pre></pre>
    I imagine that there's some sort of java path error of some sort but I can't seem to figure out what it would be. I have my JAVA_HOME set to my JDK 1.5 . ( \jdk1.5.0_11 ). Any ideas or pointers as to what I need to do to get this thing going?
    Thanks

    After digging for days, I found this thread:
    OC4J Preview - JSP not problem
    Turns out that Eclipse set it's Java library defaults to the JRE directory and not the JDK. After changing it to the JDK, I've got JSP compilation success!

  • Error in JSP Page Compilation

    Hi...I found following error during my jsp page compilation...I am using Tomcat Server 4.1.18 as a server.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:43: cannot resolve symbol
    [javac] symbol : class LoginManager
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] LoginManager loginManager = null;
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:45: cannot resolve symbol
    [javac] symbol : class LoginManager
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] loginManager = (LoginManager) pageContext.getAttribute("loginManager", PageContext.APPLICATION_SCOPE);
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:48: cannot resolve symbol
    [javac] symbol : class LoginManager
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] loginManager = (LoginManager) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LoginManager");
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:58: cannot resolve symbol
    [javac] symbol : class UserCredentials
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] UserCredentials credentials = null;
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:60: cannot resolve symbol
    [javac] symbol : class UserCredentials
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] credentials = (UserCredentials) pageContext.getAttribute("credentials", PageContext.SESSION_SCOPE);
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:63: cannot resolve symbol
    [javac] symbol : class UserCredentials
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] credentials = (UserCredentials) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "UserCredentials");
    [javac] ^
    [javac] 6 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)

    This is my jsp file..i have also kept all my class files in respective folder..still i have this error...i have kept my class files into /WEB-INF/
    -classes
    com
    chintan
    webapps folder
    <%@ page language="java" %>
    <%@ page import="com.chintan.webapps.LoginManager" %>
    <%@ page import="com.chintan.webapps.UserCredentials" %>
    <jsp:useBean id="loginManager" class="com.chintan.webapps.LoginManager" scope="application" />
    <jsp:useBean id="credentials" class="com.chintan.webapps.UserCredentials" scope="session" />
    <jsp:setProperty name="credentials" property="*" />
    <html>
    <head>
    <title>
    User Validation JSP Page
    </title>
    </head>
    <body>
    <%! String nextPage; %>
    <%
    if(loginManager.login(credentials)){
    nextPage = "Mainmenu.jsp";
    }else if(loginManager.isLoggedIn(credentials)){
    nextPage = "Duplicate.jsp";
    }else{
    nextPage = "loginFailure.jsp";
    out.println(nextPage);
    %>
    <jsp:forward page="<%= nextPage %>" />
    </body>
    </html>

  • Urgent: JSP gives compilation error in one environment, but works OK in another. wls 6.1 on Solaris

              I have tried a lot searching for such issue, but cd not find any solution which
              cd help me.
              We have a jsp which compiles well in one enviroment, but does not compile in another.
              The enviroment in which it compiles is as follows:
              OS: Solaris 2.6, Patch level 32
              wls version: 6.1 with no service pak
              The enviroment in which it does not compile is as follows:
              OS: Solaris 8, Patch level 19
              wls version: 6.1 with no service pak
              In the second enviroment, it gives the folowing error, when invoked...
              //error start....
              /requisition/reqteamwiz.jsp(532): scriptlet close brace '}' unbalanced at line
              532 which breaks scope '_base_service_scope_'
              probably occurred due to an error in /requisition/reqteamwiz.jsp line 532:
              <strong><font face="Verdana" size="1"><input type="button" style="font-family:
              Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
              '<%= i%>')"></td></font></strong>
              //error end
              The line seems OK, and this works fine in the first enviroment.
              Cd anyone pls give any suggestions or references as to any known issues with the
              second enviroment.
              Thanks a lot...
              

              [email protected] (David M. Karr) wrote:
              >>>>>> "vinay" == vinay s <[email protected]> writes:
              >
              > vinay> I have tried a lot searching for such issue, but cd not find
              >any solution which
              > vinay> cd help me.
              > vinay> We have a jsp which compiles well in one enviroment, but does
              >not compile in another.
              > vinay> The enviroment in which it compiles is as follows:
              > vinay> OS: Solaris 2.6, Patch level 32
              > vinay> wls version: 6.1 with no service pak
              >
              > vinay> The enviroment in which it does not compile is as follows:
              > vinay> OS: Solaris 8, Patch level 19
              > vinay> wls version: 6.1 with no service pak
              >
              > vinay> In the second enviroment, it gives the folowing error, when
              >invoked...
              > vinay> //error start....
              > vinay> /requisition/reqteamwiz.jsp(532): scriptlet close brace '}'
              >unbalanced at line
              > vinay> 532 which breaks scope '_base_service_scope_'
              > vinay> probably occurred due to an error in /requisition/reqteamwiz.jsp
              >line 532:
              > vinay> <strong><font face="Verdana" size="1"><input type="button"
              >style="font-family:
              > vinay> Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
              > vinay> '<%= i%>')"></td></font></strong>
              > vinay> //error end
              >
              > vinay> The line seems OK, and this works fine in the first enviroment.
              > vinay> Cd anyone pls give any suggestions or references as to any
              >known issues with the
              > vinay> second enviroment.
              > vinay> Thanks a lot...
              >
              >If you use an expression scriptlet for an attribute value, it has to
              >be the
              >entire attribute value, not just a portion of it.
              >
              >--
              >===================================================================
              >David M. Karr ; Java/J2EE/XML/Unix/C++
              >[email protected] ; SCJP; SCWCD
              >
              >
              I am using the scriplet for entire value, seems the post got jumbled up.
              FrontPage_Form1_Validator is a javascript function which takes 2 parameters, one
              of which is provided by the expression scriplet.
              <strong><font face="Verdana" size="1"><input type="button" style="font-family:
              Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
              '<%= i%>')"></td></font></strong>
              

  • Getting error in JSP at compile time:

    Hello,
    I am getting this error in JSP at compile time, have no idea whatd going wrong here..!! Everything in the code looks good.
    Please help..!! The error is:
    Error 500: Unable to compile class for JSP /opt/WebSphere/AppServer/temp/jasi80corpgeNode/HRAppServer/Billinginterface/BillingInterfaceWEB.war/_select_5F_course.java:188: Type expected. } catch (Throwable t) { ^ 1 error                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Everything looks good, but then you can never spot your own mistakes :-)
    There are a couple of things.
    1 - curly brackets in scriptlets. Make sure they are all opened and closed correctly.
    2 - Custom tags (JSTL and the like) need to be closed. If it is a simple tag, have you forgotten the slash before the closing angle bracket? ie is it <c:out value="hello"> when it should be <c:out value="hello"/>
    Take a look at the generated java code at /opt/WebSphere/AppServer/temp/jasi80corpgeNode/HRAppServer/Billinginterface/BillingInterfaceWEB.war/_select_5F_course.java, line 188
    See if you can make any sense out of the java file generated from the jsp
    If you want any more specific help than this, please post some jsp code :-)
    If you don't want to do that, I would recommend commenting all the code out with <%-- --%>
    get it to compile, and then uncomment a bit at a time
    Good luck,
    evnafets

  • Error compiling [/jsps/explorer/enterwsdl_main.jsp] of alias [wsnavigator]

    hello
    I am getting the above error when I try to start the Web Services Navigator in my J2EE engine of Solution Manager 4.0 system.
    I am on NW 7.0 Java Components SP10.
    The full error message is:
    500 Internal Server Error
    com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
      Error compiling [/jsps/explorer/enterwsdl_main.jsp] of alias [wsnavigator] of J2EE application
    Can anyone help me out please? Or is it a case of just applying the latest SP?
    Many Thanks
    Steve

    I have had a suggestion that I need to make sure that tools.jar is in the classpath for Tomcat. How can you get the value of variables Tomcat is using such as its CLASSPATH or JAVA_HOME ? Where are these set ? I assume that there must be a config file someplace...
    Thanks in advance for any suggestions,
    -James

  • Error Compiling JSP

    I am running a custum OA page and forward it to a jsp page. I got all the jtf class and jsp files in my directory, Also added jtf/jar to my additional classpath project settings ,but gives me the following error:
    Errors compiling:C:\JdevIDE\jdevhome\jdev\myclasses\.jsps\\_jtfacerr.java
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    method getExceptionStackTrace(java.lang.Throwable) not found in class oracle.apps.jtf.admin.adminconsole.HtmlWriter
    Where as this method is sitting in the right directory. Do I need to setup OJSPCOMPILE utility and/or apply Patch 2886919 "Precompiler for JSP Pages"
    any suggestions please.Thanks

    I did as you suggested. but same error pops up.
    On my OAF page , I have submit button, which calls a CO and there I am forwarding the control to a jsp page which has some includes:
    example-
    <%@include file="jtfincl.jsp" %>
    "hello jsp"
    If I remove the include , I get hello jsp printed on the page.
    I went through 'Launching a JTT Page from an OA Framework Application'
    but did not get any clue how to implement it in my custom application.
    would JTF files go under jdev/myhtml/OA_HTML ?
    I have put all the classes under oracle/apps/jtf
    Any reference to how to set the classpath for jtf files, in OA would be a great help.
    Thanks

  • Error compiling CitiesSql.jsp /SessionBean/

    http://otn.oracle.com/sample_code/tech/java/jsp/htdocs/jspdemo/jspdemohome.html
    jsp Samples - SessionBean.jws/CitiesSql.jsp
    Error:(40)cannot access class oracle.jsp.jml.JmlFPNumber;
    file oracle\jsp\jml\JmlFPNumber.class not found.
    Error: (40) cannot access class oracle.jsp.jml.JmlNumber;
    file oracle\jsp\jml\JmlNumber.class not found.
    Error: (40) cannot access class oracle.jsp.jml.JmlBoolean;
    file oracle\jsp\jml\JmlBoolean.class not found.
    Any idea ? missing *.jar ? which one ?
    Thanks Nasko

    Hi,
    I think [SAP NetWeaver AS, Java |SAP NetWeaver Application Server; will be more suitable.
    I suggest to get more detailed traces at J2EE logs. because the statement : Error compiling ... , doesn't help much.
    Probably, you could start with some basic checks on environment variable JAVA_HOME, profile parameter 'jstartup/vm/home', go through standard notes like below to check the recommended JVM settings,...
      #723909 - Java VM settings for J2EE 6.40/7.0
      #716604 - Access to Sun J2SE and recommended J2SE options
    Regards,
    Vincent

  • Error compiling JSP packages

    Please help.
    I have downloaded the J2EE package - Server, Tutorial, etc. I am trying to get a BASIC jsp page with a single class to compile, but haven't had any luck.
    Server error message is:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:348)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:424)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         etc, etc, etc.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The Server log shows:
    [#|2004-04-20T15:13:27.286-0500|SEVERE|j2ee-appserver1.4|org.apache.jasper.compiler.Compiler|_ThreadID=12;|Env: Compile: javaFileName=/C:/Sun/AppServer/domains/domain1/generated/jsp/j2ee-modules/default-web-module-server//org/apache/jsp/ch06\ch06_jsp.java
    classpath=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server;/C:/Sun/AppServer/lib/install/applications/__xa/
    cp=C:\Sun\AppServer\lib\commons-launcher.jar;C:\Sun\AppServer\jdk\lib\tools.jar;C:\Sun\AppServer\lib\admin-cli.jar;C:\Sun\AppServer\lib\appserv-admin.jar;C:\Sun\AppServer\lib\appserv-upgrade.jar;C:\Sun\AppServer\lib\appserv-ext.jar;C:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\lib\appserv-cmp.jar;C:\Sun\AppServer\lib\appserv-jstl.jar;C:\Sun\AppServer\lib\j2ee-svc.jar;C:\Sun\AppServer\lib\commons-logging.jar;C:\Sun\AppServer\lib\activation.jar;C:\Sun\AppServer\lib\mail.jar;C:\Sun\AppServer\lib\jaxr-api.jar;C:\Sun\AppServer\lib\jaxr-impl.jar;C:\Sun\AppServer\lib\jax-qname.jar;C:\Sun\AppServer\lib\jaxrpc-api.jar;C:\Sun\AppServer\lib\jaxrpc-impl.jar;C:\Sun\AppServer\lib\relaxngDatatype.jar;C:\Sun\AppServer\lib\xsdlib.jar;C:\Sun\AppServer\lib\saaj-api.jar;C:\Sun\AppServer\lib\saaj-impl.jar;C:\Sun\AppServer\lib\appserv-rt.jar;C:\Sun\AppServer\lib\tools.jar;C:\Sun\AppServer\jdk/lib/tools.jar;C:\Sun\AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:\Sun\AppServer\imq\lib/imq.jar;C:\Sun\AppServer\imq\lib/jaxm-api.jar;C:\Sun\AppServer\imq\lib/imqadmin.jar;C:\Sun\AppServer\imq\lib/imqutil.jar;C:\Sun\AppServer\imq\lib/fscontext.jar;C:\Sun\AppServer\imq\lib/providerutil.jar;C:\Sun\AppServer/lib/ant/lib/ant.jar;C:\Sun\AppServer/pointbase/lib/pbclient.jar;C:\Sun\AppServer/pointbase/lib/pbembedded.jar
    cp=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server
    cp=C:\Sun\AppServer\lib\install\applications\__xa
    extension dir=C:\Sun\AppServer\jdk/jre/lib/ext;C:\Sun\AppServer\domains\domain1/lib/ext
    work dir=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server
    srcDir=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server
    include=org/apache/jsp/ch06/ch06_jsp.java
    |#]
    [#|2004-04-20T15:13:27.286-0500|SEVERE|j2ee-appserver1.4|org.apache.jasper.compiler.Compiler|_ThreadID=12;|Error compiling file: /C:/Sun/AppServer/domains/domain1/generated/jsp/j2ee-modules/default-web-module-server//org/apache/jsp/ch06\ch06_jsp.java     [javac] Compiling 1 source file
    [javac] C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server\org\apache\jsp\ch06\ch06_jsp.java:6: package ch06a does not exist
    [javac] import ch06a.ch06class; I have also tried "import ch06a.*" with the same results.
    [javac] ^
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Autoexec.bat reads:
    SET PATH=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;c:\Sun\AppServer\share\bin;c:\Sun\AppServer\jdk\jre\bin;
    SET JAVA_HOME=c:\Sun\AppServer\jdk;
    SET J2EE_HOME=C:\Sun\AppServer;
    SET CLASSPATH=C:\Sun\AppServer\lib\j2ee.jar;c:\Sun\AppServer\jdk\lib\tools.jar;c:\Sun\AppServer\domains\domain1\lib\classes;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I am developing the jsp in c:\Sun\AppServer\domains\domain1\docroot\ch06 (I know that I shouldn't, but I am trying anything at this point).
    ch06 structure is
    |-WEB-INF
    |-classes
    | |-ch06a
    | |-ch06class.class
    |-lib
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ch06.jsp:
    <%@ page import="ch06a.*" %>
    <HTML>
         </HEAD>
              <TITLE>Using a JavaBean</TITLE>
         <HEAD>
         <BODY>
              <H3>Using a JavaBean</H3>
              <% ch06class messager = new ch06class(); %>
              The message is: <%= messager.msg() %>
         </BODY>
    </HTML>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ch06class.java:
    package ch06a;
    public class ch06class{
         public ch06class(){
         public String msg(){
              return "Hello from JSP!";
    Please let me know if I can supply anymore information.
    Thanks

    Make sure have the latest version of the application server. The previous release had a bug as described in this thread:
    http://forum.java.sun.com/thread.jsp?forum=136&thread=473280
    Here is a reply from that thread from one of the Web container engineers:
    The error message about the missing Java compiler is misleading, and is being caused by a bug in the way compilation error messages are being propagated.
    This problem has been fixed in the latest Appserver 8.0 PE release.
    I think your JSP fails to compile because of an error in your JSP. Your appserver log should contain the real compilation error. Can you check?
    BTW, the date example describe in this chapter does contain a class file:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro2.html#wp84418

  • Errors compiling:C:\temp\docroot\3000\default\defaultWebApp\persistence\_pa

    Dear Sir,
    Iam getting below year while compiling the oracle report 10g.
    Errors compiling:C:\temp\docroot\3000\default\defaultWebApp\persistence\_pages\\_RC_2g_000405352.java
    How can i solve this?
    Pls help me on this issue..
    Thanks

    Ahhh after experimenting I realized what happened:
    1.) The search does not look for words in the Title (only looks in the Body)
    2.) The search does not look for occurances of words if they appear anywhere in the doc but rather only for exact phrase.
    So for the doc you gave me (http://forums.oracle.com/forums/message.jsp?id=767439) here is a test:
    [Search phrase] [did the doc come up?] [comment]
    [oc4j doesn't compile JSPs with JDK 1.4?] [no] [the doc title]
    [JSPs shipped with oc4j] [yes] [exact phrase in body]
    [JSPs shipped oc4j] [no] [words in body but not exact phrase]
    OK I have way to much time on my hands I see -- he he ... but I'm just putting this info out (respectfully of course) just so the forum owner will have the info so maybe he/she might want to change way search is done (add title, etc).
    Best regards
    Matt

  • JSP not compiled by JASPER, but OK by hand

    If I alter my JSPs, I get the message at the bottom. However, if I go to the work directory and manually do a JAVAC on the _jsp.java file, it compiles fine and I can refresh the page and it is now fine.  I'm using a bean, and to make it work by hand had to move it into the work directory under its package name.  Is the \/*.jsp in the source name causeing this error?
    I am using APACHE 2, TOMCAT 4.1, ANT 1.4 and mod_jk on a Windows 2000 server machine.
    Following this message is the relavent parts of my environment variables:
    ======================================================
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    2002-10-11 08:39:59 Error compiling file: D:\Programs\Apache\Tomcat\work\Standalone\localhost\_\/ISS_jsp.java [javac] Compiling 1 source file
    ======================================================
    ANT_HOME=D:\Programs\Apache\Ant
    APACHE_HOME=D:\Programs\Apache\Apache2
    CATALINA_HOME=D:\Programs\Apache\Tomcat
    CLASSPATH=.;D:\Programs\SQLLIB\java\db2java.zip;D:\Programs\SQLLIB\java\runtime.zip;d:\java\jdk1.4\lib\ext\QTJava.zip;D:\JAVA\JDK1.4
    \lib;D:\JAVA\J2EE\lib\j2ee.jar;D:\JAVA\J2EE\lib\jhall.jar;
    DB2INSTANCE=DB2
    DB2TEMPDIR=D:\Programs\SQLLIB
    J2EE_HOME=D:\JAVA\J2EE
    JAVA_HOME=D:\JAVA\JDK1.4
    JDK_HOME=D:\JAVA\JDK1.4
    libpath=.;D:\JAVA\JDK1.4\lib;D:\JAVA\J2EE\lib;
    Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\Programs\SQLLIB\BIN;D:\Programs\SQLLIB\FUNCTION;D:\Programs\SQLLIB\SAMPLES
    \REPL;D:\Programs\SQLLIB\HELP;D:\IMNNQ_NT;d:\Programs\PGPNT;D:\JAVA\JDK1.4\bin;D:\JAVA\J2EE\bin;;D:\Programs\PROTEC~1
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0801
    QTJAVA="d:\java\jdk1.4\lib\ext\QTJava.zip"

    I have this error too...
    In log of tomcat it appears the following error:
    2002-11-27 09:16:55 Error compiling file: C:\Arquivos de programas\Apache Group\Tomcat 4.1\work\Standalone\localhost\fms\/index_jsp.java [javac] Compiling 1 source file
    I believe that the error occurs due to ?... \/index_jsp.java? that it appears in the message.
    Where I can correct this error?
    Help-me...
    Mr. Darcy
    In browser it appers the following error:
    Type:Exception report
    message description: The server encountered an internal error () that prevented it from fulfilling this request.
    exception :
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)

  • Oracle 9iAS R2 - reports are not working  - JSP Error

    dear All
    We are having issue in our Oracle 9i AS R2, the reports are not working, this thing happend suddenly , while runing any report the following messages are coming
    ==============
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/repdemo/examples/Tools/test.jsp
    Exception:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at examples.tools._test._jspService(_test.java:292)
         [SRC:/examples/Tools/test.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    -=================
    please help to resolve this issue.
    thanks in advance.
    regards

    Dear All
    Just to share the solution of the problem.
    We restarted the XServer which is on the other machine then Oracle 9i AS Middle Tiere and Infra. Once we restarted the XServer machine, and restarted the reports server , every thing back to normal.
    regards

  • Error compiling with extends attribute

    I've got an abstract class I would like to extend in a JSP.
    I can get it to work with other classes but not in my JSP.
    <%@page extends="com.websource.database.Connections"%>
    If I remove this the JSP will compile. But when included I get an error like:
    getPageContext(javax.servlet......) cannot be applied to....
    Any advice would be most appreciated.

    To quote the JSP spec:
    "The creation of the implementation class for a JSP page may be done solely by the JSP
    container, or it may involve a superclass provided by the JSP page author through the use of
    the extends attribute in the jsp directive. The extends mechanism is available for
    sophisticated users and it should be used with extreme care as it restricts what some of the
    decisions that a JSP container can take, e.g. to improve performance.
    The JSP page implementation class will implement Servlet and the Servlet protocol
    will be used to deliver requests to the class."
    i.e you need to implement all the methods of javax.servlet plus probably HttpJspPage as well. Is this what you are trying to do?

  • JSP Error:   Request URI:/OA_HTML/OA.jsp after RUP 7

    Good day,
    After successfully applying   6241631 (RUP7)
    I am getting this error after supplying username and password to enter the EBS homepage.
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    java.lang.NoSuchMethodError: oracle.apps.fnd.framework.webui.OAWebBeanMetaData.getStyle(Loracle/apps/fnd/framework/webui/OAPageContext;)Ljava/lang/String;
    I don't see anything in my log files to further explain this error nor on the web.
    OS: ORHEL 4
    DB:10Gr2
    Regards,
    Shridath.

    Good day Hussein,
    I am on 11.5.10.2.
    Patch and pre-reqs were applied successfully to the best of my knowledge. (I am not not ruling out the possibility of missing a pre-req patch)
    No errors in the database log file.
    select count(*)
    from dba_objects
    where status='INVALID';
    *356
    The file header
    $Header OAWebBeanMetaData.java 115.10 2001/09/21 14:36:56 pkm ship   $
    I have also reviewed the bugs stated in the documents, but none speaks specifically to my error.
    I am currently reviewing the compilation errors of the in the adworker logs.
    Regards,
    Shridath.

Maybe you are looking for