OC4J 9.0.2 on Oracle9iAS 1.0.2.2a

Hi everyone,
I've installed an Oracle9iAS 1.0.2.2a Enterprise Edition on my server.
How can I upgrade internal OC4J to version 9.0.2?
Or should I install an Oracle9iAS 9.0.2 Core Edition
(HTTP Server + Web Cache + OC4J) on a new machine and reference it (??) from Oracle9iAS 1.0.2.2a?

Giorgio
If you are trying to run PDK release 2 with Portal release 1 then you should install a new Oracle9iAS Release 2 Oracle home (core only) and install the latest PDK into the same location.
If you are trying to update the Portal mid tier so that the PPE runs under OC4J then you should follow the instructions in the Portal Upgrade Guide 3.0.9 to 9.0.2.6 located on http://portalcenter.oracle.com/upgrades.
regards
Peter

Similar Messages

  • Version 9.0.2 Oracle9iAS Containers for J2EE (OC4J) can not find the orion.jar file

    Oracle9iAS Containers for J2EE (OC4J)
    Version 9.0.2
    Oracle9iAS Containers for J2EE (OC4J) (19,789,999 bytes)
    when i unzip the oc4j_extend.zip, i can not find the orion.jar under j2ee/home diretory, how can start it?

    You're absolutely right. For some reason orion.jar isn't in that distribution. However there should be an oc4j.jar file in there, which behaves exactly as the orion.jar file would. So, any place in the documentation where it refers to orion.jar, just substitute oc4j.jar.
    Ryan

  • OC4J 9.0.3 on 9iAS

    Hi,
    a simple question (i hope):
    Is it possible to run OC4J 9.0.3 "standalone" on a Oracle9i Application Server, Release 1 (v1.0.2.2.1)?
    Thanks in advance
    Markus

    Is there no reason for:
    "** NOTE: OC4J Standalone is purely for standalone purposes. This version CANNOT be used to replace the OC4J running in ANY existing Oracle9iAS Installation."
    here: http://otn.oracle.com/software/products/ias/devuse.html ???
    Markus

  • Can we replace oc4j 9.0.2 in 9iAS 9.0.2 infrastructure with oc4j 9.0.3 ?

    Hi all,
    We want to use OC4J 9.0.3 because of it support of JMS and new J2EE features. We want to use the complete 9ias 9.0.2 EE (which is infrastructure) because the OID and SSO support.
    I know the NOTE
    ** NOTE: OC4J Standalone is purely for standalone purposes. This version CANNOT be used to replace the OC4J running in ANY existing Oracle9iAS Installation.
    but, because of the business requirements, can we do so?
    what kind of issues we will have if we do so??
    I read some docs about creating new OC4J instances using dcmctl and OEM. Can I go through the same steps to create a OC4J 9.0.3 in 9ias???
    or is there any alternatives for this??
    thanks for any help...
    -vijay

    I asked this on Metalink and oracle said you cannot upgrade/replace it with the 903 version with any installs using BI or Portal/Wireless.

  • Can we install OC4J R3 on top of 9iAS R2 Enterprise Edition

    Can we install the OC4J R3 on top of 9iAS R2 Enterprise Edition?
    We were able to install the OC4J R3 on top 9iAS R1 EE, but not on 9iAS R2 EE, any clues on this?
    Thank you
    H.M.Mallik

    ummm I assume that we can not easily upgrade OC4J from 9.0.2 to 9.0.3 in an Oralce 9iAS App Server R2 Enterprise Edition, but is there any workaround for this? bcas we want to use the advanced features of OC4J 9.0.3 relese and want to use the JAAS/JAZN with SSO that is supported by 9iAS EE R2. Or can we use the JAZN/LDAP/OID just with plain OC4J ?
    Thank you
    H.M.Mallik
    OC4J is tightly integrated with Oracle9iAS and is also used internally Oracle9iAS to provide basic services e.g. EM, Portal, Wireless, etc. and is tested by Oracle and for that reason you can just upgrade the OC4J inside Oracle9iAS. There will be production of Oracle9iAS 9.0.3 (J2EE-Webcache edition) that will have production release of OC4J 9.0.3 and this will be sometime next month.
    regards
    Debu

  • Deploying EJB in Oracle 9 iAS

    Hi
    I have installed oracle 9ias(standard edition-1.0.2) and have a DB running in another m/c(oracle 8.1.6).both machines are running in Win 2K .when i tried to deploy the sample EJB (customer)-(by using makeit command), the process terminates saying the following error .
    Descriptor oracle_customer.xml server.jar
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Processing container managed persistence bean...don
    Generating Comm Stubs..............................
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...
    Cannot locate the LoadJava server: Unknown reasons
    Please note the error at the last line .Can any one suggest a solution for this .
    thanks in advance
    Prem
    null

    1. I read somewhere that since in oracle 9i AS , ejb are deployed into the DB ,site will be much faster and now oracle itself is recommending to use OC4J which is almost same as orion server
    OC4J is a superb implementation of the J2EE specification. Oracle ships and fully supports OC4J as the preferred J2EE (JSP, servlet, EJB) execution engine for Oracle9iAS.
    2. Will OC4J will work without oracle 9iAS
    Let me clarify one point - OC4J is a component of Oracle9iAS. It is licensed as part of Oracle9iAS.
    However, the OC4J component can be downloaded as a separate, small package and installed on it's own. For this scenario, it is 10MB to download and 15MB when installed.
    Additionally, the OC4J component is also shipped as part of the complete Oracle9iAS distribution.
    It runs equally as well in both scenarios.
    3. Which databse can(version - 8.1.6 or 8.1.7) can be used with 9iAS
    Oracle9iAS 1022 is certified with Oracle 8.0.6 and 8.1.7.
    -steve-
    null

  • Installation of Oracle9iAS Instance witout oc4j in it?

    Hi
    Can I Install Oracle9iAS instance without OC4J.
    Why I need I need to seperate the WebServer and J2EE Server in Different Hardwares.
    Thanks in Advance
    Madhusudhana Rao. P

    Hi
    Your reply is confilcting from the document I read from the OTN.
    I have read the article from
    http://otn.oracle.com/products/ias/ohs/content.html
    From here I have got the document -- Oracle HTTP Server - White Paper (ohs-overview-v2.pdf)
    In that document there is section "Clustered Deployment Across DMZ"
    I can that there are 4 Oracle9iAS instances, in which 1 and 2 are having only OHS and 3 and 4 has got only OC4J process, and that to OHS and OC4J are in Different machines all together.
    The reason behind my queries are I want install OHS and OC4J in differnt machines.
    Thanks in advance
    Madhusudhana Rao. P

  • Help!A problem of deploying application to oc4j of oracle9ias!

    I have used jdeveloper to create an application.It is a
    simple servlet application to connect the database in
    another host.It runs correctly.But now I want to deply it on the oracle9ias in the host in which the database reside.
    I see the online help.It says that the next step is to
    create a connection named connect1 and a deploy file which is deployed to this connection.This connection is ok.But when i select the option "deployed to connect1",
    it shows the error like this:
    Wrote WAR file to E:\Oradev\jdev\mywork\test\test\test.war
    Wrote EAR file to E:\Oradev\jdev\mywork\test\test\test.ear
    Invoking Oracle9iAS admin tool...
    E:\Oradev\jdk\jre\bin\javaw.exe -jar E:\Oradev\j2ee\home\admin.jar ormi://server.oracle9i.com:3101/ admin **** -deploy -file E:\Oradev\jdev\mywork\test\test\test.ear -deploymentName test
    Security error: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager or dcmctl instead. Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.
    Exit status of Oracle9iAS admin tool (-deploy): 1

    What type of Application Server connection did you choose ?
    Following is the how-to document which might come handy.
    http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#connection
    raghu
    JDev Team

  • Installing HTTPServer in Diff m/c from the OC4J in a Oracle9iAS Rel2 Cluster

    Hi
    I want make Oracle9iAS Rel2 Cluster.
    Some of oracle9iAS Documentation(Clustering architecture pictures) showing these 2 are installed in different machines.
    Can I install OHS in one machine and OC4J Processes in other machine.
    If possible how do I do that.
    Thanks in Advance
    Madhusudhana Rao. P

    Hi
    I want make Oracle9iAS Rel2 Cluster.
    Some of oracle9iAS Documentation(Clustering architecture pictures) showing these 2 are installed in different machines.
    Can I install OHS in one machine and OC4J Processes in other machine.
    If possible how do I do that.
    Thanks in Advance
    Madhusudhana Rao. P

  • Is Oracle9iAS & OC4J certified Redhat 7.1?

    Hi,
    I was wondering whether iAS1022 & OC4J certified Redhat7.1? If not, is there any planning to do so (when)?:>

    Hi Eric,
    Yesterday I installed 9i on RH 7.1.
    It seems installation went fine.
    The only thing I did was to install the
    bin utils from the RH 7.0 ftp site(down grading).
    I also downloaded jdk from blackdown.org
    installed it under /usr/local. It created
    a directory jdk118_v3 but I created a link
    as /usr/local/java, the same information
    I entered in the runInstaller when it
    prompted for jdk home.
    I followed the pre-installation steps like
    creating dba group etc.
    My RAM is 256M but my swap is 800M.
    Hope this information is of help to you.
    Sundar
    null

  • Any One can help me..??OC4J in Oracle9iAS

    I am running the servlet which is giving me the following exception.
    "Error communicating with EJB-server: Database error: Io exception: The Network Adapter could not establish the connection; nested exception is: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection "
    Thanks in advance.
    The code is as follows:
    // EmployeeServlet.java
    package com.webstore;
    import java.util.*;
    import java.io.IOException;
    import java.rmi.RemoteException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import java.net.*;
    public class DepartmentServlet extends HttpServlet
    DepartmentHome home;
    public void init() throws ServletException
    try {
    Context context = new InitialContext();          
    //Object homeObject = context.lookup("java:comp/env/EmployeeBean");
    Object homeObject = context.lookup("Department");
    home =     (DepartmentHome) PortableRemoteObject.narrow(homeObject,
    DepartmentHome.class);
    } catch(NamingException e) {
    throw new ServletException("Error looking up home", e);
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    response.setContentType("text/html");
    ServletOutputStream out = response.getOutputStream();
    try
    Collection recs = home.findAll();
    out.println("<html>");
    out.println("\t<head><title>Department Bean</title></head>");
    out.println("\t<body>");
    out.println("\t\t<table border=\"2\">");
    out.println("\t\t\t<tr><td>" + "<b>DptNo</b>"
    + "</td><td>" + "<b>DptName</b>"
    + "</td></tr>");
    Iterator iterator = recs.iterator();
    while(iterator.hasNext()) {
         Department rec =
         (Department) PortableRemoteObject.narrow(iterator.next(),
    Department.class);
         out.println("\t\t\t<tr><td>" + rec.getDptno()
              + "</td><td>" + rec.getDptname()
              + "</td></tr>");
    out.println("\t\t</table>");
    out.println("\t</body>");
    out.println("</html>");     
    } catch(RemoteException e) {
    out.println("Error communicating with EJB-server: " + e.getMessage());
    } catch(FinderException e) {
    out.println("Error finding records: " + e.getMessage());
    } finally {
    out.close();
    Can anyone guide??

    Hi,
    I am getting output from database table all the entries in my browser, I am having a simple error..Number Format exception. Can anyone guide what's wrong with this jsp??
    <%@ page import="com.webstore.*,java.io.*,java.net.*,java.util.*,javax.naming.*,javax.rmi.*" %>
    <%
    response.addHeader("Pragma", "no-cache");
    response.addHeader("Cache-Control", "no-store");
    PrintStream errorStream = System.err;
    String error = null;
    Exception exception = null;
    DepartmentHome home = (DepartmentHome) session.getAttribute("DepartmentHome");
    if (home == null) {
    Context context = null;
    try {
    context = new InitialContext();
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to create the initial JNDI context.";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    if (error == null) {
    try {
    Object boundObject = context.lookup("Department");
    home = (DepartmentHome) PortableRemoteObject.narrow(boundObject,
    DepartmentHome.class);
    session.setAttribute("DepartmentHome", home);
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to lookup the Department bean at \"" + "\".";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    Collection recs = null;
    if (error == null) {
    try {
    recs = home.findAll();
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to find all DepartmentBean entries.";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    String title;
    if (error != null) {
    title = "Error";
    } else {
    title = "Webstore | List of Departments";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE><%= title %></TITLE>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    <H1><%= title %></H1>
    <%
    if (error != null) {
    %>
    <P><BLOCKQUOTE><%= error %></BLOCKQUOTE>
    <%
    if (exception != null) {
    %>
    <P><BLOCKQUOTE><CODE><%= exception %></CODE></BLOCKQUOTE>
    <%
    } /* if */
    } else {
    if (recs.size() == 0) {
    %>
    <P><BLOCKQUOTE>No entries found.</BLOCKQUOTE>
    <%
    } else {
    %>
    <P><TABLE border="1" width="100%">
    <TR>
    <TD><STRONG>DptNo </STRONG></TD>
    <TD><STRONG>DptName </STRONG></TD>
    <TD><STRONG>Actions</STRONG></TD>
    </TR>
    <%
    Iterator iterator = recs.iterator();
    while(iterator.hasNext()) {
    Department rec = (Department) PortableRemoteObject.narrow(iterator.next(),Department.class);
    long dptNo = rec.getDptno();
    String dptName= rec.getDptname();
    Hashtable cols = new Hashtable();
    try
    cols.put("DPTNO", Long.valueOf("dptNo"));
    }catch(Exception nfe)
    StringBuffer buf = new StringBuffer();
    Enumeration params = cols.keys();
    while (params.hasMoreElements()) {
    String param = (String)params.nextElement();
    String value = (String)cols.get(param);
    System.out.println("Param"+param); //*******It is not displaying
    System.out.println("Value"+value); //this & comes out of while loop
    buf.append(URLEncoder.encode(param) +
    "=" + URLEncoder.encode(value));
    if (params.hasMoreElements())
    buf.append("&");
    String editURL = "dptedit.jsp?" + buf;
    String deleteURL = "dptdelete.jsp?" + buf;
    %>
    <TR>
    <TD><%= dptNo %></TD>
    <TD><%= dptName %></TD>
    <TD><a href="<%= editURL %>">Edit</a> <a href="<%= deleteURL %>">Delete</a></TD>
    </TR>
    <%
    } /* for */
    %>
    </TABLE>
    <%
    } /* else */
    } /* else */
    %>
    <P><TABLE border="1">
    <TR><TD>Add entry</TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    The Department Table is as follows.
    SQL> desc department;
    Name Null? Type
    DPTNO NOT NULL NUMBER(10)
    DPTNAME VARCHAR2(40)

  • Partner application single sign-on and Oc4j

    hello,
    I'm trying to test portal's partner application single sign-on, following the examples inside the "Oracle9 iAS Single Sign-On Application Developers Guide":
    With Tomcat as jsp engine everything works fine, but with Oc4j when I try to enter the protected jsp page i have this exception:
    oracle.security.sso.enabler.SSOEnablerException: java.lang.IllegalStateException: OutputStream already retrieved
         at SSOEnablerBean.getSSOUserInfo(SSOEnablerBean.java:153)
         at SSOEnablerJspBean.getSSOUserInfo(SSOEnablerJspBean.java:57)
         at /protetta.jsp._jspService(/protetta.jsp.java:37) (JSP page line 4)
    Any suggestion?
    Thanks in advance.

    I get the same problem with my partner application. It runs fine on JServer but I get the following problem on oc4j:
    oracle.security.sso.enabler.SSOEnablerException: java.lang.IllegalStateException: OutputStream already retrieved     
    at oracle.br.aerochain.sso.SSOEnablerBean.getSSOUserInfo(SSOEnablerBean.java, Compiled Code)     
    at oracle.br.aerochain.sso.SSOEnablerJspBean.getSSOUserInfo(SSOEnablerJspBean.java, Compiled Code)     
    at /jsp/papp.jsp._jspService(/jsp/papp.jsp.java, Compiled Code)     
    at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java, Compiled Code)     
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java, Compiled Code)     
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java, Compiled Code)     
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java, Compiled Code)     
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java, Compiled Code)     
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java, Compiled Code)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java, Compiled Code)     
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java, Compiled Code)
    Did anyone get a solution for this?
    TIA

  • Solaris: OC4J: 9.0.2.0.0 or 9.0.3.0.0

    I'm a bit puzzled as to versioning of oc4j running applications created with Jdeveloper RC2 / BI Beans RC2 .
    I downloaded a file called oc4j_extended.zip (of 25. March).
    I would have thought this to be the latest distro of oc4j.
    When I invoke the oc4j.jar, I receive a message like this:
    "Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized"
    I see other people are running version 9.0.3.0.0, and most Jdeveloper references are for this version as well.
    Is there a later version (for Solaris) that I need to download/install?
    If so, where can it be found?
    Or am I fine running with the one I have?
    (Reason for asking is that I am running into problems that could possibly be related to versioning.)
    Jens

    Thanks for quick response, I am located in Norway, 6 hours in front of the US, so days can easily be "wasted" waiting for you guys. Maybe we'll manage to squeeze in 2 answers today ;-)
    Here are the answers to your question:
    myhost% java -version -jar oc4j.jar
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    myhost% java -jar oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    myhost% java -jar ./oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    This is a bit complicated, but here's a quick resume of what I did:
    * Install Oracle 9.0.1.0.0, including the http-server.
    * Patch to 9.0.1.2.0
    * download oc4j_extended, unzip to a new $ORACLE_HOME/oc4j
    * Source the following file:
    myhost% more java131.sh
    setenv PATH /usr/j2se/bin:/u01/app/oracle/product/901/bin:/bin:/usr/bin:/usr/cc
    /bin:/etc:/opt/bin:/usr/ucb:.:/usr/openwin/bin:/usr/openwin/lib
    setenv CLASS_PATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/p
    oduct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    setenv CLASSPATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/pr
    duct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    alias java="/usr/j2se/bin/java"
    myhost%
    * Check that the right java verson is running:
    myhost% which java
    /usr/j2se/bin/java
    myhost%
    * start the oc4j server with :
    java -Xmx256m -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.COR
    BA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar
    And it reports back v. 9.0.2.0.0
    So what am I doing wrong?
    Any input will be appreciated.
    Jens

  • How can I replace OC4J in release 2 portal by new version of OC4J (9.0.3)?

    Hi,
    I tried replacing the existing OC4J by the new version i.e. 9.0.3 as this fully supports JMS. In place of orion.jar we have oc4j.jar in j2ee/home. After installing and starting OC4J (using java -jar oc4j.jar I get the appropriate message that Oracle9iAS <9.0.3.0.0> Containers for J2EE initialized), but my emwebsite is down since then and I cant access the portal. Infra also went down but after restarting the services it is now up. How can I restart portal services and its EMwebsite?
    Regards
    Paras

    This cannot be done with a portal/wireless or BI install type. There are a few TARs on this.

  • How to create separate log files for each deployed web application in oc4j

    Hi All,
    I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
    Thanks and Regards,
    Ravi.

    Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
    John H.

Maybe you are looking for

  • Is there a way to communicate across subnets with the GPIB-ENET/100?

    I have a GPIB-ENET/100 that I am using. It is sitting on my engineering subnet. My PC is sitting on my corporate subnet and I am trying to communicate between the two. I can ping the device from my PC but the MAX cannot discover it. I noticed there i

  • How to get data off old LC III drive

    I have our first LC III computer that I gave to our in-laws...now they want data off of it and I don't know how to get it off easily.  The HD is a SCSI interface I think...can I use a SCSI to usb cable?  This machine was pre-ethernet, so no communica

  • Change documents for created for Customer Master

    An existing program makes changes to the Customer master table KNA1. The changes are made at the table level using the UPDATE command. Since the changes are being made at table level, the change documents are not created. I need to create IDocs for a

  • Theme for standalone WDJ application

    Dear Experts, We are on SAP Portal 7.4, and we have developed a WDJ application using NWDS 7.31. I have a requirement where I will like to use the Portal theme SAP_CORBU to the standalone webdynpro application. I have tried using the application para

  • Network Datastreams and FIFO Shared Variables

    Does someone know why one would use a Network Datastream as opposed to a network published shared variable with FIFO enabled? Seems like they would be identical except that the Shared variable could potentially have multiple listeners. Thanks, Craig