Session replication in oc4j load balancing not working ..

Hi All,
I have windows 2000 machine. I have installed 2 instances of oc4j running on ports 8888 and 8889. I started the loadbalancer.jar in the first instance, started the first oc4j instance and then started the second oc4j instance. I have a common application deployed on both instance1 and instance2 and that is nothing but out famous SessionServlet.
If I access this servlet using http://localhost:80/app/servlet/SessionServlet then I am getting a count as 1 . My loadbalancer that is started from first oc4j instance(running on port 8888) is showing that the request is routed to the first instance. I stopped my first instance1 and then again from the same browser/session/client if I access the same servlet using http://localhost:80/app/servlet/SessionServlet then still I am seeing the count as 1 instead of 2 . At this point my loadbalancer is showing that the request is routed to the second oc4j instance(running on port 8889) since first instance is stopped. So why am I seeing the count as 1 instead as 2.
Also,
1. Is it enough that we start the loadbalancer.jar in the first oc4j instance. What about the loadbalancer.jar in the second oc4j instance ?
2. We all know that Apache HTTP Server runs on port 80. But since I didnt[i]Long postings are being truncated to ~1 kB at this time.

thank you debu, I have one doubt . In the clustering/load-balancing documentation at metalink(doc id: 151717.1) it is said that in point 4b that we should add the tag <cluster-config /> to orion-web.xml file but this file will be created only after the web application is deployed and it is accessed atlest for one time. So is it that we should first deploy the web application and then access it for atlest one time then stop the server and add this tag .. or is there any other way workaround ?

Similar Messages

  • RV042 Load Balancing not working correctly?

    We have an RV042 on firmware version 1.3.13.02 and 2 ISPs:
    WAN1 = Telepacific T1
    1.5Mbps down and 1.5Mbps up
    WAN2 = AT&T U-Verse
    12Mbps down and 5Mbps up
    I have it set to Load Balance, Primary WAN = WAN2
    Network Service Detection enabled, only pinging the Remote Host of 4.2.2.2 and set to Generate Log
    Bandwidth is set to:
    WAN1 = 1000Kbps upstream & downstream
    WAN2 = 5040Kbps upstream & 12000Kbps downstream
    It seems to pick WAN1 a lot of the time.  Do I have something setup wrong?

    Ok, so what do you recommend? To setup binding for ports important to direct over say… WAN1 (my fast access) shall I also keep the bandwidth management set up as is, example:
    For me it’s confusing because this config appears to be clear to me that has to control traffic the way I want .
    Thanks for your response.
    H Aragon
    De: jasbryan
    Enviado el: lunes, 20 de febrero de 2012 03:18 p.m.
    Para: HECTOR MANUEL ARAGON
    Asunto: - Re: RV042 Load Balancing not working correctly?
    Home
    Re: RV042 Load Balancing not working correctly?
    created by jasbryan in Small Business Routers - View the full discussion

  • Load balance not work,still sending new connects to node at100% CPU usage

    Trying to verify that Oracle RAC load balancing ( using Load Balance Advisor and services) is working before I recommend changes to a production RAC DB.
    Even though I bury (100%CPU usage) one of 2 nodes ,new connections(using a new service I created and set GOAL=SERVICE_TIME and CLB_GOAL = SHORT ) still connecting there.( connection split stays at 50/50) . Any ideas why ?
    nodes are HP Itanium ( hpux 11.23) , database version is 10.2.0.5
    There are 2 RAC databases on this cluster (one TEST and one Model Office)
    srvctl config service -d gdrm -s BATCHQ_GDRM_SERVICEBATCHQ_GDRM_SERVICE PREF: gdrm1 gdrm2 AVAIL:

    Hi Dan,
    you will have to point all your systems to the Web Dispatcher in the SLD. If you don't do this, the browser will always retrieve the URL to the central instance, bypassing the Web Dispatcher. After you configured as the system to contact the Web Dispatcher, the browser will receive the URL of the Web Dispatcher and send the request to the Web Dispatcher.
    On the Web Dispatcher, you'll have to configure an appropriate rule to handle that request. You can use 1 IP and different ports. Each port means another system. Or several virtual IPs and the same/different port.
    IP1:8001 -> WD -> BI 1
    IP1:8002 -> WD -> BI 2
    or
    IP1:8001 -> WD -> BI1
    IP2:8002 -> WD -> BI2
    In this case, you can keep the flexibility of using several backend systems with different names/IPs/Ports and one Web Dispatcher.
    For refence, you can consult the following 2 documents:
    General Information about how to use Web Dispatcher:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8105db90-0201-0010-cfbe-ae94d43e2e48
    How to implement Web Dispatcher as a single point of entrance
    p. 40-42: "
    Internet Connectivity to SAP Applications.pdf"
    (Unfortunatly, I'm right now not able to locate this document again in SDN, but it exists somewhere. Good luck!)
    br,
    Tobias

  • VPN load balancing not working correctly

    I have two vpn3030s configured for load balancing. They appear to recognize one another as the correct vpn(priority 10) appears to be the master. The slave however keeps getting an error message i the log "LBSSF master peer[205.172.49.252] is not answering HELLO".
    He appears to timeout the master and switch himself to master where he immediately sees the master and goes back to slave. I am not sure the address above is correct for the error message, 205.172.49.252 is the virtual IP shared by both concentrators. I would expect to see hellos sent and received between the two physical interfaces. Any ideas? I am getting a buffer error on the master as well so all this may be memory related. Not sure at this point.
    Johnny

    it may be due to IP conflict.
    also check this bug-id:CSCds70213.
    Try these links for more info:
    http://www.cisco.com/warp/public/471/vpn3k-conn.html
    http://www.cisco.com/warp/public/471/ld_bl_vpn3000_7602.html

  • Sticky load balancing not working  because of Address Translation

              This came up before - see below. I don't understand what the
              soltion is/was.
              WL Server puts it's ip address in the WebLogicSession cookie
              which is an internal address 192.168.201.41
              WL proxy knows WL Server only by an external address like 139.141.38.21. Since
              it does not know of any WLS with an IP
              address of 192.168.201.41, it round-robins the request instead
              of sending it to the primary WLS.
              Any help is much appreciated.
              Mike Reiche
              Robert Patrick <[email protected]> wrote:
              >Hi,
              >
              >A very typical configuration is to put the web server in the DMZ (i.e.,
              >between
              >an outer and inner firewall) and proxy the requests from the web server
              >to the
              >WebLogic server (which sits behind the inner firewall). Since all of
              >these
              >proxied requests use HTTP and a single port, the only port that needs
              >to be
              >opened in the inner firewall is an HTTP port (the outer firewall will
              >only need
              >an HTTP and/or HTTPS port opened).
              >
              >Hope this helps,
              >Robert
              >
              >Eytan Ben-Meir wrote:
              >
              >> Thanks Patrick,
              >>
              >> May be you can suggest options for securing a WLS behind a firewall?
              >>
              >> Thanks again,
              >>
              >> Eytan
              >>
              >> Robert Patrick wrote:
              >>
              >> > Hi,
              >> >
              >> > The problem is that we encode location information (e.g., IP address(es))
              >> > in the session id. If the plugin sees a session id, it decodes the
              >> > session id to find out where to route the request (i.e., which server
              >in
              >> > the cluster contains the HttpSession object for that session). Since
              >the
              >> > plugin cannot find the machine whose IP address is encoded in the
              >session
              >> > id (because of the network address translation), this will not work.
              > In
              >> > general, distributed application software needs to be modified to
              >be
              >> > capable of handling network address translation -- to my knowledge,
              >> > WebLogic Server has not been modified to support this feature (though
              >the
              >> > Enterprise version of the product has had this support for years).
              >> >
              >> > Hope this helps,
              >> > Robert
              >> >
              >> > Eytan Ben-Meir wrote:
              >> >
              >> > > Hi,
              >> > >
              >> > > Configuration:
              >> > > WLS 4.5.1 on Solaris 2.7 inside a firewall.
              >> > > SonicWall firewall with NAT (Network Address Translation).
              >> > > Netscape Enterprise Server 4.0 outside the firewall with Weblogic
              >> > > NSAPI-BRIDGE (sp 5)
              >> > >
              >> > > The problem:
              >> > > When a browser request is sent to the NE web-erver (directed to
              >the
              >> > > firewall who then redirects to a Weblogic servlet).
              >> > > IF The servlet creates a httpsession (with or without cookies)
              >the
              >> > > request fails (the firewall blocks a request directed directly
              >at the
              >> > > non-routable ip address of the Weblogic machine inside the firewall.
              >> > > IF on the other hand the servlet does not create a http session,
              >all
              >> > > works fine.??????????
              >> > > Does any body know something about this????
              >> > >
              >> > > Thanks,
              >> > >
              >> > > Eytan
              >
              

              This isn't my problem.
              "Mike Reiche" <[email protected]> wrote:
              >
              >This came up before - see below. I don't understand what the
              >soltion is/was.
              >
              >WL Server puts it's ip address in the WebLogicSession cookie
              > which is an internal address 192.168.201.41
              >
              >WL proxy knows WL Server only by an external address like 139.141.38.21.
              > Since
              >it does not know of any WLS with an IP
              >address of 192.168.201.41, it round-robins the request instead
              >of sending it to the primary WLS.
              >
              >Any help is much appreciated.
              >
              >Mike Reiche
              >
              >Robert Patrick <[email protected]> wrote:
              >>Hi,
              >>
              >>A very typical configuration is to put the web server in the DMZ (i.e.,
              >>between
              >>an outer and inner firewall) and proxy the requests from the web server
              >>to the
              >>WebLogic server (which sits behind the inner firewall). Since all of
              >>these
              >>proxied requests use HTTP and a single port, the only port that needs
              >>to be
              >>opened in the inner firewall is an HTTP port (the outer firewall will
              >>only need
              >>an HTTP and/or HTTPS port opened).
              >>
              >>Hope this helps,
              >>Robert
              >>
              >>Eytan Ben-Meir wrote:
              >>
              >>> Thanks Patrick,
              >>>
              >>> May be you can suggest options for securing a WLS behind a firewall?
              >>>
              >>> Thanks again,
              >>>
              >>> Eytan
              >>>
              >>> Robert Patrick wrote:
              >>>
              >>> > Hi,
              >>> >
              >>> > The problem is that we encode location information (e.g., IP address(es))
              >>> > in the session id. If the plugin sees a session id, it decodes
              >the
              >>> > session id to find out where to route the request (i.e., which server
              >>in
              >>> > the cluster contains the HttpSession object for that session).
              >Since
              >>the
              >>> > plugin cannot find the machine whose IP address is encoded in the
              >>session
              >>> > id (because of the network address translation), this will not work.
              >> In
              >>> > general, distributed application software needs to be modified to
              >>be
              >>> > capable of handling network address translation -- to my knowledge,
              >>> > WebLogic Server has not been modified to support this feature (though
              >>the
              >>> > Enterprise version of the product has had this support for years).
              >>> >
              >>> > Hope this helps,
              >>> > Robert
              >>> >
              >>> > Eytan Ben-Meir wrote:
              >>> >
              >>> > > Hi,
              >>> > >
              >>> > > Configuration:
              >>> > > WLS 4.5.1 on Solaris 2.7 inside a firewall.
              >>> > > SonicWall firewall with NAT (Network Address Translation).
              >>> > > Netscape Enterprise Server 4.0 outside the firewall with Weblogic
              >>> > > NSAPI-BRIDGE (sp 5)
              >>> > >
              >>> > > The problem:
              >>> > > When a browser request is sent to the NE web-erver (directed to
              >>the
              >>> > > firewall who then redirects to a Weblogic servlet).
              >>> > > IF The servlet creates a httpsession (with or without cookies)
              >>the
              >>> > > request fails (the firewall blocks a request directed directly
              >>at the
              >>> > > non-routable ip address of the Weblogic machine inside the firewall.
              >>> > > IF on the other hand the servlet does not create a http session,
              >>all
              >>> > > works fine.??????????
              >>> > > Does any body know something about this????
              >>> > >
              >>> > > Thanks,
              >>> > >
              >>> > > Eytan
              >>
              >
              

  • Load balance not working right with jdbc connection string?

    For months we've used the following connection string to get Tomcat to open connections to our Oracle 10g RAC:
    jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST
    = db1vip) (PORT = 1521)) (ADDRESS = (PROTOCOL = TCP) (HOST = db2vip)
    (PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED)
    (SERVICE_NAME = orcl) (PREFER_LEAST_LOADED_NODE_ORCL = OFF) ) )
    Today, db2 became inaccessible during prime time, and the web app completely hung--when you tried to type in a username and password to log into the site, it would just hang indefinitely, and the Tomcat log files were complaining about being unable to open a connection to the database because of a network adapter error.
    I would have expected the JDBC driver Tomcat was using to just switch to the other database server, but none of our Tomcat machines did that, and I'm wondering why (they all just hung trying to connect to db2). Our guess is that the difference this time is not that Oracle was down on db2, but that db2 was down entirely. Maybe that connection string works only if the server is up when the database is down, and not when the server is unreachable (we couldn't SSH to the box, and when we tried to get to it locally using a remote access card, a lot of options were grayed out and we couldn't see a shell, so all we could do was reset the box).

    Hi,
    Please refer to the link below:
    SCOM 2012 – Monitoring Oracle Database OLE DB Management Pack Template
    http://stefanroth.net/2012/12/05/scom-2012-monitoring-oracle-database-ole-db-management-pack-template/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Load balancer not working on R12 shared appltop

    We have upgraded from 11.5.10.2(shared application tier) to R12 and modified the context file.still we are not able to access the login page and error log showing below messages.Please let me know,if you have any idea about this errors?.
    File does not exist: /u2596/oracle/oaq/inst/apps/oaq_qnalx799/portal/oa_servlets/oracle.apps.fnd.test.HelloWorldServlet
    Edited by: rag100mn on May 11, 2009 4:18 PM

    Hi,
    Can you find more details about the error in error_log and access_log files (under $LOG_HOME/ora/10.1.3/Apache directory)?
    Regards,
    Hussein

  • Network Load Balancing not working with UDP traffic (Server 2012)

    Hi all,
    I manage an application that receives traffic from mobile devices on cellular networks. The traffic is UDP. I have set up two x Server 2012 VMs to form part of a NLB cluster. Each server has a second NIC dedicated to NLB. The traffic is simply NATed from
    our firewalls to the virtual IP. When looking at the traffic using a packet sniffer, I can see the traffic being routed correctly to the virtual IP, but the problem is that the return traffic is sent from the IP address on the actual NIC. My application does
    not like the fact that the return traffic is coming from a different source IP. Is there any way to force the return traffic to also come from the virtual IP address?
    Thanks!

    Hi
    NLB return traffic for UDP would come from the node IPs.
    You could use NAT on your firewalls so they come from the same public IP.
    Otherwise you'd be looking at something other than MS NLB.
    Cheers
    GF

  • Windows Network Load Balancing not working

    OS: Windows Server 2008 R2
    Tested in our environment both are able to talk to each other. One will be converged as DEFAULT and another will be just converged.
    When deployed at Customer site, Server1 is converged as Default as seen in Server1.
    Server 2 is converged as Default as seen in Server 2.
    Server1 and 2 are in the same subnet and have no firewalls in between. (They seem unable to detect each other)
    NLB Configurations is using multicast.
    Would like to know how to resolve this issue.

    Hi,
    First, please try to ping each other with FQDN on the servers.
    Also, please make sure that the servers are connected to a layer2 switch or hub.
    To verify if this issue is caused by the misconfigure of the network device, pleae try to connect these servers to a hub for the test.
    Besides, is there any warning or error related to this issue in the event viewer of these servers?
    Here is a troubshooting guide for NLB, it may be helpful,
    http://technet.microsoft.com/en-us/library/cc732592.aspx#BKMK_N
    Best Regards.
    Steven Lee
    TechNet Community Support

  • OC4J load balancing

    We got multiple JVMs configured and running. Since we are not able to share the session among the JVMs we are having issue running the application on mutiple JVM since the OC4J is doing the load balancing. For example, if request is established on one JVM the next request is sent to another thus the application fails by not finding the session object. Is there a way we can have the sticky on OC4J so that if the session is established on one JVM then continue to use that JVM through out the life cycle of the session. Another word load balance only if the request is new. Thanks in advance for your help.

    Okay, how about if you have multiple web application that are sharing the session.
    Is there a way we could say these web application should be running on the same JVM? If you mean by this that you have different WAR files (either standalone or contained in an EAR file) that need to share common session state, then we don't support this with OC4J. A session is bounded within the Web module that it is created within. I think someone on here had come up with a way to do once before it using a different cookie name and a common cookie path but its not something we do by default.
    Do you know how to configure them to run on the same JVM. Would parent work?
    Could we make one web app parent for others - if so would it guarantee to run the the same JVM?The parent config doesn't dictate any runtime behaviour -- it's configuration, classloading based parenting only.
    We have a scenario where our web applications are dependent upon each other - meaning they need to run on the same JVM together since they are sharing the session. It sounds to me that if you have this sort of requirement, then it'd be worth your while looking at our Coherence*Web functionality. This provides a way to allow the Coherence distributed cache to be used as the session/session-replication infrastructure -- effectively switching out the native session manager from OC4J (and other J2EE servers, Tomcat, etc.).
    It has a switch that enables cross Web module state sharing. Because it's a distributed cache too, it will allow all JVMs to see/use the same view of the current session state.
    See here for more details:
    http://coherence.oracle.com/display/COH34UG/Coherence*Web+Session+Management+Module
    http://coherence.oracle.com/display/COH34UG/Coherence*Web+Session+and+Session+Attribute+Scoping
    -steve-

  • Middleware - Delta load is not working from CRM to R/3

    Hi Experts,
    Our client is using SAP-R/3 4.7 and CRM 5.0
    Connectivity was established via Middleware and initial load of Customizing objects and Master data( Customer and Material) was finished successfully.
    Now if i create any Customer or Product in R/3 they were replicating to CRM(Delta load), but this delta load is not working in CRM to R/3 direction.
    In CRM Administration console( Transaction code - SMOEAC) R/3 site was maintained and subscribed for Publications - All Business Partners, All Business Transactions and All Business partner Relationships.
    Can anybody help me out that why Delta load is not happening from CRM to R/3 Direction.
    Thanks in advance
    Nadh.

    Hi Nadh,
    for BPs check PIDE settings once agiain, i hope u ve already downloaded all mandatory obects for BP, because u already told that replication from r/3 to crm is ok, so check once again PIDE settings (CRM to R/3),
    for Products u ve to manual upload only
    for Products
    This may be necessary because the data is required in the OLTP System for a number of logistical processes such as procurement, inventory management, billing, financial accounting, controlling.
    cheers
    Ranga

  • SQl loader is not working in 10g but working in 9i

    In My PC i have installed both 9i and 10g. could you please tell me why it is not working

    "SQL loader is not working" is rather like "my car won't start" http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    The 9i Oracle Client install includes sqlldr. The 10g Oracle Client install does NOT include sqlldr. You'd have to do a "Custom" Install and specifically select "Oracle Database Utilities" to install.
    See MetaLink Note#437377.1
    Edited by: Hemant K Chitale on Dec 31, 2008 3:58 PM
    Edited by: Hemant K Chitale on Dec 31, 2008 4:00 PM

  • Infopath form load rule not working in browser forms but works on Client

    Hi
    I am working on an Infopath form and there are rules on form load. The form load checks for a value in a list, if the username() matches the one in the list, then the form would change its view.
    It works when I open it on client, but on the browser it fails.
    Have anyone encountered such an issue.

    Check below:
    http://stackoverflow.com/questions/16222681/infopath-rule-is-not-running-when-checking-sharepoint-list-field-value
    Ensure that "Include data for the active form only" was checked (I had to separate this field into another data connection because that box could not be checked for another field I was using), and
    Ensure that in the rule I was selecting from the "dataFields" folder under the data connection instead of "queryFields"
    http://sharepoint.stackexchange.com/questions/28554/infopath-form-load-rules-not-working
    if I edit the Infopath form on Infopath 2007, it seems that the rules for the load form will be visible if created.
    This look like a bug. Here are the steps below that will lead you to the bug:
    Step 1: Open the infopath form in Infopath 2010 and create 6 rules for Form Load and Save it as a file.
    Step 2: Open that infopath form that you created in Step 1 in InfoPath 2010 and go to the
    Form Load section. You will only see the first 5 rules. The 6th rules that you created for Step 1 will just "vanish". Now, close that infopath form.
    Step 3: Open that infopath form that you created in step 1 in InfoPath 2007 and select Tools > Form Option. In the
    Open and Save category, click the Rules button and add a new rule in it and save it.
    Step 4: Open that infopath form that you modify as describe in Step 3 in InfoPath 2010. That 6th rule will be visible.
    Therefore, there might be a bug in InfoPath 2010 that restrict Rules to a max of 5 in Form Load and thus if anyone open that form in SharePoint, only the first 5 rules will be executed.
    If this helped you resolve your issue, please mark it Answered

  • Loader Does not work

    my Loader Does Not Work. i am create loader with animation.
    total animation are build a 100 frame.code should be write but
    loader does not work .Please help................

    Not sure why you are doing it that way but here is a loader
    script I use all the time that I got off a tutorial a while back it
    is percent driven. You may or may not want to use it but you might
    be able to modify it to your own need. It basuically displays the
    percent in a dynamic text box and makes a movieClip named loadBar
    expand based on percent loaded.
    onClipEvent (enterFrame) {
    loading = _parent.getBytesLoaded();
    total = _parent.getBytesTotal();if (percent == undefined)
    percent = 0;
    percent -= (percent-((loading/total)*100))*.25;
    per = int(percent);
    percentage = per+"%";
    loadBar._width = per;
    if (percent>99) {
    _parent.gotoAndStop(2); }
    }

  • HSBC fast balance not working

    HSBC fast balance not working after installing iOS 7.1

    I've seen a number of other reports of this. The following previous discussion has a solution that may or may not work: https://discussions.apple.com/message/25140943#25140943
    If it doesn't work, you may want to contact HSBC -- see the bottom of http://www.hsbc.co.uk/1/2/ways-to-bank/mobile

Maybe you are looking for