Oc4j and JVM

Where I can obtain information detailed on the use of instances of jvm in OC4J and possible behaviors of this.
We setup a container to make use of 2 virtual machines ( in the numprocs parameter in the opmn.xml file ) when we do opmnctl status command the instance shows two processes alive.
But when we observed the logs, only the first instance is modified. I want to know if is possible to balance the requirements to the 2 jvm? how to do it? or where i can found information about that?
Regards.
Edgar René

Hi Edgar --
But when we observed the logs, only the first instance is modified.
I want to know if is possible to balance the requirements to the 2 jvm? how to do it?
or where i can found information about that?Can you explain a little further about what you mean by first instance modified -- what operation are you doing? What logs are you looking at? You may have observed this already, but when you run with multiple procs, each process (ie JVM) has a separate log file -- colors~blue~colors~1.log and colors~blue~colors~2.log for example.
When you have multiple processes running for an OC4J instance, then incoming client requests are automatically balanced over them.
It's really helpful when you post questions if you state what version you are usign too -- there are some differences between the releases.
cheers
-steve-

Similar Messages

  • ADF Application + OAS 10.1.3, how many OC4J and JVM ?

    Hi all,
    We are running in Production with ADF (BC+Faces) 10.1.3 in OAS 10.1.3, with maximum 300++ users.
    (but not nessarily all submit request on same time)
    Intermittently (about two times) a week, there is time where user get hung and all request take forever to get responded.
    We watch during that time that DB load is not high, and OAS CPU 99.9 %. We have 12 GB RAM installed on OAS.
    Then user have to restat the OPMN to make system responsive again.
    Currently we run on one OC4J instance with 1 JVM, with 3GB heap.
    My question is :
    1) Will it help if we add 1 more JVM to the OC4J ?
    2) WIll it affect the Application behaviour ? (if running in 2 JVM compared to in 1 JVM like now) ?
    Thank you very much,
    xtanto

    Xtanto,
    yes you will need to retest it.
    Why?
    Because it is highly possible session will be 'transported' between JVM's
    There is a chance your application will not deploy/start at all on distributed JVM's, this because ALL objects stored on the session need to be serializable.
    When this is the case, the application will deploy/start on multiple JVM's
    But this doesn't resolve issues around developers who put random stuff in the session which is a bad practice in general.
    Session behavior will need to be tested.
    -Anton

  • 9iAS, OC4J and JVMs confusion

    Could somebody please comment on, or shed some light onto the following:
    With the previous (up to 1.0.2.1) 9iAS application server offerings, mod_ose and Java code execution inside JServer/Aurora were touted as the way to go, because of its optimized, multiuser, session-isolating nature.
    We now got the new OC4J J2EE platform (i.e. Orion Application Server) which supercedes the previous offerings and whose documentation states it executes under the native JVM of the machine.
    Question: Is it Aurora that is actually running Orion in the 1.0.2.2 config, or is it a plain JVM? If a plain JVM, what's the deal with the (theoretically apparent) benefits that Aurora offers for intensive multiuser scenarios? (session isolation, gc per session etc?). Can somebody from Oracle offer some clear clues as to where the application server platform is actually headed? Are we to expect an integrated Orion-based app server running on Oracle's JVM technology, is this already the case now, or is Aurora being silently phased out in light of the newer JVMs/JDKs that will soon hit the street?
    Curious,
    Thanassis

    Hello,
    The EJB container in 9iAS runs on JDK not on Aurora JVM. So the new direction is that the middle tier is separate from the database. In spite of the architectural strengths and theoretical benefits of the Aurora JVM we found that the EJB container performs significantly better and is far more usable in 9iAS.
    So the future direction is that EJB in the Aurora container will be desupported over time. The middle tier story for Oracle will rn on JDK. The Aurora VM in the database will however remain for Java Stored Procedures.
    Cheers,
    Asho

  • OC4J and FOP installation

    Hi,
    We would like to use the PDF printing of 3.0.1
    I am trying to install FOP but I do not have any knowledge in OC4J and Java ... so I am kind a lost right now.
    I am following the installation guide of OC4J standalone (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/install.htm#BABIBGCA)
    I was wondering :
    1- do I need to install oc4j standalone in a separate Oracle Home ?
    2- There is already an OC4J installed in my db Oracle Home , I guess for emdbconsole. So , I created a new directory called oc4j_sa and unzipped the file. When I start OC4J with oc4j -start , it does not give me the prompt back. Then , I can access the web page with port 8888 (192.168.0.21:8888) , but 192.168.0.21:8888/em fails . So I cannot deploy the FOP war file.
    Any pointers or guidance would be great.
    Thanks
    Francis.
    P.S. :
    Oracle 10.1.0.5
    Oracle Linux (RH 4)

    OK, I finally got to the deployment of FOP but now it generates a corrupted PDF.
    Are there any log files that I can check ?
    I created a new Oracle_home for OC4J and ran "EM" to deploy FOP and everything worked like in the viewlet.
    Now I did the setup in APEX and set the following :
    Standard Support
    Print Server Protocol HTTP
    Print Server Host Address 192.168.0.21
    Print Server Port 8888
    Print Server Script /fop/apex_fop.jsp
    I created a sample application to test. In a report , I added the print link.
    When I clic Print, the pdf generated is corrupted and does not work.
    Thanks
    Francis.

  • OC4J and Oracle forms causes ie or firefox to not respond when running form

    When I run a form in Oracle Forms 10g, I have OC4J running, and have the following displayed:
    E:\Windows\system32>E:\DevSuiteHome_5\jdk\bin\java -Doracle.security.jazn.confi
    g=E:\DevSuiteHome_5\j2ee\DevSuite\config\jazn.xml -Doracle.home=E:\DevSuiteHome_
    5 -DORACLE_HOME=E:\DevSuiteHome_5 -jar E:\DevSuiteHome_5\j2ee\home\oc4j.jar -use
    rThreads -config E:\DevSuiteHome_5\j2ee\DevSuite\config\server.xml
    07/11/20 23:11:44 Warning: Error reading transaction-log file (/E:/DevSuiteHome_
    5/j2ee/DevSuite/persistence/transaction.state) for recovery: premature end of fi
    le
    07/11/20 23:11:44 Forced or abrupt (crash etc) server shutdown detected, startin
    g recovery process...
    07/11/20 23:11:44 Recovery completed, 0 connections committed and 0 rolled back.
    07/11/20 23:11:44 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    07/11/20 23:18:10 FormsServlet init():
    configFileName: E:\DevSuiteHome_5/forms/server/formsweb.cfg
    testMode: false
    I am running vista, and have the latest version of the dev suite. Does anybody know how I can fix this problem?

    You cannot use Internet Explorer on Windows Vista to run Web Forms.
    <p>But you CAN run web forms through Netscape or Firefox. But you first need to disable Java in the browser.
    <p>And to run OC4J on Vista, you need to set its compatibility mode to Windows XP.
    <p>See my notes on OC4J and "Browser Settings" in this thread:<br>   
    Forms 10g installed and running on Windows Vista

  • Report display is different in report builder, local oc4j and app server

    Hi guys,
    we upgrade reports from sql report writer into report 10g. In the report 10g builder,
    the report format looks fine. but if i use the url as below
    http://applicationserver/reports/rwservlet?report=test.rdf&userid=username/password@service&desformat=pdf&destype=cache
    so the format will be mess up whatever i use this url in my local oc4j or i deployed it into 10g application server. and the format is different in oc4j and application server. Why this issue happend?
    Thanks in advance,
    Appcat

    Hello,
    They are a Fix Pack higher than you which may explain why it's broken on their server.
    Download the Fix Pack for R2 and see if you can duplicate the issue.
    Thank you
    Don

  • How to make OC4J and IIS on diffrent machines ?

    Hi,
    How to make OC4J and IIS running diffrent machines. following document tells use "standalone ONS daemon",Can anybody tell what standalone ONS daemon means and steps to be done to make IIS working on diffrent machine
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b25211/oc4jplugin.htm#i638738
    Thanks & Regards
    Vino joy

    sender,
    the quantize menu is in the top info box in the arrange.
    if you double click on it, an extended parameter box appears with a lot of quantizing options. also RTFM about this bit.
    in the sample editor, there is an audio quantize feature.
    but it is old, and probably hasn't been updated in ten years........try it, you
    'll prolly hate it.
    there is also a quantize audio/groove plug, in the special menu.
    it works....sorta.
    if you're talkin' drums, on seperate tracks, like kik on one, and snr on the next, etc., try strip silence to cut the loop/file up, then select same in the arrange trk and quantize this, as above. (info box).
    this does work well provided you know just where you want the feel to be.
    you could also try making a groove template of the original clip/loop and use this as a timing reference.
    this also works well if you can get a clean footprint of the audio.
    best,
    DR9

  • Error when accessing Java and JVM section

    I'm getting the following error when accessing the Java and
    JVM section of the CF Administrator:
    "Element JDKPATH is undefined in FORM"
    I've searched a lot and there's very little on the topic. On
    this forum there are two posts and one got no answer, on the other
    it was suggested it might be the jvm.config file. I've looked at
    mine but I really have no idea what could be wrong. Also, there are
    two jvm.config files in my install, one in jrun4/bin and another in
    jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/runtime/bin
    folder (I did multiserver installation).
    I've already tried a bunch of things and no luck, any help is
    appreciated on this.

    quote:
    Originally posted by:
    ke4pym
    What is your path? Make sure you're using forward slashes.
    ie: d:/java/jdk1.6.0_12/bin/blah/blah/blah
    What path are your referring to? My actual PATH environment
    variable? Or are you referring to something else. Btw, here's what
    my config file looks like right now.
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    java.home=C:/JRun4/jre
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 2) ../jre
    # 3) registry (windows only)
    # 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    # Arguments to VM
    java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false
    -XX:MaxPermSize=192m -XX:+UseParallelGC
    -Dcoldfusion.rootDir={application.home}/
    # commas will be converted to platform specific separator and
    the result will be passed
    # as -Djava.ext.dirs= to the VM
    java.ext.dirs={jre.home}/lib/ext
    # where to find shared libraries
    java.library.path={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusi on/lib,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/jintegra /bin,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/jintegra/b in/international
    system.path.first=false
    # set the current working directory - useful for Windows to
    control
    # the default search path used when loading DLLs since it
    comes
    # before system directory, windows directory and PATH
    java.user.dir={application.home}/../lib
    # JVM classpath
    java.class.path={application.home}/servers/lib,{application.home}/lib

  • How Standalone OC4J and the Oracle Application Server linked to each other

    Hi ,
    Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
    In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
    Please tell me how they are linked to each other .
    Thank you .

    It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
    OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
    For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
    So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
    PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
    Hope this helps.
    Thanks
    Shail

  • Is the Lastest OC4J and AS9i work with oracle 8i ?

    Hi, a quick question:
    Is the lastest OC4J and Oracle AS9i works/compatible with Oracle 8i?

    Yes, you can use OC4J and Oracle9iAS with Oracle8i also.
    -Arun

  • Standalone oc4j and oracle 9i database on the same windows xp machine

    I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

    user549113,
    Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • OC4J and login failure

    'Install' the embedded OC4J in JDev9i (<Jdev9i_HOME>\j2ee\home) and assign an administrative password of admin.
    Deployment from JDev9i works with no issue - URL uses port 8888.
    Problem is when shutdown machine and come back in I have to go back and reinstall the embedded OC4J. It seems to lose
    the fact that it was installed and had a password of admin.
    What gives - Thanks - Ken Cooper

    First of all i had the exact same problem for few weeks ago.
    I was advised to download the Oracle9iAS Containers for J2EE Standalone ( http://technet.oracle.com/software/products/ias/devuse.html )
    then make own oc4j directory and install this version. This will work!
    Note that if you work with bc4j you need to adjust your configuration
    according to this doc:
    http://otn.oracle.com/products/jdev/htdocs/bc4j9ioc4j.html
    and do the configuration manually.
    You will never have to reinstall oc4j and if for any reason the oc4j does not work properly, you can simply delete the oc4j directory and setup a clean one.
    succes!
    greetz jaime

  • OC4J and JDK version compatibility

    Does anyone know if OC4J 1.0.2.2.1 is certified to work with JDK1.3.1?
    The reason being :
    1. We have a situation where the CPU gets full frequently because of OC4J.
    2. When OC4J is recycled the app works fine. App uses JSP, servlets and JDBC connection to Oracle 8.1.7
    3. Is there any way to find if OC4J 1.0.2.2.1 is not supposed to be used with JDK1.3.1?
    Finally, is there any URL that provides this information so that I can check the same with later versions of OC4J and JDK?
    Thanks,

    OC4J 1.0.2.2.1 is not certified with 1.3.1.x. Certification information should be available in http://metalink.oracle.com. You should have a CSI to get into Metalink.
    thanks
    debu

  • OC4J and OracleAQ

    I've developed an EJB to use in OC4J. This EJB tries to access a Queue in an Oracle8i Database, but i always get an error, saying the connection is invalid. The same code executing as a normal Java Class works fine. Is there any problem with OC4J and oracleAQ?

    I have successfully used AQ with OC4J. I have 2 beans where one bean writes to the queue and another bean reads from the queue. As far as connection is concerned, when you move the EJBs from JServer to OC4J, you can't use the KPRB driver. You can use either Thin/Thick driver. May be you could check that.
    --Rajesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • OC4J and HTTP?

    Hi,
    I am curious if someone might be able to shed some
    light for me on this problem? I need to first run a
    servlet on OC4J and then I want to pass some
    data from that to an HTTP mod pl/sql instance
    and I want both to run HTTPS. How would I go about
    configuring what I want to do? Run OC4J on port 80
    and then pass it over to Apache?
    TIA

    I opened an enhancement request at metalink for this issue
    regards

Maybe you are looking for

  • TS1292 Bought UK itunes card not working for Canadian set up account

    bought an itunes card while living in the UK and I have not been able to add it to my itunes account which is traced to Canada. Anyway around this? Thanks

  • Error while installing AIA FP 2.5

    Hi, I am trying to install foundation pack 2.5 in windows 32 bit system. I downloaded the setup (V18466-01) from edelivery but whenever I am trying to run the setup.exe it is throwing an error that: "Unzip: No matching wildcard found for ..stage\Comp

  • Foreign Purchase - Freight Charges

    Dear Gurus, I have an issue for freight charges. It's a new implementation and i want to map this scenario in SAP. For foreign purchase, My client receives and move their Material at the port area by hiring any transport delivery services they can fi

  • Thunderbird mail now looking up "CONTAINS" when attempting to write an email and not "BEGINS WITH"!!!! HELP!!!

    The NEW Thunderbird is looking up "CONTAINS" when attempting to write an email and not "BEGINS WITH" as it used to do before. I'm currently on 31.3.0 Thunderbird. Which version do I need to revert to, to get this function back for an employee on his

  • PDF thumbnail generation has stopped working

    Hello Together, formerly I was using Adobe Reader X at an actual Patch Level on a 64 Bit Windows 7 system. At that time PDF thumbnails were no subject for me. Now I've upgraded to Adobe Acrobat X Pro and uninstalled Adobe Reader X. Then I wanted to u