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!

Similar Messages

  • OC4J fails to compile jsp

    OC4J : canno't complie jsp Page : the oracle OracleJSP say "invalid flag : de"
    hello,
    I 've to deploy a J2EE web application with 10g application server (this application works fine with tomcat for the moment).
    The first time i access to my jsp page via oc4j , i have this error :
    oracle.jsp.provider.JspCompileException : compilation error
    :/home/oracle10/OraHome1/j2ee/home/application-deployments/Gifco/Gifco/persistence/_pages/_web_2d_inf/_jsp/_cadre.java
    invalid flag: de
    i guess there is a file access problem but if someone knows what means this error...
    regards
    Version :
    Operating System and Version: Red Hat AS 3
    Product (i.e., OAS, IAS, etc): IAS
    Product Version: 10g (9.0.4)
    JDK Version: java version "1.4.2_02"

    You may have run into bug 3498079.
    Here is rediscovery:
    Install oc4j_extended.zip to a location which has a long absolute path name and whitespaces in it(e.g. /tmp/test 1/test lasspath/testwhitespace/). Shorter absolute path may not reproduce the problem. Or add more jar libraries in &lt;library path&gt; tag in j2ee/home/applications.xml.
    Both cases would cause compilation error.
    This bug is fixed in 9.0.4 and (I assume you are not
    on that version) you could upgrade to it.
    I hope this helps.

  • Can u Compile JSP into a Servlet?

    Hey,
    I've heard of 'compliling jsp into a servlet.' I'm not sure if this is just reffering to the fact that the jsp/servlet engine does this on the fly when serving a jsp request or if one can actully obtain a .java file out of the jsp without doing it by hand.
    If so, how do you do this??
    THANKS!
    THABARREN

    look in Tomcat's /bin directory for a script called jspc.bat (or jspc.sh) - this can be used from a command line to convert a JSP to a servlet and compile it.
    Alternatively, the web server will have a "working" directory where it puts the servlet files it creates from JSPs (in Tomcat's case it's the "/work" directory). - just look in there after the JSP has been requested by a client.

  • Embedded Tomcat Can't Compile JSP from JAR

    I've got a problem that I can't seem to figure out. I hope someone might shed some light on this.
    I have a desktop java application that has Tomcat embedded in it. I'm creating a jar file of just myapp's *.class files and I specify the main-class and classpath in the manifest file. If I execute the jar the following way, it works fine:
    set CLASS_PATH=.;.\myapp.jar;.........all of the required Tomcat classes....;.\lib\anotherLib.jar
    javaw -ea -classpath  %CLASS_PATH%  com.myapp.Application
    But if I try to execute it this way, it runs and starts Tomcat. However, when Tomcat tries to compile a JSP, it can't find packages such as javax.servlet, javax.servlet.jsp, org.apache.jasper.runtime, and so forth.
    I believe It has something to do with the classpath. Does anybody have any ideas?

    i guess it is not the too lengthy classpath...
    just chek that when u run the application from eclipse.. r u seting the classpath.. and that classpath should not have any spaces in it..
    for ex: a directory like c:\program files \ should be as c:\progra~1\..
    ot any jar file in the classpath has spaces...
    this may be one of the reason that the classpath gets truncated...

  • Tomcat can't compile JSP

    Hi,
    I'm using Ecliple 2.1 with JBOSS 3.2.2 and Tomcat 4.1.24 on XP
    I can separately run JBOSS+Tomcat from command prompt, but when i start them from Eclipse, Tomcat fails to compile very first JSP. (Internal error). From examining error stack trace i see that tomcat tries to create process "javac.exe" with too lengthy classpath. It seems that the classpath is getting truncated.
    Has anybody had similar problem?
    Thanks in advance,
    Leonid.

    i guess it is not the too lengthy classpath...
    just chek that when u run the application from eclipse.. r u seting the classpath.. and that classpath should not have any spaces in it..
    for ex: a directory like c:\program files \ should be as c:\progra~1\..
    ot any jar file in the classpath has spaces...
    this may be one of the reason that the classpath gets truncated...

  • Can't compile JSPs with Forte 4

    I upgraded to forte 4 CE. Now I cannot compile my JSP's because they are not finding my class files.
    They all worked in Forte 3 ce.
    If I have class MyClass()
    and try to create an instance in my JSP
    MyClass mc = new MyClass()
    It gives the 'cannot resolve symbol' error on MyClass object.
    What happened? I haven't changed anything. I have about 10 jsps and a bunch of Classes that all worked and now don't.
    I checked the product support for Forte and couldn't find anything.
    If anybody else had this problem and figured it out please post your solution.
    Thanks.
    -chiranjp

    i am having the same problem using my "homemade" class with forte.
    I have all of the .java and .class files and even have a .jar file but it still cannot find them
    could you please give me more details on how you reached your solution?
    where did you place the files so that forte found them?
    any and all help is greatly appreciated.
    thanks
    -j

  • Can't compile jsp

    Hello all.
    I've searched this forum for four hours,
    I tried many suggestions but still there is no answer to my problem !
    I recently developed a website.
    In a form that I have in my jsp, stepOne.jsp,
    the user need to choose a username.
    His input goes to servlet, "StepOneServlet.class".
    If the user selected a new username (that not appear in the database)
    he will be redirected to stepTwo.jsp.
    If the specific username already exist, the user will be redirected to
    message.jsp.
    According to the address bar in my browser, the redirections work fine,
    and there is no database problem.
    My only problem is :
    In both cases I'm getting the same error page !!!!!!
    When I'm being redirect to message.jsp, I get the page :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:818)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.message_jsp._jspService(message_jsp.java:73)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    When I'm being redirect to stepTwo.jsp, I get the page :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:818)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.stepTwo_jsp._jspService(stepTwo_jsp.java:99)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1) I deleted the folder ...\Tomcat 5.5\work many times.
    2) In line 99 (stepTwo_jsp.java) it says :
    if (_jspx_page_context != null) jspxpage_context.handlePageException(t);
    3) In line 73 (message_jsp) it says :
    if (_jspx_page_context != null) jspxpage_context.handlePageException(t);
    I'm now transforming my project from netbeans to tomcat only.
    With netbeans - there are no errors.
    Thank you for your time....
    waiting for your replays.

    I am getting same error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NullPointerException
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:818)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.doLogin_jsp._jspService(doLogin_jsp.java:228)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
    Apache Tomcat/5.5 I am running server with mysql database on a linux machine and this error happens every morning but when I restart the tomcat process it just disappears until next morning, seems it is fine as long as it used constantly.
    Has anyone got an idea what is it?

  • Can't compile jsp under sun application server

    im trying to make my first web app using sun java system application server and the server says that cant find "tools.jar" and it give me some explanation of the issue, but i cant solve it. i was in the same trouble when using tomcat but i could solve the problem copying tools.jar under the common/lib tomcat's directory, but under sun java system application server where do i have to copy that archive??, is it necesary??
    thanks for your help!!...

    You have to put it in the classpath of the webserver if it's anything like IPlanet.
    You need admin permissions for that.

  • Compile JSP in JCreator

    Hi,
    First of all, Can I compile JSP in JCreator? If yes, what configuration do I need to make with Java compiler.
    At moment, I have JCreator V4.0Pro installed. It does not compile my JSP files at all.
    Thanks
    Song

    hai..
    first you have create web project
    there you have to create new jsp file ..
    view help in jcreater there you can find the demo how to create a web project and deploy it...
    here are some sites where you get some idea for web project structure
    http://csjava.occ.cccd.edu/java-setup/jcreator.html
    http://www.cutthebull.com/jsp.html
    bye priya

  • JSP Can't compile

    Using OC4J 9.03
    Launching OC4J as standalone server, noone JSP can be compiled because a NoClassDefFoundError for the class
    sun/tools/javac/Main.
    I copied in the j2ee\home directory the tools.jar file, that include this class, but the problem persists.
    All the environmente variables (JAVA_HOME, J2EE_HOME, CLASSPATH and so on) are properly (I hope) setted.
    Has someone any suggestion?
    Thanks

    Is the "JAVA_HOME" variable pointing to a JDK distribution, or a JRE?

  • Disable compiling jsps in oc4j

    We want to move to using the ojspc ant task to pre-compile our jsps where I work. I can get the ant task to run but evidently am not putting the output in the correct location. In stand-alone oc4j I have to include the jsps in my deployment, which I'm not sure I should have to do. On the full OAS with jsp compiling turned off, none of the pages render. I have to hand the ears to 3rd parties to get them deployed on the OAS instance and my access to logs there is also limited so I'd like to get my oc4j stand-alone to NOT compile jsps so I have an environment that I can play with to fix the problem.
    Questions
    Q1) Can I turn off jsp compiling in OC4J standalone (deployed on Win XP OC4J version 10.1.3.5.0)?
    Q2) If the class files OJSPC produces are in the right place do I NEED the jsps in my ear/war file (same environment)?

    Figured it out on my own:
    A1) Yes. From Application Server Control select Administration
         Select JSP Properties
         Set "When a JSP changes" (under Runtime Parameters) to Reload classes.
    A2) If set as above the JSPs are not necessary.
    My root problem was that the ojspc task was not set to compile and and the javac task wasn't putting the .class files in the right place. Setting ojspc to nocompile="false" and appRoot to my destination path and suddenly _(pagename).class files starting appearing in the appropriate output directories and problem solved.

  • Can not compile the jsp in Tomcat 4

    Hello anyone
    Now I use jdk1.4 and Tomcat 4.0.4, and put in the directory d:\j2sdk and d:\tomcat. Even I set the classpath as follow, I still compile jsp.
    SET CLASSPATH=.;D:\j2sdk\lib\tools.jar;D:\tomcat\common\lib\servlet.jar
    but at before, i can run it at Tomcat 3.2.
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected.
    import javax.servlet.*;
    ^
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:10: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.userCounter$jsp not found.
    public class userCounter$jsp extends HttpJspBase {
    ^
    2 errors, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         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:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    pls help, thank you very much!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • Can't find Enterprise Manager for standalone OC4J 10.1.2.0.2

    Hi
    I downloaded standalone OC4J 10.1.2.0.2 from here so I could experiment deploying webservices to it
    http://download.oracle.com/otn/java/oc4j/1012/oc4j_extended.zip
    It installed successfully and I managed to start it ok. When I point my browser at it the home page displays but there does not seem to be an enterprise manager page. I have a jdeveloper 10.1.3 install and when I run the OC4J supplied with that I can navigate to an enterprise manager page and view applications and webservices.
    This is the home page for the 10.1.2.0.2 install
    http://img405.imageshack.us/my.php?image=oc4j101202homepagecq8.jpg
    This is the homepage of the 10.1.3 install supplied with jdeveloper
    http://img399.imageshack.us/my.php?image=oc4j1013homepagegb6.jpg
    (click the images to see their full size)
    In the 10.1.3 screenshot you can see a link to "launch application Server Control". This is missing on the 10.1.2.0.2 homepage. Should it be there for both versions?
    thanks
    paul
    Message was edited by:
    [email protected]

    Hi,
    Enterprise Manager for stand alone OC4J was introduced in 10.1.3. 10.12 does not have this feature
    Frank

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Debugging JSP with standalone OC4J

    Hi All,
    I am trying to debug a JSP using JDeveloper 10.1.3.2 on standalone OC4J 10.1.3.2 . I find that it is not stopping at the breakpoints I have set. My settings in the global-web-application.xml are as follows
    <servlet>
    <servlet-name>JDevOJSP</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
         <param-name>check_page_scope</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>debug_mode</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>developer_mode</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>
         <param-name>encode_to_java</param-name>
         <param-value>true</param-value>
    </init-param>
    <init-param>     
         <param-name>emit_debuginfo</param-name>     
         <param-value>true</param-value>     
    </init-param>     
    <init-param>
         <param-name>jspjavacompiler</param-name>     
         <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>
    </init-param>     
    <init-param>     
         <param-name>jspcompiler</param-name>
         <param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>     
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    However when I try accessing the JSP(test.jsp) from the browser, I get an error saying _test.class is not found.
    I verified this by checking under the application-deployments folder and I found that the .java & .class files are not created under the persistence\_pages folder.
    So I changed the entry in global-web-application.xml as follows to get the .java & .class files generated
    <servlet>
         <servlet-name>JDevOJSP</servlet-name>
         <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    </servlet>
    Once they are generated, I reverted the setting back to as it was before and tried to debug the JSP. But still it does not find the break points
    I have jdev-rt.jar,xmlparserv2.jar,ojc.jar & jdev-remote.jar in <OC4J_HOME>/lib folder.
    I am starting OC4J with OJVM option debug mode listening to port 4000 and I have configured my project in JDeveloper for remote debugging.Please let me know where I am going wrong.
    Thanks in advance,
    Prasanna

    http://blogs.oracle.com/shay/2005/10/24#a55

Maybe you are looking for

  • DSO activation: Data in new data table but missing in active data table?

    we use an end routine in transformation to populate a data field in DSO. it works as we can see the value populated in new data table. when we activate (activation) DSO, we see the value is deleted from this data field. why? this data field is set as

  • How to change the logo in the display of the 7912 and 7940 ?

    i convert the logo.bmp with atributes to logo.logo with bmp2logo and i create el gkdefault.cnf upgradelogo:10,10.67.3.67,logo.logo i must do more ? thank a lot

  • Changing Permanent Default Print Settings

    Hello All, A few months ago, I somehow managed to change my print settings permanently to B&W. I know it wasn't just changed to grayscale through the print menu when I try to print a document. I have a Canon MP470 and am running Leopard OS X. I remem

  • Partitioned views in Standard Edition

    We have are SQL 2014 Standard edition, I have a situation where-in I plan to partition a table now since table partition is not supported in standard version I thought about Partitioned views however now I am stuck where I cant make the view writable

  • Nokia Maps Problem, holes in the offline map

    Hello I habe a Nokia N9, updated to the newest Firmware (including the apps) I downloaded offline maps for danmark and for austria but parts of the map are missing (see attachment for DK, in the first picture you see the route from Aalborg to Hamburg