OC4J cluster

Hi All,
I am looking for a solution to cluster OC4J in active-active configuration.
I need steps to cluster OC4J in OAS10gR2(10.1.2.3). The middle tier is installed as BI and Forms and not as J2ee and WC, therefore I cannot use DCM for clustering OC4J.
The middle home is installed on two different nodes(each Windows 2003 server).
Thanks for sharing the steps to cluster the same.
Regards,
Ishar

Hello,
There is another method to configure OC4J Cluster: From the Admin GUI (em)
Seems its very easy and riskless.
I have seen some recommendations to not configure from the flat files.
Where i think if the em does not support you for some features, then we have no choice but use files.
Any opinion please?
Thanks and regards,
-Kash.

Similar Messages

  • Deploy in oc4j cluster

    Do it is possible to deploy XML Publisher in AS 10.1.2 OC4J Cluster?
    Thanks

    Check [installation guide|http://download.oracle.com/docs/cd/E10391_01/doc.910/e10368/cluster.htm#CHDCIDAC]
    There are also some metalink notes about cluster configuration and oc4j with oim

  • Oc4j cluster how to?

    Hello,
    i have downloaded document from metalink and that seems to be very useful.
    What is your opinion about below?
    If something else is useful, kindly guide.
    Appriciate your help.
    Thanks and regards,
    Kash.
    summary is as below:
    Reference in metalink:
    Bulletin: Configuring Multiple OC4J Instances as a High Availability Cluster
    SUMMARY
    To configure multiple OC4J instances as a clustered environment with session
    replication between instances of the same cluster:
    [1] Configure the http-web-site.xml/default-web-site.xml file as follows:
    (a) Configure following attributes in <web-site> tag:
    - ensure HOST attribute provides fully qualified name of the machine.
    - ensure CLUSTER-ISLAND attribute provides same value for all
    instances of the cluster.
    (b) Add as a child element of <web-site> a <frontend> tag identifying
    the hostname and port of the "clusters" global name:
    <web-site
    display-name="kash:rmi(20001):web(28881)"
    host="kash..website.com"
    port="28881"
    cluster-island="21"
    >
    <frontend
    host="kash.website.com"
    port="28080"
    />
    [2] Ensure that each web applications "orion-web.xml" deployment descriptor contains or will get generated with a <cluster-config> tag. Ensure that the ID attribute of this tag is set the same for all orion-web.xml files on this container but that different values are used on other instances:
    <cluster-config
    id="20002"
    />
    [3] Edit the http-web-site.xml/default-web-site.xml file and ensure that the
    <web-app> tag for any application which propagates state information has a
    "load-on-startup" value of "true":
    <web-app
    application="BalanceTest"
    name="web"
    root="/bal"
    load-on-startup="true"
    />
    [4] Edit the "web.xml" deployment description for any web module which will replicate it's session information to other instances and ensure that a
    <distributable> tag is present:
    <web-app>
    <display-name>BalanceTest2881</display-name>
    <description>Test of servlet load balancing/failover</description>
    <distributable/>
    [5] Startup the load-balancer from %ORACLE_HOME%\j2ee\home directory by running:
    java -jar loadbalancer.jar -host <generic hostname> -port <port>
    -minimumIsland <min> -maximumIsland <max> -debug
    [6] Startup individual OC4J instances from %ORACLE_HOME%\j2ee\home directory by running:
    java -Dhttp.cluster.debug=true -Dcluster.debug=true -jar oc4j.jar
    -config <path to server.xml of instance> -verbosity 10
    [7] Browser requests can then be sent using the cluster wide hostname and port number associated with the load-balancer:
    http://kash.website.com:28080/bal/BalanceTest
    [8] The messages displayed to the console window for each instance can be used to identify the propagation of session state messages (both sent and
    received).
    Through these messages it is possible to identify and then terminate the
    OC4J instance which is currently associated with that session. After this,
    further requests to the same URL should will be dispatched to a different
    OC4J instance but the same session values will be seen.
    Edited by: user10419491 on Jun 23, 2009 10:42 PM

    Hello,
    There is another method to configure OC4J Cluster: From the Admin GUI (em)
    Seems its very easy and riskless.
    I have seen some recommendations to not configure from the flat files.
    Where i think if the em does not support you for some features, then we have no choice but use files.
    Any opinion please?
    Thanks and regards,
    -Kash.

  • OAS(10.1.2.3) OC4J cluster

    Hi All,
    I am looking for a solution to cluster OC4J in active-active configuration.
    I need steps to cluster OC4J in OAS10gR2(10.1.2.3). The middle tier is installed as BI and Forms and not as J2ee and WC, therefore I cannot use DCM for clustering OC4J.
    The middle home is installed on two different nodes( each Windows 2003 server).
    Thanks for sharing the steps to cluster the same.

    Resolved. Command "dcmctl resetfiletransaction" and then opmnctl stop and startall cleared the process. It was dcm-daemon that was still alive.

  • RPC calls and multicast messages in oc4j cluster

    Hi, our application uses RPC calls, which are distributed over multicast messages (jgroups). We use RPC calls to update internal object cache, which exists on each cluster instance. The OC4J instance, which sends the message, successfully receives these and executes the RPC call. The other OC4J instance does not get the message or cannot execute the RPC call. I don't know whether reception of multicast messages is not possible and/or the RPC call is not possible (safety reasons). The same implementation does work with other app. server like Bea Weblogic 8.1.

    Scrap JMS. Use plain java.net or JINI.
    You could create a Peer-to-Peer Chain:
    Server A -> Server B -> Server C -> Server A
    On each Server have a server listening for messages (from the Server to the left in the chain) and a client that sends messages (to the Server to the right in the chain) and an application that links the server and client on each Server.
    So,
    Server A's "server" listens for messages from the "client" on Server C, and so on.
    This is vary efficent. A simple send-receive chain that is clusterd within a small (or large) group of Servers. You could also try Bi-Directional Parallel Communications BDPC. That would basically have Server A send messages to both Servers - one to the left and one to the right, then at the same time, listen for messages from the Server on the left and the Server on the right. This is better suited for large-scale clusters where a Uni-directional communications model would take too long to propogate messages to every member of the group.
    But, that's just me.

  • Using AQ Topic in OC4J Cluster

    Hello,
    I want to load balance messages from an AQ JMS Topic to an OC4J JEE application running in an AS Cluster. I have that setup:
    AQ: Topic / Durable Subscriber -> OC4J: 2 Containers
    Comming from the BEA JMS terminology I used to configure a "Messaging Bridge" (singleton) which had managed a durable subscription to that topic. The "Messaging Bridge" then load balanced the incoming messages to local destinations using a "Distributed Destination" to each logical JVM.
    Is here somebody how had before a similiar scenario? What's the concept of "Distributed Destinations" in OC4J?
    grüße,
    \thomas

    This forum is "DATABASE >> AQ"
    In what way does your question relate to the database and what version if it does?

  • OAS Cluster / OC4J Cluster without using LBR ?

    Hi all,
    In one of our client running OAS 10.1.3.3, there is requirement for High Availibility, but investing for a hardware LBR may be too much for them on this phase.
    We think of doing this : using two nodes for OAS :
    server_1 : OHS1 + OC4J1
    server_2 : OHS2 + OC4J2
    for Load Balancing we plan to use MOD_OC4J.
    Yes, we cannot do load balance between OHS1 & OHS2, so if server_1/OHS1 fails. Use has to manually access through OHS2.
    Without LBR, is there any better solution than this ?
    Thank you,
    xtanto

    You can also use Oracle Web Cache product which can not only do load balancing for you but at the same time provide other features like page caching and compression that will improve the performance.
    http://download.oracle.com/docs/cd/B32110_01/core.1013/b32196/reconfig.htm#i1010548
    Thanks
    Shail

  • Request.getParameter returns null - Converting webapp from Tomcat to oc4j

    I support a simple web app that passes arguments via url context variables. For some reason it does not work in OC4J. When I use request.getContextPath() I see that the URL string only contains the webapps name, not the whole URL with parameters set.
    BTW it is an OC4J cluster

    *Name:             index.jsp
    *Function:         This page is 1st url for WebApp
    *Information:      This page is used as the home page for this application.
    *Version:          1.0 (created on 2005-06-06)
    * 2.0 052406 pge
    %>
    <%@ page pageEncoding="UTF-8"%>
    <%@ page import="com.hp.itsm.api.*" %>
    <%@ page import="com.hp.itsm.api.interfaces.*" %>
    <%@ page import="java.text.Collator" %>
    <%@ page import="java.util.*"%>
    <%@ page contentType="text/html; charset=utf-8" %>
    <%@ include file="include/variables_initialize.jsp" %>
    <%@ include file="include/methods_global.jsp" %>
    <%@ include file="include/methods_servicedesk.jsp" %>
    <%
    String login = request.getParameter("u");
    String xxx = request.getContextPath();
    //Service Call objects
    ApiSDSession SDsession = null;
    IPerson[] personList = null;
    IAccount accountRequester = null;
    Boolean bError = Boolean.FALSE; //Default to no errors found
    List errMsgList = new ArrayList(); //Array of error messages
    //Get account information
    accountRequester = getAccount(SDsession, login);
    if (accountRequester == null) {
    bError = Boolean.TRUE;
    errMsgList.add("Could not retrieve the accountRequester.");
    }

  • Error on task manager BPEL 10.1.3.4.7 - oc4j

    Hi,
    I'm having problem with Task Manager on bpel 10.1.3.4.7 using oc4j, cluster environment.
    The following errors appears on error log intermittently, if I try to reprocess the same bpel process it works:
    ERROR> <segmentacao.collaxa.cube> <BaseCubeSessionBean::logError>
    Error while invoking bean "instance manager": Variant not found.
    The variant "outboundMsg" has not been declared in the current scope. All variants must be declared in the
    scope before being accessed.
    Please check that the variant "outboundMsg" is properly declared; otherwise there may be a misspelling in
    the name of the variant.
    ORABPEL-02118
    Variant not found.
    The variant "outboundMsg" has not been declared in the current scope. All variants must be declared in the
    scope before being accessed.
    Please check that the variant "outboundMsg" is properly declared; otherwise there may be a misspelling in
    the name of the variant.
    at com.collaxa.cube.engine.core.Scope.getVariantRV(Scope.java:522)
    at com.collaxa.cube.engine.CubeEngine.getFieldValue(CubeEngine.java:2988)
    at com.collaxa.cube.ejb.impl.InstanceManagerBean.getFieldValue(InstanceManagerBean.java:289)
    at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    Someone helps?
    Thanks

    its not a good practice to have multiple JVM's for OC4J_SOA container. we have tried all these options and none of them were successsful.
    Better way to do change the infrastructure to 64 bit and have 64 bit OS with 64 bit JVM and 32 bit Fusion, so taht you can have more heap space which will support your transactions.

  • JMS cluster configuration problem

    Problem description:
    I have a OC4J cluster with two OC4J instances (referred to as I1 and I2) each having their own JMS Server (referred to JMS1 and JMS2). For certain messaging scenarios (not all) it is necessary that I1 puts a message on a queue of I2.
    In order to do that I use the following configuration:
    I2 -> jms.xml
    <jms-server host="[ALL]" port="9127">
    <queue-connection-factory location="xyz.ConnectionFactory" host="I1" />
         <queue name="queue1" location="xyz.queue" persistence-file="queue1.file"/>
    I1 -> jms.xml
    <jms-server host="[ALL]" port="9127">
    <queue-connection-factory location="xyz.ConnectionFactory" />
         <queue name="queue1" location="xyz.queue" persistence-file="queue1.file"/>
    When I try to send a message from I2 to I1, using the connection factory stored under xyz.ConnectionFactory I get the following exception:
    Caused by: javax.transaction.RollbackException at com.evermind.server.ApplicationServerTransaction.handleCommitSystemException(ApplicationServerTransaction.java:749) at com.evermind.server.ApplicationServerTransaction.twoPhaseCommit(ApplicationServerTransaction.java:688) at com.evermind.server.ApplicationServerTransaction.commitBasedOnResourceCount(ApplicationServerTransaction.java:514) at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:246) at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:126)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:757)
    ... 45 more
    Caused by: oracle.as.j2ee.transaction.tpc.ConnectionLostException: Handing off to RecoveryManager due to lost connection to resource or RMERR. Branch: [null, Xid( Global Id da.f9.b0.f7.ff.ff.ff.ff.0a.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00, Format Id 4660, Branch Id e8.df.1f.91.00.00.00.00.00.00.00.00.00.00.00.01), null, state={ACTIVE}, exception error code=-3]
    at oracle.as.j2ee.transaction.tpc.Coordinator.lostResourceCleanup(Coordinator.java:628)
    at oracle.as.j2ee.transaction.tpc.Coordinator.checkForLostConnection(Coordinator.java:600)
    at oracle.as.j2ee.transaction.tpc.Coordinator.actOnEligibleBranch(Coordinator.java:553)
    at oracle.as.j2ee.transaction.tpc.Coordinator.doRollback(Coordinator.java:499)
    at oracle.as.j2ee.transaction.tpc.Coordinator.doRollbackWithRollbackException(Coordinator.java:229)
    at oracle.as.j2ee.transaction.tpc.Coordinator.doPrepare(Coordinator.java:216)
    at oracle.as.j2ee.transaction.tpc.Coordinator.doResolve(Coordinator.java:278)
    at oracle.as.j2ee.transaction.tpc.Coordinator.resolve(Coordinator.java:115)
    at oracle.as.j2ee.transaction.tpc.TwoPhaseCommitEngine.commit(TwoPhaseCommitEngine.java:93)
    at com.evermind.server.ApplicationServerTransaction.twoPhaseCommit(ApplicationServerTransaction.java:686)
    ... 50 more
    Question:
    1: Do I use the right configuration for above messaging scenario (the Oracle documentation I’ve read about this subject (High Availability Guide) is very vague) ?
    2: So yes, what do I do wrong?
    Any help would be greatly appreciated!

    Above problem could be resolved.
    1. The problem only occured when sending a message within a transaction. Without transaction everything worked fine.
    2. Due to this strange behaviour we assumed that this is a bug - and it was. This bug has the issue nummer: 5331629. In version 10.1.3.1.0 this issue is resolved. We tested it and indeed it worked as excpected.

  • Will the Application Scope be shared across the cluster in a multi-node OC4

    Hi,
    I have the following requirement:
    Users of the application can only have single (browser) session. When a user who already has a session connects again, he should no longer be allowed to access the older session.
    My proposed implementation is:
    -     After successful login – possibly using a Session Listener - an entry is made in a HashMap UserSessions that lives in the application scope. Key is the username, value is the session id (HttpSession.getId()).
    -     For every request, using a ServletFilter, we check whether the session is still in the UserSessions HashMap for the current user. If a new session has been created for the same user, the session id for that new session is in the UserSessions map and the servletfilter will not find the session. In that case, the filter should invalidate the session and forward to the user to an error page.
    However, the application will run on a multi-node OC4J cluster. I am starting to wonder:
    Will the Application Scope be shared across the cluster in a multi-node OC4J environment?
    I know session state can be shared. But what application state/scope?
    Does anyone know? Do I have to do anything special in the cluster or the application to get this to work?
    Thanks for your help.
    Lucas

    gday Lucas --
    Application scope is not replicated across JVM boundaries with OC4J.
    I'm sure this used to be described in the doc, but I can't find it now from a quick scan.
    If you wanted to use this type of pattern, you could look to use a Coherence cache as distribution mechanism to share objects across multiple JVMs/nodes.
    -steve-

  • OC4J with Windows 7

    Hi
    I would like to know which version of OC4J container will support windows 7 OS (64 bit /32 bit ) If it is not supported please let me knwo when we canhave it
    Thanks
    Jacob

    I have a WindowsXP host but I run my oc4j cluster on two Oracle Enterprise Linux 5.4 virtual machines using Sun VirtualBox.
    If Windows 7 gives you problems then maybe VirtualBox is an alternative ?
    Regards,
    Ronald Wouters

  • Oc4j(9.0.4) standalone performance?

    We are running Oc4j 9.0.4 standalone on linux and oc4j halts on stress test. We are using 60 concurrent virtual users which hit 5 applications. Oc4j stops performing and even Spy website stops answearing... :-(
    Can anyone tell me how much requests one oc4j instance can handle? Or do we have to consider oc4j cluster...
    Oc4j performs well but when before comes limit and then it will slow down... after test it will continue serving fine. Can anyone help me?

    The is a article "BC4J Performance Report: Sample Response times Under Load" dated as May 2002.
    Performance is a big headache in BC4J/JClient. I am struggling for a long time.
    Is there a dedicated Top for performance, it is really hard to read all different performance questions accross all different areas? Can anyone help to setup a topic for Performance? or let us know if there is a one already? Thanks A LOT!

  • Deployment in a Cluster

    We have BPEL deployed in an OC4J cluster, following the documentation you provided.
    When I deploy the BPEL suitcases to one of the instances, they do not automatically get deployed in the other cluster instance.
    Is it a issue ?
    The Oracle BPEL Server version is 10.1.2.0.0
    Build: 1545
    Build time: Sun Jun 26 02:17:28 PDT 2005
    Build type: release
    Source tag: BPELPM_10_1_2_release_branch
    Thanks in advance.

    Can you please point me to the documentation?
    Thanks,
    ~Soumen.

  • Clustering OC4J in a full installation OracleAS

    I have a full OracleAS Infrastructure and 2 MiddleTier installation with OC4J,
    Apache, Web Caché and Portal.
    If I create an OC4J on each MiddleTier installation for my Java Application.
    Can I create a cluster with the 2 OC4Js?
    I'm asking this because in 9.0.2 the only way to create OC4J cluster was to
    install a Java only OracleAS Instance.

    If by "clustering" you mean using dcm to create a dcm-managed cluster and mantain the configuration of multiple instances syncrhonized, then the answer is NO FOR PORTAL (you can't use dcm-managed clusters with OracleAS instances of type "Portal") If by clustering you mean enabling session replication for two OC4J instances that are created inside OracleAS instances of type "Portal", then the answer is YES; you can use sesison replication inside OC4J containers that are part of a Portal installation
    HTH

Maybe you are looking for

  • TS1538 If i have to reinstall itunes, will I lose all the music already stored?

    My ipod touch no longer appears in itunes, this was after a a new version of itunes being downloaded.  If I unistalled then reinstalled itunes, would i lose the music already stored?

  • Whats the best way to dry out a 4S that was dropped in the toilet by the granddaughter?

    help   the granddaughter dropped it in the toilet.  it plays on my clock player, the alarm goes off but no display.  any ideas?  thanks    catherine

  • Grant privileges on DB View in HANA Trial

    Hello! I created DB View on my scheme. View uses table SNWD_BPA of EPMSAMPLEDATA schema. I created OData service with this View. I can browse content of metadata OData service without no issue. https://s3hanaxs.hanatrial.ondemand.com/.../BusinessPart

  • Looking for WiFi.

    Hi. I've searched the board and haven't found an answer to my issue, so please forgive me if this has been asked before. I have an 8330, Verizon is my carrier and I have an unlimited data plan. The wireless coverage in my home is virtually non-existe

  • Slate 21 K100 right click problem

    Hi guys, I just purchased a refurbished HP slate 21 K100 all in one pc and I have no idea how to activate the right click function. I  am using the mouse that came with the pc and when i press right click it does what the left click does. I  tried ho