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.

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.

  • 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.

  • 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

  • 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 10.1.3.4 OC4J SSO

    I am attempting to get SSO working to OID on OAS 10.1.3.4. We are currently using 10.1.2.2 where we have SSO working, but need to upgrade because that version is no longer being supported by the quarterly patches. I have the new version installed and I have SSO setup properly, I think, but I just can't get my application to redirect to the login server for authentication. I put a test file out on the mid-tier server in the htdocs/test folder and then protected that folder using the mod_osso.conf file. When I attempt to go to that file, it redirects me to the login page on the OID server, and then allows me to view the page after I have logged in. However, when I try to run a protected page on the application, I can't get it to redirect me over to the login server. I've followed the documentation for setting up SSO in 10.1.3, but I must have missed something. Any ideas on what I might be missing?
    Thanks,
    Kris

    what is the behavior? any messages in the log files?
    we need more information to help you

  • OC4J Instances in Cold Failover Cluster

    I'm running OAS 10.1.2.2.0 on a windows 2003 server under a cold failover clustered environment and was wondering... Is it recommended to have one web application deployed in it's own separate instance? For example, webapp1 deployed to instance1 and webapp2 deployed to instance2? Or would it be better to have multiple web applications deployed to one instance?
    Thanks for any thoughts!

    user7575753 wrote:
    I'm running OAS 10.1.2.2.0 on a windows 2003 server under a cold failover clustered environment and was wondering... Is it recommended to have one web application deployed in it's own separate instance? For example, webapp1 deployed to instance1 and webapp2 deployed to instance2? Or would it be better to have multiple web applications deployed to one instance?
    Thanks for any thoughts!I can say your configuration is ok for single instance failover . Once u like to make cluster and load balance , OAS hs managed and non-managed cluster.
    For Managed Cluster , you must setup either Oracle WebCache or F5 Big/IP . With regard to non-managed cluster, that means nothing required to share .

  • OAS Component - HTTP Server

    Hi All,
    My group has an old web-based application using Servlet 2.0 specs that needs to be migrated to Servlet 2.3+ specs. The Servlet 2.0 specs does not have a concept of webapp context. Therefore, this application has hard-coded a lot of URL, which assume it is using the "/" root context.
    Since the "/" root context in HTTP server may be used by other applications, it may be better to create another HTTP Server component.
    The OAS 9i and 10g do not allow administrators to add another HTTP Server using the web-based EM.
    Instead of creating virtual hosts based on port number, is there a way to create multiple HTTP Server components on a OAS middle-tier instance?
    Does it make sense to create a multiple HTTP Server components managed by DCM?
    Thanks.

    Stefan,
    Yes, I am planning to use a Cisco CSS loadbalancer to load request to multiple OAS instances on several hosts.
    Also, I am looking into OracleAS Cluster based on DB repository. I hope to use the OAS cluster for management and configuration for multiple OAS instnaces (i.e. all J2EE/WebCache instances on separate hosts). However, I have found that the OAS cluster behaves very differently than what I have thought.
    Here are what I have done:
    1. Create an OAS cluster with two J2EE/WebCache instances in similar hosts. (Both instances have exactly the same OAS components, HTTP Server and OC4J).
    2. On host1, create a new OC4J component called "OC4J_Dev1".
    3. On host1, deploy a J2EE application (i.e. helloworld.ear) to "OC4J_Dev1" component. (The helloworld.ear has only 1 web-app).
    Here are the results:
    1. I am able to access the helloworld webapp on the browser (e.g. http://host1/helloworld/helloworld.jsp ).
    2. I am unable to see the "OC4J_Dev1" component on the host2, which is belong to the same OAS cluster as host1.
    3. I am unable to access the host2's helloworld web-app (e.g. http://host2/helloworld/helloworld.jsp ).
    All the hosts and ports are correct. I expect the OAS cluster will distribute the host1 configuration to host2.
    Do you know of any good reference of the OAS cluster? I am trying to look through the OAS documentation.
    Thanks.

  • 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.

  • Web server type of standalone oc4j needed for SSL Certificate

    Hi,
    We have a standalone oc4j 10.1.3 that hosts an application whose many of its pages use https and so we need to buy SSL certificate from any of CAs like Verisign, GeoTrust, etc.. All of these CAs are asking us about the web server type that the standalone OC4J uses. I read the following statement from this url:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/intro.htm#JICON100
    "communications in a standalone environment is provided through the built-in *_OC4J Web server_*, which supports HTTP and HTTPS communications natively without the use of the Oracle HTTP Server"
    On all of the SSL certificate systems of above CAs websites, they ask us to choose the web server type from a list of server types but I don't see OC4J web server listed and I am told that it is very important to make sure the web server type is correct otherwise the SSL Certificate that we buy may not be compatible with our web server type.
    So, I like to know the exact built in web server type name that goes with Standalone OC4J or one that is closest and for which SSL Certificate is compatible.
    Shown below is a list of web server types that I am asked to choose from on Verisign website.The closest to standalone oc4j according to below list is Oracle Wallet Manager but isn't this meant for Oracle Application Server (OAS) and not the standalone OC4J? we are using the java keytool to generate the CSR that we look to sign it via the verisign but again we are not sure about the web server type in the case of standalone OC4J that is not listed below. Please advice and thanks in advance to any of your responses in helping out.
    Webstar 4.x
    ApacheSSL mod_ssl
    WebLogic 6.0
    WebLogic 8.1
    Cisco
    ACS 3.2
    Covalent
    Apache ERS 2.4
    Apache ERS 3.0
    F5
    BIG-IP
    IBM
    Websphere MQ
    HTTP Server
    Lotus
    Domino 5.0
    Domino 6.0
    Domino 7.0
    Domino 8.0
    Windows NT - IIS 4.0
    Windows 2000 - IIS 5.0
    Windows 2003 - IIS 6.0
    Windows 2008 - IIS 7.0
    Exchange 2007
    iPlanet 4.x
    iPlanet 6.x
    ScreenOS
    SSL Accelerator
    Oracle Wallet Manager_
    Secure Web Server
    SSL Offloaders
    Stronghold
    Java Web Server 6.x
    Sun ONE
    AS Server w/IIS 4
    AS Server w/IIS 5
    EA Server
    Tomcat
    Zeus

    Hi Zeus,
    Type of certificate depends the method you will use to deploy the certificate on your application server.
    Please refer the links,
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28957/configssl.htm
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/wallets.htm#ASADM400
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm
    Regards,
    mYth

  • 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.

  • Error installing OC4J 10.1.3.1.0

    Hi there,
    I have unzipped the file, I've installed jdk-1_5_0_09 and I have a problem when I try to install OC4J, I execute "java -jar jazn.jar -activateadmin password", I always get an java.lang.NoClassDefFoundError exception oracle/xml/parser/v2/Parser
    Any idea?
    Thanks in advance

    user543710
    You said:
    I've installed jdk-1_5_0_09For your information, there is now JDK 5.0 Update 10 available.
    You also asked:
    Any idea?Maybe, if you can provide the following information:
    * Are you using OC4J stand-alone, or Oracle Application Server (OAS)?
    * Which version of OC4J (or OAS)?
    * Are you trying to install it using the following command?
    java -jar jazn.jar -activateadmin password* What platform are you on?
    Also, please post the entire error message and stack trace you are getting.
    Good Luck,
    Avi.

Maybe you are looking for

  • Sorting multiple messages in ccBPM

    All, we have a multiline collection item in ccBPM. The structure of one message is as follows, <source> <index>3</index><data><name>j</name><desc>some desc</desc></data> </source> The multi-line item has many messages of the above type - with unique

  • Can't locate AppleTalk printer on my net

    I have a NEC Silentwriter 95f I haven't used in a while. I'm waiting for my regular inkjet to be replaced by Epson and trying to get this (network) laser printer on-line. It doesn't appear in the Chooser on my older Mac (or in Classic). Within OS X (

  • I destroyed mac while installing ubuntu.  Id like to get mac back, please help?

    I was curious about linux so i installed ubuntu and accidentally destroyed my mac partition.  Id like to get mac back, please help!!! I have the snow leopard install dvd but it causes kernel panics.  And i obviously cant download lion from the app st

  • Custom xpath function

    i am creating custom xpath function in jdeveloper(10g).i hav followed every step given in http://prsync.com/oracle/custom-xpath-function-in-bpel--7718.even after configuring jdeveloper,the custom function is nt there in the list of functions.also if

  • Query result different with profit and loss statement

    Hi all, I run query Sum(JDT1.Debit - JDT1.Credit), and then compare the query result with the profit and loss statement, and there is different. The difference is about 0.01. At SAP, the Decimal places is set to 2. I already checked the data, and the