Weblogic's redirect and Local Director session stikiness.

Hi all,
We've been facing a very painfull problem in my company. Basically, it relates
to the fact that weblogic 'uselessly' makes a redirect to index.jsp everytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured in front
of our farm, with stickness enabled, the damn think locks for 3+ seconds before
sending the also weird '0000' characters (that I suppose, indicate the page or
transaction was completed). This 0000 comes from Weblogic itself (we notice it
sends that even when we are not behind local director). We are also expiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a local director,
and faced the same problem? We are desperate here.
Thanks,
Rodrigo

One other thing ... using URL with openConnection we found that we had to
end-pad the stream with two additional bytes (ignored) to get the full
message committed. Could be the same freaky thing.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Rodrigo Rosa" <[email protected]> wrote in message
news:3c5f0dcb$[email protected]..
>
Hi all,
We've been facing a very painfull problem in my company. Basically, itrelates
to the fact that weblogic 'uselessly' makes a redirect to index.jspeverytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured infront
of our farm, with stickness enabled, the damn think locks for 3+ secondsbefore
sending the also weird '0000' characters (that I suppose, indicate thepage or
transaction was completed). This 0000 comes from Weblogic itself (wenotice it
sends that even when we are not behind local director). We are alsoexpiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a localdirector,
and faced the same problem? We are desperate here.
Thanks,
Rodrigo

Similar Messages

  • Redirect, Weblogic and Local Director... unfortunate combination.

    Hi all,
    We've been facing a very painfull problem in my company. Basically, it relates
    to the fact that weblogic 'uselessly' makes a redirect to index.jsp everytime
    somebody tries to reach our website.
    The redirect itselve is bad, but when we have Local Director configured in front
    of our farm, with stickness enabled, the damn think locks for 3+ seconds before
    sending the also weird '0000' characters (that I suppose, indicate the page or
    transaction was completed). This 0000 comes from Weblogic itself (we notice it
    sends that even when we are not behind local director). We are also expiriencing
    some premature session timeoffs... very weird.
    Did anybody even configured WL 6.1 SP2 as the main webserver under a local director,
    and faced the same problem? We are desperate here.
    Thanks,
    Rodrigo

    One other thing ... using URL with openConnection we found that we had to
    end-pad the stream with two additional bytes (ignored) to get the full
    message committed. Could be the same freaky thing.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Rodrigo Rosa" <[email protected]> wrote in message
    news:3c5f0dcb$[email protected]..
    >
    Hi all,
    We've been facing a very painfull problem in my company. Basically, itrelates
    to the fact that weblogic 'uselessly' makes a redirect to index.jspeverytime
    somebody tries to reach our website.
    The redirect itselve is bad, but when we have Local Director configured infront
    of our farm, with stickness enabled, the damn think locks for 3+ secondsbefore
    sending the also weird '0000' characters (that I suppose, indicate thepage or
    transaction was completed). This 0000 comes from Weblogic itself (wenotice it
    sends that even when we are not behind local director). We are alsoexpiriencing
    some premature session timeoffs... very weird.
    Did anybody even configured WL 6.1 SP2 as the main webserver under a localdirector,
    and faced the same problem? We are desperate here.
    Thanks,
    Rodrigo

  • Redirec from welcome-list and Local Director

    Hi all,
    We've been facing a very painfull problem in my company. Basically, it relates
    to the fact that weblogic 'uselessly' makes a redirect to index.jsp everytime
    somebody tries to reach our website.
    The redirect itselve is bad, but when we have Local Director configured in front
    of our farm, with stickness enabled, the damn think locks for 3+ seconds before
    sending the also weird '0000' characters (that I suppose, indicate the page or
    transaction was completed). This 0000 comes from Weblogic itself (we notice it
    sends that even when we are not behind local director). We are also expiriencing
    some premature session timeoffs... very weird.
    Did anybody even configured WL 6.1 SP2 as the main webserver under a local director,
    and faced the same problem? We are desperate here.
    Thanks,
    Rodrigo

    One other thing ... using URL with openConnection we found that we had to
    end-pad the stream with two additional bytes (ignored) to get the full
    message committed. Could be the same freaky thing.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Rodrigo Rosa" <[email protected]> wrote in message
    news:3c5f0dcb$[email protected]..
    >
    Hi all,
    We've been facing a very painfull problem in my company. Basically, itrelates
    to the fact that weblogic 'uselessly' makes a redirect to index.jspeverytime
    somebody tries to reach our website.
    The redirect itselve is bad, but when we have Local Director configured infront
    of our farm, with stickness enabled, the damn think locks for 3+ secondsbefore
    sending the also weird '0000' characters (that I suppose, indicate thepage or
    transaction was completed). This 0000 comes from Weblogic itself (wenotice it
    sends that even when we are not behind local director). We are alsoexpiriencing
    some premature session timeoffs... very weird.
    Did anybody even configured WL 6.1 SP2 as the main webserver under a localdirector,
    and faced the same problem? We are desperate here.
    Thanks,
    Rodrigo

  • Port based LB and Local Director

    My customer would like to know whether the Local Director supports Load Balancing using the source port information. If this is possible any document on the configuration wouldbe highly appreciated.
    Regards,
    Mahesh

    http://www.cisco.com/en/US/products/sw/iworksw/ps2769/products_maintenance_guide_chapter09186a008007d9fa.html#xtocid225795
    as per this document i think the loadbalancing based on source port information cannot be done.
    ''The MNLB Services Manager makes the load-balancing decisions based on application availability, server capacity, and load distribution algorithms such as round robin or least connections, or the Dynamic Feedback Protocol (DFP).''

  • CSS and Local Director comparison

    I am new to this technology and I want to know what are advantages and disadvantages of Local director over the CSS and vice versa besides the price. What functionality does one has that is not supported by the other ?

    If you are looking at implementing a load balancer then I would suggest to go for the CSS. The CSS is the next generation of load balancer and will replace the Local Director. The CSS functionality and extensibility is far greater than that of the local director. Another point is that feature developement is far more aggessive on the CSS.
    Phil

  • Local Director http probes with URLs and http redirect mode

    I am trying to configure http probes on my Local director 430 running 4.2.3
    I am using http redirect mode so the Virtual is bound to URLs not REALs with are linked to DIPs which are bound to REALs. So far the probes seem to not actually do anything. Does anyone know if the probes are compatible with URL redirect loadbalancing. And if so how one would go about configuring it.
    Thanks for your help.

    keepalive can be used for the probe notification in this case.
    Check the following url for details.
    http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/bsccfggd/services.htm#xtocid727448

  • Server load balancing on Local Director implementing HTTP redirection

    Hi, got an interesting problem when implementing the HTTP redirection method of session persistance or stickiness when balancing a couple of web servers on a Local Director 416. The session persistance works fine but it looks like one of the two servers is getting all the traffic rather than balancing accross the two. The servers are equally spec'd and when it comes to the predictor setting for the virtual, I'm just using the defaults i.e. leastconns/roundrobin. Is there a better predictor setting to use?? Any input would be appreciated.
    Rgds
    Adam Lacoba

    The “loaded” argument has worked well. Take note that this requires a value to be set with the “weight” command. It gives a specific amount of traffic to one, and then moves to the other.

  • Local Director & HTTP Redirection

    Hi, just wondering if anyone has successfully implemented HTTP
    redirection on Cisco Local Director 416 running ver 4.1.2 Basically I'm
    after any pitfalls to look out for. Current implementation utilizes
    generic session stickiness however this has problems for clients
    trying to access our load balanced servers if they come from behind
    multiple proxies via their ISP.
    Servers are Private IP addressed (Firewall in front of LD performing NAT static
    txlation)
    On another point, how does the Cisco CS11000 (Arrowpoint) perform
    session persistance/stickiness or what "better" ways does the
    Arrowpoint acheive this as compared to Local Director?
    Any helpful input would be much appreciated.
    Rgds
    Adam

    Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
    If anyone else in the forum has some advice, please reply to this thread.
    Thank you for posting.

  • Performance tuning: lite sessions and local ServletContext

    I have been doing some research on iPlanet performance tuning. In our
    current production environment (iAS6.0 SP1B, iWS4.1 SP2 on Solaris), since
    we don't use clustering there should be a couple of performance improvements
    we can make immediately:
    1. Use lite sessions (<session-impl>lite</session-impl> in ias-web.xml) - I
    believe that if you use lite sessions, the session data is stored in the kjs
    process space as opposed to the kxs process space. This, of course, means
    that if a kjs dies the user's on it will lose their session information but
    it will provide a performance improvement by reducing kxs/kjs communication.
    2. Use local ServletContexts (<distributable>false</distributable> in
    web.xml) - This should cause the ServletContext to only be stored in the
    originating JVM. So again, if a kjs dies, the user will lose their
    ServletContext but again we will get a performance improvement by reducing
    kxs/kjs communcation.
    What I want to understand is how our load balancing configuration will
    effect our production environment if we use this configuration. Right now
    we use sticky load balancing on all our servlets but we don't have our JSPs
    registered and therefore sticky load balancing cannot always be trusted to
    return users to the iAS they came from. We make up for this by using
    hardware load balancing that keeps the majority of our users sticky.
    However, using lite sessions and local ServletContexts will require that a
    user not only stick to an iAS, but to a specific kjs as well. Using sticky
    load balancing would ensure that, but since we also rely on our hardware
    load balancers, could they create a problem? If a user gets sent back to
    the iAS they came from by our hardware load balancers, will the kxs process
    be smart enough to return them to the kjs they came from? If so, then I
    think that means that we can safely switch to lite sessions and local
    ServletContexts, but if not, I think many users will lose their sessions.
    Thanks,
    Linc

    Please follow thru this link for your answers
    http://developer.iplanet.com/viewsource/char_tuningias/index.jsp
    Thanks
    Shital Patel
    Lincoln wrote:
    I have been doing some research on iPlanet performance tuning. In our
    current production environment (iAS6.0 SP1B, iWS4.1 SP2 on Solaris), since
    we don't use clustering there should be a couple of performance improvements
    we can make immediately:
    1. Use lite sessions (<session-impl>lite</session-impl> in ias-web.xml) - I
    believe that if you use lite sessions, the session data is stored in the kjs
    process space as opposed to the kxs process space. This, of course, means
    that if a kjs dies the user's on it will lose their session information but
    it will provide a performance improvement by reducing kxs/kjs communication.
    2. Use local ServletContexts (<distributable>false</distributable> in
    web.xml) - This should cause the ServletContext to only be stored in the
    originating JVM. So again, if a kjs dies, the user will lose their
    ServletContext but again we will get a performance improvement by reducing
    kxs/kjs communcation.
    What I want to understand is how our load balancing configuration will
    effect our production environment if we use this configuration. Right now
    we use sticky load balancing on all our servlets but we don't have our JSPs
    registered and therefore sticky load balancing cannot always be trusted to
    return users to the iAS they came from. We make up for this by using
    hardware load balancing that keeps the majority of our users sticky.
    However, using lite sessions and local ServletContexts will require that a
    user not only stick to an iAS, but to a specific kjs as well. Using sticky
    load balancing would ensure that, but since we also rely on our hardware
    load balancers, could they create a problem? If a user gets sent back to
    the iAS they came from by our hardware load balancers, will the kxs process
    be smart enough to return them to the kjs they came from? If so, then I
    think that means that we can safely switch to lite sessions and local
    ServletContexts, but if not, I think many users will lose their sessions.
    Thanks,
    Linc

  • Local Director SNMP for CPU and Memory

    Is there any way to get the CPU and memory utilization from a Local Director using SNMP? When I do an SNMP walk, I don't see any objects for CPU and memory.
    Thank you

    There's a "Show cpu " commmand availabe. Type help or '?' for a list of available commands.

  • My ipod safari redirect to local Mexico site, how do i stop it soI can go to MSN and other US based sites w/o the redirect

    my ipod safari redirect to local Mexico site, how do i stop it soI can go to MSN and other US based sites w/o the redirect

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
      least ten seconds, until the Apple logo appears
    - Go to Settings>Safari and Clear History, Data and Cookies
    - Go to Settings>wifi>the connected network and change the DNS to Google's 8.8.8.8

  • Local Director 416 and IP Multicast

    We are experiencing issues where a Local Director 416, running 4.2.3 code is duplicating a multicast stream received on it's private interface out it's public interface.
    The LD interfaces are not secured as there is bridged traffic flowing through it.
    Sniffs of the ports on the LD show a single order of packets going in, and an identical packet for every original received packet (two packets out for every one in). The duplicate packets have identical timestamps, IDs, etc.
    Anyone ever see this and know of a solution?
    Thanks!

    This is not expected behavior with the LD.
    I did see one bug (CSCdw87752) regarding the LD duplicating multicast packets in 4.2.3. The scenario was slightly different. In the bug, the LD was duplicating multicast packets from a Checkpoint Firewall. That bug is fixed in version 4.2.4. I think it is likely that this fix will also fix your issue.
    Let me know if that works or not...
    -Steve

  • Local Director and BPDU's

    I am running BPDU guard on my switches. When I plug in my local director I the port is being shut down due to receiving a BPDU packet from that port. Does the Local Director run spanning tree? Does the local director generate BPDU's? If not, why is this happening?

    The LD is a bridge but does not participate in spanning tree - it will pass BPDUs transparently. Try turning off portfast on ports connected to the LD.
    Another option is a to use the command "set spantree portfast bpdu-filter enable". This command was introduced in 6.2.x code.

  • Local Director 416 Seamless Real Changes

    Say I have a Virtual:443 with two reals web01:6443 and web02:6443. Now I want to add in reals web03:6443 and web046443 and remove web01:6443 and web02:6443. But I don't want to disrupt any conversations that may already be in progress to one of those servers. How do I migrate to the new without disturbing the connections on the old but not allow any new connections to be made to the old? Thanks.

    There is a well known problem of keeping a session bound to one physical real server after the session is setup on HTTP (open) transport and later moved to HTTPS (secure) transport protocol. In this case, the HTTP redirection should be setup at the application level. The server can send a redirect (either a 302 or an HREF embedded in the actual web page itself) to HTTP, so no load balancing takes place at the Local Director. Another possible solution would be to switch to HTTPS sooner, and perform the session opening encrypted. This is preferred also for encrypting the login username and password. If you keep the whole session running via HTTPS, the generic sticky can ensure that the same server will be used for a client. The second solution and configuration is described in this document. The HTTP traffic is limited to first contact with the site (the client can type simple site name to address bar). When reaching Local Director, the browser receives a 302 redirect message with the URL configured, including the HTTPS tag, so there is the complete name of the server to reach. The session (on application level) is built from the beginning with the secure server (the real servers do not handle HTTP at all). Tthe session continues with the unique server name, so it is always reaching the same.
    http://cisco.com/en/US/products/hw/contnetw/ps1894/products_configuration_example09186a00801a7299.shtml#maintask1

  • Using the Cisco Local Director

    Hello All-
    We are attempting to set up a server farm that is load balanced with the Cisco Local Director and are experiencing difficulties with some clients whose networks have multiple proxy servers. We have used both the generic sticky command as well as the cookie-insert sticky without total success. Our next option looks like we should put our own proxy server in front of the LD and use SSL. Has anyone experienced these problems and come up with a solution. Unfortunately we don't have weblogic clustering licenses so our state is lost whe a client gets redirected to a new server. Thanks for your time!
    -Adam
    [email protected]
    415.887.9106

    In directed mode, the client browsers are configured to point to a proxy to a virtual IP address on the Local Director. I know the Local Director does not support a real server that does not have a virtual address defined so it can't transparently forward like the CSS.

Maybe you are looking for

  • How to find user's owner or who has created the user?

    Hi all, I want to find out owner of user or who has created the users? example: system has created test user. test has created xyz user. so i want to find out who has created xyz? Thanks in Advance, Sandeep.

  • What is the best way of creating admin-only parameters for a java iView?

    Hi, I would appreciate some advice from more experienced developers... The scenario is as follows: I have created an Org Chart maintenance application that generates and renders xml&xsl-based Org Charts. This is the maintenance iView. I am creating a

  • MacBook pro still won't back up, not even with a cable.

    I backed up my G4 tower wirelessly. I backed up my G4 Powerbook using an ethernet cable to the Timecapsule LAN port. (Of course now that I've upgraded to 10.5.2 neither of their airport cards works anymore. No fix for that so far.) But the MacBook Pr

  • Ajax Script not working in IE (window.XMLHttpRequest)

    Hi, I have written following code in ajax. This is a javascript function called on onchange event of a button. This code works fine in firefox and chrome but does not work in IE8.0+ the values don't get displayed. plz suggest me if there is any chang

  • SAML IDP issue

    I currently have a working Service Provider-IDP SAML solution working inside Enterprise Manager (both setup by an Oracle Engineer). I'm trying to use my own IDP (created using OpenSAML - which does work successfully with other products) to interact i