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

Similar Messages

  • Error Compilation When I browse JSP with bean, please Help Me

    Hello,
    I am new in EJB. I have a problem that I am not understand. please help me.
    I have write my bean and deploy it using JRUN server. The name is SpellCheck.jar
    But when I called the bean from JSP page, always error. Here is my JSP page.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <jsp:useBean id="help" scope="request" class="projsp.SpellCheck"/>
    <jsp:setProperty name="help" property="*"/>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    You Entered the input,
    <b>
    <%= request.getParameter("word") %>
    </b>
    <br>
    The processed output is:<br>
    <%= integer.parseInt(request.getparameter("mode"))==1 ?help.reverse():""+help.check() %>
    </body>
    </html>
    and the error messages is:
    Compilation error occured:
    allaire.jrun.scripting.DefaultCFE:
    Errors reported by compiler:Compilation of file 'C:\Program Files\Allaire\JRun\servers\default\veronika\WEB-INF\jsp\jrun__wordpro2ejspc.java' failed with no errors. Please check that your compiler is a working compiler.
    at allaire.jrun.scripting.JavaCompilerService.compile(../scripting/JavaCompilerService.java:100)
    at allaire.jrun.jsp.Translator.compilePage(../jsp/Translator.java:247)
    at allaire.jrun.jsp.Translator.translate(../jsp/Translator.java:399)
    at allaire.jrun.jsp.Translator.translate(../jsp/Translator.java:92)
    at allaire.jrun.jsp.JSPTranslator.translate(../jsp/JSPTranslator.java:75)
    at allaire.jrun.jsp.JSPTranslator.translate(../jsp/JSPTranslator.java:67)
    at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:216)
    at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:196)
    at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
    at allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)
    at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
    at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)
    at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
    at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
    at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
    at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
    at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
    at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
    but if I delete the syntax for calling Bean (usebean, setProperty, and request.getParameter) the browser run properly. Can anybody help me, please?
    thanks
    Veronika

    Hi Veronika,
    The <jsp:usebean> is used for only javabeans not EJB (Enterprise javabean). You said that you have deployed SpellCheck.jar to the JRun server. So that must be an EJB. Where are you accessing this EJB from in your JSP? ARe you doing it inside the projsp.SpellCheck javabean? If yes, can you post some code from the javabean.
    Cheers
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <jsp:useBean id="help" scope="request" class="projsp.SpellCheck"/>
    <jsp:setProperty name="help" property="*"/>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    You Entered the input,
    <b>
    <%= request.getParameter("word") %>
    </b>
    <br>
    The processed output is:<br>
    <%= integer.parseInt(request.getparameter("mode"))==1 ?help.reverse():""+help.check() %>
    </body>
    </html>

  • Error compiling expressions in custom JSP tags

    We had the same problem and we have found the same solution. Not to nice.
              Jan
              

    Here is what I have set up:
    custom.jsp:
    <%@ taglib uri="/WEB-INF/tlds/mytags.tld" prefix="my" %>
    <!-- <%@ taglib uri="myTags" prefix="my" %> -->
    <HTML>
    <HEAD>
    <TITLE>Custom tag example</TITLE>
    </HEAD>
    <BODY>
    <H1>Custom tag Example</H1>
    <my:wrapper style="k001">
         <b>hello!</b>
    </my:wrapper>
    </BODY>
    </HTML>
    Under WEB-INF/tlds, I placed mytags.tld:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>MyTags</short-name>
    <tag>
    <name>wrapper</name>
    <tag-class>mytaglib.WrapperTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <name>style</name>
    <required>true</required>
    </attribute>
    </tag>
    </taglib>
    I've seen examples for jsp-version 1.1 and 1.2. Can you suggest what should be placed in <uri>...</uri>
    Do you think I have a problem with my tomcat config or compiling the java class?
    Thanks.

  • 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

  • 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

  • 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

  • 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

  • Error: method extraHandlePCFinally(javax.servlet.jsp.PageContext, boolean)

    I have the same error, im using jdeveloper 10g(9.05.2)

    I am currently getting the same issue when compiling the project with JSPs. My version of JDeveloper is 10g (9.0.5)

  • Error when trying to run jsp on oas4081

    Hi there!
    As many others before, I'm trying to get jsp to run on oas4081. Although I think I did everything what the docs (and the other posts here) say, I get an error.
    Here is what I did:
    * download ojsp.zip
    * add a JServlet application
    * under ENVIRONMENT VARIABLES of that app I included %ORACLE_HOME%/ows/cartx/jweb/classes/ojsp.jar
    (yes, I copied the ojsp.jar to that location; there already is a jservlet.jar, and I can run servlets, so I didn't bother about adding a servlet.jar anymore, as the manual said)
    * under JAVA ENVIRONMENT I added DELEGATE_SERVLET_CLASS (left) and oracle.jsp.JspServlet (right)
    * under WEB PARAMETERS I added htm, html to the mime-types field
    Here is what I get when accessing http://myserver/jsp_samples/hellouser.jsp:
    JSP Error
    Request URI: /jsp_sample/hellouser.jsp
    Exception:
    java.lang.IllegalStateException: Unable to determine real path from the servlet context
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.lang.RuntimeException.(Compiled Code)
    at java.lang.IllegalStateException.(Compiled Code)
    at oracle.jsp.provider.JspFSServletContextResource.getRepositoryRoot(Compiled Code)
    at oracle.jsp.provider.JspFSServletContextResource.init(Compiled Code)
    at oracle.jsp.app.JspAppLoader.getApplication(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at oracle.OAS.servlet.servletrunner.exec(Compiled Code)
    Looking through the other log files, I found the following in wrb.log:
    03-21-2000 14:41:49 783109 sun199-093
    `Unknown Component` 28414 1 0x400fff
    `/oracle/app/oracle/product/oas408/ows/4.0/ojsp/webroot/samples/hellouser/oracle/jsp/JspServlet.class:
    java.lang.ClassNotFoundException:
    /oracle/app/oracle/product/oas408/ows/4.0/ojsp/webroot/samples/hellouser/oracle/jsp/JspServlet.class
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at oracle.owas.loader.WRBLoader.loadClassFromBytes(Compiled Code)
    at oracle.owas.loader.WRBLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at oracle.OAS.servlet.servletrunner.getServlet(Compiled Code)
    at oracle.OAS.servlet.servletrunner.exec(Compiled Code)
    Any hints would be greatly appreciated!!!
    Martin
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alex Yiu:
    Have you specified the physical path and virtual path mapping in OAS?<HR></BLOCKQUOTE>
    Yes I did, when I added the JServlet application and cartridge, respectively. And I don't have a typo in there...
    null

  • 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.

  • Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime prop

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through th http server
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Any ideas ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    I am also experiancing this problem. I have updated the ojsp to version 112200 and the properties file exist within the .jar used by the .jsp file.
    Exception:
    java.lang.RuntimeException: java.lang.RuntimeException: JSP Registry could not locate runtime property file:deseweb_DesewebModule.properties
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.lang.RuntimeException.(RuntimeException.java:47)
    at morenet.jsp.JSPApplicationRegistry.registerApplicationFromProperties(JSPApplicationRegistry.java:199)
    at morenet.jsp.MorenetWebBeanImpl.internalInitialize(MorenetWebBeanImpl.java:119)
    at oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:56)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:395)
    at morenet.jsp.MorenetWebBeanImpl.initialize(MorenetWebBeanImpl.java:62)
    at apps.deseweb._index._jspService(_index.java:71)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(JspServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

  • Error in processing [/useradmin/index.jsp]

    In our PI system 7.1, when we try the below url
    http://hostname.xx.xxx.com:50000/useradmin/index.jsp
    we are getting the below error
    "500   Internal Server Error
      SAP NetWeaver Application Server 7.11 / AS Java 7.11 
      Error: "Error in processing [/useradmin/index.jsp] in application [sap.com/com.sap.security.core.admin]."
      Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
    Details: "The WebApplicationException log ID is [AA4FB520760500F20000000000AC0064]."
    the Default trace file has the below error message:
    #2.#2011 10 10 16:23:19:399#0-400#Error#com.sap.engine.services.servlets_jsp.ISE500#
    com.sap.ASJ.web.000500#BC-JAS-SEC-UME#sap.com/com.sap.security.core.admin#AA4FB520760500EF0000000300AC0064#4047350000000004#sap.com/com.sap.security.core.admin#com.sap.engine.services.servlets_jsp.ISE500#J2EE_GUEST#0##B15C71CBF37D11E0C7CC0000003DC1F6#b15c71cbf37d11e0c7cc0000003dc1f6#b15c71cbf37d11e0c7cc0000003dc1f6#0#Thread[HTTP Worker [@501859437],5,Dedicated_Application_Thread]#Plain##
    500 Internal Server Error is returned for HTTP request [http://hostname.xx.xxxx.com:50000/useradmin/index.jsp]:
      component [jsp],
      web module [useradmin],
      application [sap.com/com.sap.security.core.admin],
      DC name [sap.com/com.sap.security.core.admin],
      CSN component[BC-JAS-SEC-UME],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [-1555343295].
    [EXCEPTION]
    com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error occurred while parsing the jsp page [/usr/sap/P1X/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.security.core.admin/servlet_jsp/useradmin/root/index.jsp].
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:200)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
            at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
            at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: [/usr/sap/P1X/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.security.core.admin/servlet_jsp/useradmin/root/index.jsp]
            at com.sap.engine.services.servlets_jsp.jspparser_api.JspParser.generateJspClass(JspParser.java:160)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:192)
            ... 37 more
    Has anyone faced this issue?
    Regards
    Senthil

    Hi,
    Please check with your Basis Team if User Management services and applications are running. It is under Operations Managemenr -> Systems -> Start & Stop.
    Regards,
    Jenny

  • How can I throw a hard 404 error to apache when a JSP is not found.

    How can I throw a hard 404 error to apache when a JSP is not found.
    I want to let apache handle the error.

    [email protected] (Jeremy Conner) wrote in
              <[email protected]>:
              >How can I throw a hard 404 error to apache when a JSP is not found.
              >I want to let apache handle the error.
              >
              >
              First thought that comes to mind is to return HTML that tells the browser
              redirect to a nonexistent file under Apache. You can't tell Apache to
              throw a 404 unless you're in a mod. Maybe something they could add to the
              proxy, but until then, I think a redirection in the response HTML is your
              only option.
              Jesse
              

  • Error in Running REPORT in JSP format

    Dear Fellows,
    I have created a report in JSP format and deployed on the local web server. I try to run the report through this URL.
    "http://dw_hit4:7778/emprev_Zeeshan.jsp?server=repsrv&userid=hr/hr@sbpdw"
    When i access this URL i get this error
    "Error: java.lang.ClassNotFoundException: oracle.reports.jsp.ReportTagExtraInfo"
    Can any one tell me what is the cause of ths error and how to get rid from it.
    Please this is very urgent.. Help me...
    Awaiting For the earliest reply..
    Thanx in Advance
    Zeeshan Suria

    I have created a report in JSP format and deployed on the local web server <<<Is this local webserver - Oracle HTTP server ? Which one are you using ?
    1) If you are deploying reports in Oracle Application server ( Midtier - Business Intelligence , Forms and Reports )
    then there is a sample JSP report deployed which you can access from home page -->Demonstrations Tab
    You can search for the JSP Report ( forgot the exact location ). It should be emp.jsp or test.jsp
    You need to have reports_tld.jar (tag library) in <contextRoot>\WEB-INF\lib directory. See how the sample report is deployed.
    Additionally you need to have following jars in REPORTS_CLASSPATH env variable in registry HKLM\Software\Oracle\Home<x>
    $OH\reports\jlib\rwrun.jar;$OH\j2ee\home\oc4j.jar;$OH\reports\jlib\rwbuilder.jar;$OH\jlib\zrclient.jar;$OH\j2ee\home\lib\ojsp.jar;$OH\reports\jlib\xrpdsolap.jar;$OH\reports\jlib\xrpds90.jar;
    ( But all these entries come out of the box. Hence I asked which app server you are using )
    2) If you are using non-Oracle app server, then there are thin clients for BEA, IIS, OC4J and standalone thin client.
    You can get them in
    http://otn.oracle.com/products/reports/htdocs/search.html?cat=ALP&col=ALC&submit=Search
    Thanks
    Ratheesh

Maybe you are looking for