OC4J Versus 9ias

With all the fuss over OC4J, what is the strategic importance of using OC4J versus deploying your application on 9ias? Is there something proprietory within 9ias that would be a dis-incentive? A response from would be greatly appreciated. When it seemed ORACLE had something stable they suddenly seemed to have created a whole lot of confusion!!
Rajendra V Auradkar
Software Architect
[email protected]

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Rajendra Auradkar ([email protected]):
I am sure that OC4J has great features. Is there a structured treatment on what these features are and how to use them?
Thanks,
Rajendra V Auradkar<HR></BLOCKQUOTE>
Rajendra,
Before OC4J, we had the Oracle JVM running inside the database. This meant that users had to install a database to run J2EE applications. Though there were some benefits of running J2EE applications with Oracle JVM, there were some usability issues
and our customers gave us feedback that they did not like to idea of installing a database ( in the middle tier) to run J2EE applications. To address these and other concerns OC4J was launched about 6 week back.
Oracle JVM will continued to be enriched to run Java stored procedures and server -side JDBC and SQLJ. For your J2EE needs, please use OC4J. It is easy to use and very fast as another person on this thread mentioned.
For more technical info including examples and white papers check out http://technet.oracle.com/tech/java/oc4j/content.html

Similar Messages

  • Performance advantage to standalone OC4J versus App Server?

    If one uses only the JMS server part of the 10g Application Server, would there be any performance advantage to running the standalone version of the OC4J JMS server versus running the entire application server?

    Are you saying there is zero overhead associated with passing JMS messages through the application server?
    Logic suggests a performance increase when a step is removed...

  • LDAP Error 50 configuring OC4J in 9ias Rel 2

    Hello everybody,
    I'm trying to install 9ias Rel 2 on a Windows 200 Server machine.
    Unfortunatly after 3 tries i'm continuing receiving the following error during the OC4J configuration step in a Business Intelligence Installation type ( i want to say first that all the Infrastructure installation and configuration was successfully executed and that i stopped the EM before starting the OAS installation to avoid to have conflict with the dcmctl tool):
    The configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    - permissions on files
    - file contention issues on Windows NT
    - EMD and dcmctl running concurrently
    - internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    The dcm.log says:
    [ RM ] Exception in repository API getDBConnect()
    CDATA[oracle.ias.repository.schema.SchemaException: Unable to retrieve the requested attributes:javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'orclReferenceName=iasdb.db1.acclaris.biz,cn=IAS Infrastructure Databases, cn=IAS, cn=Products, cn=OracleContext'
    at oracle.ias.repository.directory.DirectoryReader.getAttributes(DirectoryReader.java:171)
    at oracle.ias.repository.directory.DirectoryReader.getAttribute(DirectoryReader.java:126)
    at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:333)
    at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:415)
    at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
    at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
    at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
    at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
    at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
    at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.initRepository(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    I have tried 3 times (everytime after deinstalling and cleaning the machine), and got the same error.
    Can anyone help me? It's really urgent and i spent a lot of time without solving it yet.
    Thanx in advance

    I have had the same problem getting any dates from Oracle as well but after talking to Oracle and bugging them about it here is the response I received:
    Sun Solaris before May 31
    MS Windows - Solaris date + 8 weeks
    Red Hat 7.1 - Solaris date + 1 week
    SuSe SLES7 - Solaris date + 1 day
    True64 - Solaris date + 4 weeks
    I don't know how reliable these dates are but I thought I would pass on what I have been told, since some information is better than none.

  • Oc4j on 9ias 9.0.2 using java 1.4??

    I would like to run my java 1.4 applications on our newly purchased 9ias (ver 9.0.2). I know that Java 1.4 is not certified/supported with 9ias 9.0.2 yet. But it's easy to use java 1.4 with oc4j standalone. I tried to do the same hack on the 9ias, but then the dcmctl utility failed. Is it a way to fire up the oc4j instance with the java 1.4 binary?? (dcmctl use 1.3 and launches oc4j with 1.4). Have anybody managed to run 1.4 applications on 9ias 9.0.2? I would relly like to try in for experimental/development use.

    Hi, this is code trigger:
    miconexion := get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
    v_param_rep := 'paramform=yes P_USER_CONNECT='||miconexion||' P_SERVERNAME=repsrv9i P_ACTION=http://business.alcosto-madrid.es:7777/reports/rwservlet?';
    id_informe := FIND_REPORT_OBJECT('REP_INVENTARIO');
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_EXECUTION_MODE, RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_DESNAME, 'c:\aplicaciones\inventario\inventario.pdf');
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_FILENAME, 'c:\aplicaciones\inventario\inventario.rdf');
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_SERVER, 'repsrv9i');
    SET_REPORT_OBJECT_PROPERTY(id_informe, REPORT_OTHER, v_param_rep);
    respuesta := RUN_REPORT_OBJECT(id_informe);          
    v_job_id := substr(respuesta, length('repsrv9i')+2, length(respuesta));
    estado := REPORT_OBJECT_STATUS(respuesta);
    WHILE estado in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    estado := REPORT_OBJECT_STATUS(respuesta);
    END LOOP;
    IF estado = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||v_job_id||'?server=repsrv9i','_blank');
    ELSE
              message('Error en el listado, consulte con su Administrador');
    END IF;
    Thanks for reply.

  • Oc4j versus apache

    Hi
    I have a minor problem with apache-oc4j ...
    Given a host name proposed by oracle as while installing all the stuff.. let say x.y.local...
    using this host to access a j2ee application works perfectly, from anywhere on the network.
    this server have alternative names, let say aHostName. When i use this the web application still work, excepts in one place. When i access a resources constrained to a role and i dont have the role, the redirect is from aHostName to x.y.local ... causing some problems to our application... We suspect that apache override some http header info about the hostname..
    Any idea ?

    You can try setting the UseCanonicalName, which defaults to be on, to be off in your Apache/Apache/conf/httpd.conf file. Or you can set your ServerName to aHostName instead of x.y.local.

  • Can multipule users deploy application to OC4J on 9iAS r2?

    Is there a way to deploy applications to OC4J through the Enterprise Manager using different user than IAS_ADMIN?
    Thanks
    Marcel

    Hi Marcel,
    In Oracle9iAS R2 9.0.2, ias_admin is the only predefined admin user you can use to deploy an application (the Enterprise Manager website runs on it's own OC4J instance, config files are located in $ORACLE_HOME/sysman/j2ee/config, the admin user ias_admin is defined in $ORACLE_HOME/sysman/j2ee/config/jazn-data.xml). Futre release of Oracle9iAS will allow you to define additional admin users.
    BTW, what's the purpose to deploy applications using a different user?
    Regards,
    Chen.

  • Starting OC4J under 9iAS

    On NT/Win2000 (sorry, but we're stuck with it), we're having
    trouble figuring out how to automatically start OC4J. We can do
    it manually, and leave a session active with it running, but
    that's a pain.
    Is this a standard problem? Is there an easy workaround?
    -- jim

    Check out this URL -
    http://www.orionsupport.com/articles/orserv.html
    3 ways of starting Orion (Oc4J) as a Windows NT service are
    described there.

  • Oracle 9iAS 1.0.2.0.0 and OC4J

    Hi all
    We have Oracle 9iAS 1.0.2.0.0 on Tru64Unix os. OC4J is not supplied with this version of 9iAS ,
    is it possible to install OC4J on 9iAS 1.0.2.0.0 or do we need 9iAS 1.0.2.2
    Thanks
    Jaleel

    My guess then would be that the problem is that you get:
    ConfigFileName: null in the OC4J log window. This should actually point to a config file for the Forms server : formsweb.cfg.
    Are you running the OC4J that came with Oracle9iDS?
    What happens if you try the following URL:
    http://127.0.0.1:8888/forms90/f90servlet
    I don't know why it is not configured for you. might be worth a reinstall.

  • Remote Debugging w/9iAS  not working !

    I tried posting this in the app server area but apparently, it's too difficult for anyone to answer. No replies.
    We need to debug a deployed jsp that uses java beans.
    The jsp/java beans app is in jdevleoper 9.0.3.1 (windows 2000).
    I have deployed the application to Oracle 9ias java edition (9.0.3) on Red Hat Linux.
    I know how to modify the project settings in jdeveloper for remote debugging.
    when I start debug mode in jdeveloper I am prompted for the host name and port number for the remote debug session. What port do I use ?
    Do I need to do something to start 9ias at a certain port ? If so, how do I do this ?
    I have seen conflicting information on this that mainly refers to a standalone oc4j, not the oc4j in 9ias.
    Frank

    Hi,
    We have gotten many requests for collateral that details these steps. We are currently working on such a document. Keep posted to the JDeveloper OTN website http://otn.oracle.com/products/jdev for updates on this.
    -Stuart

  • Installing BIBeans on 9iAS 9.0.3 Solaris 8

    I was reading in http://otn.oracle.com/products/bib/htdocs/installation/installing_bibeans.html regarding install of BIBeans on UNIX environments that require an X server or XVFB on a "headless" box. Is this the case on Sun V240's? That's what I'm assuming.
    The readme continues to detail that there is no problems with generating images on "headless" boxes when using JDK 1.4.x since it supports headless environments with the following option to the JVM: ' -Djava.awt.headless=true '
    What doesn't make sense to me is whether all of this is necessary in a web application (JSP/Servlet returning a BIBean Presentation) running on 9.0.3 of OC4J in 9iAS on Solaris 8 (V240).
    9.0.3 is running J2EE 1.3.x which uses the 1.3.x JDK. This begs the question of whether 9iAS (OC4J 9.0.3) needs to use JDK 1.4.x (or XVFB) to enable graphic generation of Presentations in a web app on UNIX (Solaris 8)?
    Thanks,
    Laith E.H.

    The Web applications hosted on iAS/OC4J using Beans Presentations do require XServer (or XVFB) on Solaris (all versions of the operating system) box as long as the underlying Java runtime (The Java runtime used to start OC4J) is 1.3.X based.
    The XServer is not required (-Djava.awt.headless=true is required however) when using J2SE 1.4.
    Thanks

  • How to Redeploy application in OC4J using war file

    Hi
    Am new in area of 9ias and OC4J.
    I have deployed and application in OC4J of 9ias 902. using enterprise manager web interface.
    now i have change the contents of current jsp and added more jsp files.
    do i have to recreate war file and redeploy it in oc4j? or just copy the new version of current jsp and copy new jsp in application forlder.
    in case of redeploying , exterprise manager web interface asks for .ear file.
    can anyone give some hint to me... it will great help
    thanks
    samir
    [email protected]

    Yes you have to rebuild the WAR file. You can deploy WAR from EMWebsite by using the deploy WAR link. If you are in development and your WAR/EAR file is constantly changing you can use standalone OC4J.
    regards
    Debu

  • How to use log4j in OC4j

    Can you give me a sample log4j.xml used for oc4j (orcle 9iAS ). Also
    I want to read a env. variable to read the oc4j home in that xml to redirect the log msgs to that folder.Any clue on that ?
    (I am developing windows env & deploying solaris. So I cannot use C:\oc4j\.... in my log4j.xml . I need to read the oc4j home from env variable)

    This is mine. You cannot read environment variables in the DB JVM using System.getProperty(). One solution may be to configure log properties dynamically using PropertyConfigurator.configure().
    log4j.rootLogger=DEBUG, logfile
    # Log file appender configuration
    log4j.appender.logfile.File=batch.log
    log4j.appender.logfile=org.apache.log4j.FileAppender
    log4j.appender.logfile.layout=org.apache.log4j.xml.XMLLayout
    regards,
    Chris

  • JDev 10g and EJB 2.0 on non-OC4J server

    It looks like JDev 10g only supports EJB 2.0 for OC4J out-of-the-box. Is this correct?
    If we wanted to generate EJB 2.0 CMP entity beans etc to deploy to a non-OC4J app server (e.g. JBoss) using JDev 10g, what would we need to do? Are there any tutorials/how-to's available?
    As a newbie to JDeveloper and J2EE, trying to work out how to re-write our Forms system in J2EE, I have to say I'm getting tired of how most of the JDev documentation - and much of the software - only seems to relate to using OC4J (or 9iAS) as your app server. If we and our customers wanted to be restricted an Oracle app server, we could just stick with Forms 9i and save ourselves a world of Java pain.
    Plus, nearly all the 10g client documentation relates to JSP clients, but we want a rich GUI using Swing (JClient would be useful but we can't figure out how to deploy it 3-tier to JBoss).
    So, Oracle, how about giving your users some more documentation on how to use JDev10g/JClient/ADF/EJB 2.0 etc with non-OC4J servers and perhaps even without JSP?
    I am sure that JDev10g and ADF could offer us a great deal of help in building our system, if only we could figure out how to use it.
    Thanks,
    Chris

    Thanks, Deepak.
    But the how-to is for old versions of JDev/JBoss:
    "This document was written for Oracle9i JDeveloper Release Candidate and JBoss 2.4.4 (Dated December 29, 2001), although other versions of Oracle9i JDeveloper and/or JBoss should behave the same."
    I'll let you know if this works with JDev 10g and JBoss 3.2.3, but I have my doubts.
    If anybody has some more recent information on this, please let me know!
    Chris

  • CMB accessing remote OC4J problem

    I create a CMBean from table, before using this CMB accesses remote OC4J,all are right (deploy is ok,testing in embedded oc4j is ok,even using session bean accessing remote OC4J is ok)
    the client code is:
    try
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    env.put(Context.PROVIDER_URL, "ormi://cly:23791/emp");
    Context ctx = new InitialContext(env);
    EmpHome empHome = (EmpHome)ctx.lookup("Emp");
    Emp emp;
    The console displays:
    javax.naming.NamingException: Lookup error: java.io.IOException: Class Not Found: com.evermind.server.ejb.DummyRemote; nested exception is:
         java.io.IOException: Class Not Found: com.evermind.server.ejb.DummyRemote
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
         void Samplepk.EmpClient2.main(java.lang.String[])
    Process exited with exit code 0.
    How can solve this problem

    Hi Chen,
    I assume you mean CMP entity bean (when you talk about a "CMB").
    However, what I cannot deduce is, what OC4J are you referring to:
    1. OC4J in JDeveloper
    2. OC4J stand-alone
    3. OC4J in 9iAS
    [and which version(s) of the above]
    I'm only guessing, but perhaps you have developed your (CMP entity) bean in JDeveloper, and are trying to deploy it in either OC4J stand-alone or 9iAS, correct?
    If this is the case, you may have a compatibility mismatch between the various products (JDeveloper, OC4J, 9iAS).
    Personally, I only use OC4J stand-alone. I don't use JDeveloper, and I use the tools that come with OC4J stand-alone to deploy my EJBs.
    Hope this helps.
    Good Luck,
    Avi.

  • 9iAS and OC4J10G

    Does anyone know if it is possible to use OC4J10g with 9ias? I got some problems when starting the container, lots og exceptions that refers to files (*.jar) that can't be found. These exception only came on a machine that contained 9ias. On the test-machines that didn't contain 9ias everything was ok.
    If it is not possible to use it at the same time; Is it possible to replace the oc4j that 9iAS uses with 10G?
    regards from
    Monica.

    No, OC4J 10g (10.0.3) Developer Preview can not be used to replace the version of OC4J that ships with 9iAS. It is only meant to be used in standalone mode.
    Cheers,
    -lars

Maybe you are looking for