JSP won't work in OC4J 9.0.4 stand alone?

Somehow i can't seem to get OC4J 9.0.4 standalone working correctly. I did the following steps:
1. Unzipped
2. Changed http to 88890, jms to 9129, rmi to 23793
3. java -jar oc4j.jar -install
4. java -showversion -jar oc4j.jar -verbosity 10
And the example JSP's dont even work?! Servlets seem to work. Changing to jre1.3.1_11 doesn't help (and doesn't change the error) ....
The output is as following:
04/07/27 11:31:16 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
04/07/27 11:31:59 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -classpath c:\oracle\oc4j904\j2ee\home\oc4j.jar;c:\oracle\oc4j904\j2ee\home\lib/ejb.jar; <lots more jars>
Can anybody help me?
BTW i changed the ports because i already have a OC4J 9.0.2 and 9.0.3 running (and working correctly).
Regards,
Robert Willems

Robert,
It appears that you have only installed the Java Runtime Environment (JRE). You need to install the Software Development Kit (SDK). Get version 1.4.2_05, since this is what your version of OC4J requires. Go to the following Web page
http://java.sun.com/j2se/1.4.2/download.html
And look for the "Download J2SE SDK" link -- which appears below the heading:
J2SE v 1.4.2_05 SDK
Good Luck,
Avi.

Similar Messages

  • My ipod works perfectly well when connected to my laptop, but won't even switch on when it's stand alone. Battery is showing as fully charged. Anyone know if/how I can fix this?

    Hi, my ipod nano works perfectly well when connected to my laptop, but won't even switch on when it's stand alone. Battery is showing as fully charged. Anyone know if/how I can fix this? Thanks

    Take the iPod  N ano to your local Apple Store or an AASP to be examined. 

  • OC4J 9.0.4 stand alone + JDK 1.4.2

    Hi,
    I'm upgrading my web applications from OC4J (1.0.2.2) to OC4J 9.0.4. Also, upgrading from JDK1.3.1 to JDK 1.4.2. I have installed OC4J 9.0.4 stand alone version on my Windows 2000 machine and I have a couple of questions:
    1. I didn't find any JDK directory under OC4J_HOME. So, do I need to copy JDK 1.4.2 directory and place it under OC4J_HOME. Also, do I need to set any CLASSPATH while running OC4J ?
    2. I have an issue with running JSPs in the default application. However, the servlet examples run fine.I get the following error on running JSPs:
    quote:
    05/10/14 15:42:23 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -
    classpath oc4j.jar;E:\oc4j_extended\j2ee\home\lib/ejb.jar;E:\oc4j_extended\j2ee\
    home\lib/servlet.jar;E:\oc4j_extended\j2ee\home\lib/ojsp.jar;E:\oc4j_extended\j2
    ee\home\lib/jndi.jar;E:\oc4j_extended\j2ee\home\lib/jdbc.jar;E:\oc4j_extended\j2
    ee\home\iiop.jar;E:\oc4j_extended\j2ee\home\iiop_gen_bin.jar;E:\oc4j_extended\j2
    ee\home\lib/jms.jar;E:\oc4j_extended\j2ee\home\lib/jta.jar;E:\oc4j_extended\j2ee
    \home\lib/jmxri.jar;E:\oc4j_extended\j2ee\home\lib/javax77.jar;E:\oc4j_extended\
    j2ee\home\lib/javax88.jar;E:\oc4j_extended\j2ee\home\../../opmn/lib/ons.jar;E:\o
    c4j_extended\j2ee\home\../../opmn/lib/optic.jar;E:\oc4j_extended\j2ee\home\../..
    /lib/dms.jar;E:\oc4j_extended\j2ee\home\../../dms/lib/dms.jar;E:\oc4j_extended\j
    2ee\home\lib/connector.jar;E:\oc4j_extended\j2ee\home\lib/cos.jar;E:\oc4j_extend
    ed\j2ee\home\lib/jsse.jar;E:\oc4j_extended\j2ee\home\../../oracle/lib/jsse.jar;E
    :\oc4j_extended\j2ee\home\lib/jnet.jar;E:\oc4j_extended\j2ee\home\lib/jcert.jar;
    E:\oc4j_extended\j2ee\home?
    unquote:
    Could somebody tell me what I'm doing wrong ?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks a lot for your help qlin. I found a solution to the JSP issue from the archives.
    However, I ran into a new issue. I got the following error when I tried to access a JSP in my web application (this works with OC4J 1.0.2.2):
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I got the same error with both JDK 1.4.2 and JDK 1.3.1.
    Any idea what could be causing the error, and how to trace it?
    Regarding the OC4J version, I have to use 9.0.4 as we have a product that uses it and I have to stick with the same version.
    Also, I have a couple of other questions.
    1. I use OC4J stand-alone on Win2K machine for development and deploy on a Solaris machine that uses the integrated OC4J version, which comes with Oracle Application Server 10g. Do you see any issues with this ?
    2. I currently have a simple logging mechanism using "System.out.println" to print output to a log file in the stand-alone version. Do you know of any better logging scheme that can be used with the integrated OC4J ?
    Any help/suggestions will be greatly appreciated.
    Thanks,
    Shyam
    I didn't find any JDK directory under OC4J_HOME.So, do I need to copy JDK 1.4.2
    directory and place it under OC4J_HOME. Also, do Ineed to set any CLASSPATH while
    running OC4J ?Yes, since 9.0.4 or even earlier possibly, oc4j
    installation is not bundled with a JDK installation.
    It is easy enough to download any JDK version you
    wanted. You do not need to place a copy of JDK
    inside OC4J_HOME. I believe it is better not to set
    any CLASSPATH for running OC4J, although it is
    probably does not matter any way.
    05/10/14 15:42:23 IOException in compile:CreateProcess: javac.exe -J-Xmx1024m -
    Please search this forum for "IOException in compile:
    CreateProcess: javac.exe". You will see the answer.
    By the way, any particular reason that you decide not
    to upgrade to 10.1.2.0.2 directly?
    It is obvious that 10.1.2 should be better than
    9.0.4. After another several months, 10.1.3 should be
    a even better choice since 10.1.3 supports j2ee 1.4
    while 10.1.2 and 9.0.4 supports j2ee 1.3.Thanks for your help qlin.I found a solution to the JSP issue by searching the archives.
    However I ran into a new issue. When I try to run my web application, I get the following exception:
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I tried run OC4J with both JDK 1.4.2 and 1.3.1 versions but still get the same error.

  • Is eployment to IAS 10.1.3 the same way like to OC4J 10.1.3  stand alone ?

    Hi All,
    We are about to deploy our ADF Faces + BC application into IAS 10.1.3.
    Until today we have never tried the real IAS 10.1.3, so far we develop , testing and deploy for testing using OC4J stand alone.
    The question is : Is Deployment to IAS 10.1.3 the same way like Deployment to OC4J 10.1.3 stand alone ? is there anything spicific ?
    Thank you for your help,
    xtanto

    Hi,
    yes, it is the same. Just create an ApplicatioNServer connection in Jdeveloper and deploy the software. Be aware that if you use JDeveloper 10.1.3.1 you will have to install teh ADF runtime libraries first. If you deploy to OracleAs 10.1.3.0 then you should be fine
    Frank

  • Helloworld.jsp won't work with iPlanet  4.1 sp12

    long time listener, first time caller:)
    I am having trouble running a simple helloworld.jsp page on my win2k server. Can someone take a look? I have jdk1.3.1_07 installed and I believe I specified the classpath correctly. here is the code for the helloworld.jsp
    <HTML>
    <BODY>
    <% String visitor = request.getParameter("name");
    if (visitor == null) visitor = "World"; %>
    Hello, <%= visitor %>! <br>
    Today is: <%= new java.util.Date() %>
    </BODY>
    </HTML>
    here is the entries in the error logs.
    [23/Apr/2003:14:00:15] info ( 816): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPd:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase.
    package jsps.lsmith;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:3: Package javax.servlet not found in import.
    import javax.servlet.*;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:4: Package javax.servlet.http not found in import.
    import javax.servlet.http.*;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:5: Package javax.servlet.jsp not found in import.
    import javax.servlet.jsp.*;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:6: Package javax.servlet.jsp.tagext not found in import.
    import javax.servlet.jsp.tagext.*;
    ^
    5 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:260)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:231)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
    [23/Apr/2003:14:00:15] warning ( 816): Internal error: Failed to get GenericServlet. (uri=/lsmith/hello.jsp,SCRIPT_NAME=/lsmith/hello.jsp)
    I would appreciate any help and input.

    IN your classpath have the correct jar file. For example: I have a jar file called j2ee_lib.jar and I have added the path to this file in the CLASSPATH for windows.
    If you don't know how to change Classpath:
    First it depends on what type of windows are you working with NT or 2000.
    I just saw your subject you are using Iplanet 4.1 ... you need to get the new version I believe its free from sun it is now called "sun one web server".
    Hope that helps.
    HMD

  • OC4J 9.0.4 stand alone - basic questions

    Hi,
    I'm upgrading my web applications from OC4J (1.0.2.2) to OC4J 9.0.4.
    I have a few basic questions. Since I asked these as part of another thread and didn't get a response, I thought starting a new thread might help...
    1. Does the JSP compiler in OC4J 9.0.4 (JSP container) work with the JDK version set in the path ? (I'm not using OJSP).
    2. I read that OC4J 9.0.4 is J2EE 1.3 compliant. With OC4J 1.0.2.2 , I used the j2ee.jar file (that was bundled with J2SDKEE 1.3) to compile my Servlets/Struts code. I copied it into the OC4J_HOME directory and set the Classpath to it, to build my classes.
    With 9.0.4, can I still use this j2ee.jar file or do I need to use the jar files (Servlet.jar) in the OC4J_HOME/lib directory?
    3. Could somebody throw some light on why some jar files are placed in OC4J_HOME while others are in the OC4J_HOME/lib directory ? What is the difference?
    Any help/suggestions will be greatly appreciated.
    Thanks,
    Shyam

    Hi, shyam:
    It is nice to raise different questions in different threads.
    1. Does the JSP compiler in OC4J 9.0.4 (JSP container) work with the JDK version set
    in the path ? (I'm not using OJSP).I believe you are referring to the runtime JSP engine, which compiles your JSP when you first access it. The answer is yes.
    To see the compilation setting when oracle jsp engine is compiling jsp files, start oc4j with the debug flag:
      java -Dbuild.debug=true -jar oc4j.jar
    2. I read that OC4J 9.0.4 is J2EE 1.3 compliant. With OC4J 1.0.2.2 , I used the
    j2ee.jar file (that was bundled with J2SDKEE 1.3) to compile my Servlets/Struts code.
    I copied it into the OC4J_HOME directory and set the Classpath to it, to build my
    classes. With 9.0.4, can I still use this j2ee.jar file or do I need to use the jar files
    (Servlet.jar) in the OC4J_HOME/lib directory?Not sure what to say about j2ee.jar of j2SDKEE1.3 since I have never used it. For Servlet code, they are pure java code as long as you use the right libraries. Use the one in OC4J_HOME/lib if possible, although it probably does not matter much. For JSP file, there is no problem of compilation if you do not want to precompile them. All you need is packaging them and deploying them.
    3. Could somebody throw some light on why some jar files are placed in OC4J_HOME
    while others are in the OC4J_HOME/lib directory ? What is the difference?The executable jars are in OC4J_HOME directory. Besides that, I do not see see much difference.

  • Time machine won't backup. Says disk is full ( stand alone disk). Souldn't it delete enough to create new backup. Last backup was 7/20/11. When I click "enter time machine' it goes to mail screen and nowhere else.

    Time machine won't backup. Says disk doesn't have enough room. Shouldn't it delete old info to make space for new.
    When I click on "enter time machine" it takes me to the last backup 7/22/11 and doesn't allow me to go further back.

    No idea's?
    I'm starting to think I just need to delete the sparsebundle file altogether and start over again...

  • Cluster Database Connect Works Only in stand-alone OEM

    When I connect to OEM standalone, I can connect to the cluster database with no problem. When I try to connect with the management server, it gives me the ORA-12514 error. The service name works both in SQLplus and in stand-alone mode.
    My console is running on a windows XP machine, the management server and OEM catalog are on a machine running 9.2, the cluster resides on two other machines running 9.2.
    What do I need to change to get OEM to let me open the cluster database using the management server?

    Try to create a service like this one and try:
    joel.us.acme.com=
    (description=
    (load_balance=on)
    (failover=on)
    (address=(protocol=tcp)(host=host1)(port=1521))
    (address=(protocol=tcp)(host=host2)(port=1521))
    (address=(protocol=tcp)(host=host3)(port=1521))
    (connect_data=
    (service_name=joel.us.acme.com)))
    for more information about it you can check these
    documents:
    Real Application Clusters Administration Contents / Search / Index / PDF
    Real Application Clusters Concepts Contents / Search / Index / PDF
    Real Application Clusters Deployment and Performance Contents / Search / Index / PDF
    Real Application Clusters Documentation Online Roadmap Contents / Search / /
    Real Application Clusters Real Application Clusters Guard I - Concepts and Administration Contents / Search / Index / PDF
    Real Application Clusters Real Applications Clusters Guard I Configuration Guide Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, and Sun Solaris Contents / Search / Index / PDF
    Real Application Clusters Setup and Configuration Contents / Search / Index / PDF
    http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
    Joel Pérez

  • Maximum concurrent user on OC4J Stand Alone ?

    Hi All,
    I have questions on OC4J :
    1) How many concurrent user that can be supported by OC4J 10.1.3 Stand Alone ?
    2) What is different between OC4J Stand Alone and OC4J Stand Alone that comes with JDev ?
    Thank you,
    xtanto

    Hi,
    1.) This depends on your application and of the configuration of OC4J (for example JVM parameter).
    2.) Afaik there is no difference between both OC4J. OC4J which comes with JDev
    is the J2EE runtime environment for JDeveloper. For development purposes it is much easier to use the embedded OC4J instead of deploying first the application to a remote OC4J.
    Regards
    Kersten

  • OC4J JSP Debugging not working for all the jsps

    Hi,
    Initially I was not able to debug jsps using Eclipse and OC4J. The jsp debugging started working once I made the below changes:
    1) global-web-application.xml is modified
    Changed the attribute development="true" in orion-web-app
    Added the below init param for the JspServlet
    <init-param>
    <param-name>debug</param-name>
    <param-value>class</param-value>
    </init-param>
    If the jsps are present in a sub directory under the webcontent none of the breakpoints are working. I am still be able to view the jsp pages on the browser.
    Tools: Oracle 10g Application Server Standalone version(10.1.3.5.0), JDK5, Windows XP, Eclipse Indigo
    Project Structure:
    Test (Eclipse Dynamic Web Project)
    -WebContent
    Sample.jsp ( Breakpoints are working)
    -subF (Folder)
    SubSample.jsp (Breakpoints are not working)
    -WEB-INF
    web.xml
    Debugging worked for http://localhost:8888/Test/Sample.jsp
    Debugging not working for http://localhost:8888/Test/subF/SubSample.jsp
    Any help is highly appreciated.
    Regards
    Danny

    This tells there is not enough main memory (not disk space) for the program to run.
    - You can look the dump in ST22, it will have suggestions on increasing the ROLLAREA??, you can forward that to Basis.
    - Most likely you will not have any more memory to assign so the above may not be feasible. Try to rework your query so it works with less data.

  • JavaScript support won't work!?

    Hi!
    On the NitroX's homepage it is said that NitroX has syntax highlighting for JavaScript. I just tried to edit my JS pages, but it won't work at all. If I double click on the .js file I just get an error that says:
    Window Script Hosting
    Script: c:\myProject\web\calendar.js
    Line: 23
    Char: 1
    Error: 'navigator' is undefined
    Code: 800A1391
    Source: Microsoft JScript runtime error
    What's wrong with the NitroX's JS support?? And if select Open With -> Text Editor, there is no syntax highlighting at all..??

    That "Microsoft JScript runtime error" happens because your Eclipse does not have JS files associated with any editor in particular. When that happens, it "forwards" the request to open that file to the operating system. In this case, Windows tries to run that file via JScript.
    One option is to right-click on the JS file, and choose "Open With -> Text Editor". This will open the file for editing within Eclipse, but sans syntax highlighting.
    Since this can become tedious, you might want to permanently associate JS files in Eclipse with its text editor -- you can do that by: "Window -> Preferences -> Workbench -> File Associations." Add an entry for "*.js" files and then add Eclipse's text editor as the default editor for that entry. Thereafter, when you double-click on a JS file in Eclipse, it will automatically open in that editor.
    However, as of NitroX 2.0.0 (I still have to upgrade), NitroX's support for JavaScript syntax highlighting appears to me to be limited to the <script> tags inside a JSP page, using NitroX's JSP editor.
    -- Jim

  • J2EE Application works on OC4J standalone but not Oracle 9iAS

    I have a J2EE application that works successfully on OC4J 9.0.3, but not when deployed on Oracle 9iAS 9.0.3.
    The platform in Win2K
    What I am seeing is certain POST requests are sent to the server, call an EJB, update the database, and return a JSP, but sometimes, only half the response is seen by the browser, along with a TCP RST packet, which is why the response is not seen by the browswer.
    I think this could be a bug in the Oracle HTTP server. Has anyone seen a similar problem? Are there any solutions, other than throwing away 9iAS and using a different appserver? AFAIK, it is not possible to apply any patches to the Oracle HTTP Server without losing support. Is this correct?

    Hi Andrew,
    Are there any solutions, other than throwing away 9iAS
    and using a different appserver?As far as I know, OC4J stand-alone is a (J2EE compliant) application server, and an officially supported Oracle product. So maybe just throw away "iAS" and use OC4J ;-)
    For your information, OC4J can be used with the Apache Web server. Visit the OrionSupport Web site for details.
    Good Luck,
    Avi.

  • When browsing my pointer won't work at the top of page

    when browsing my pointer works fine on most of the page I'm browsing but when I try to use my pointer at top of the page it won't work i.e try to log off

    -> [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    Not related to your problem but your plugins needs to be updated.
    -> Your Flash plugin is quite older. You need to update it.
    * Adobe Flash Player 11.0.1.152 (3.59 MB)
    * http://get.adobe.com/flashplayer/
    -> Your Java plugin is quite older. You need to update it.
    * Java Version 6 Update 29
    * http://java.com/en/download/index.jsp
    * [[Using the Java plugin with Firefox]]
    -> Update All your Firefox Plugins
    * https://www-dev.allizom.org/en-US/plugincheck/
    * http://www.mozilla.com/en-US/plugincheck/
    '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Address bar history won't work

    Hi, I recently updated one of my add-ons (I believe it was Adobe Flash) and now my address bar history won't work. My history is being recorded, but I can't jump back to previously visited pages via the address bar.
    This only happened yesterday, if anybody can offer a solution, well thanks.

    Make sure that the Location Bar is not set to "Nothing": Tools > Options > Privacy > Location Bar: When using the location bar, suggest: History,Bookmarks,History and Bookmarks
    See [[Smart Location Bar]]
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r82
    # Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Simple deploy of JSP with Bus.Cmps to OC4J

    Jdeveloper Ver. 10.1.2
    OC4J version 10.1.2
    I want to deploy a simple app from Jdeveloper to a standalone OC4J instance. I contains a simple table busines component and a UIX table component. I want it to be a public web page, not security/authentication/authorization needed. I deploy the ear file (which includes the war file needed for the jsp), the deployment works and gives me the url to acces the page. On a previous version of OC4j/jedevloper(9.0.3), this always worked without a problem. Now I get a 403 forbidden error when I go to the root location specified in the http-web-site.xml for this application.
    http://<server>:<port>/<root location for deployed application>
    I cannot find any logging to determine where the error is. Obvisouly there is some new security feature that has been added in this version of OC4j. What do I need to do to deploy a public applcation to this version of OC4j?

    Don't go to the root - go to a specific JSP or Struts action.
    Look at the URL that you get when you run inside JDeveloper to find out which page you need to get to.

Maybe you are looking for