Is Servlet failover supported by WebLogic5.1

          Hi,
          I want to know whether servlet failover is supported
          by WebLogic5.1. To illustrate with an example:
          I have a server instance(which is part of cluster)
          which is running a servlet. If the Server instance
          fails when the servlet service method is in progress,
          will the failover happen? I mean will the secondary
          server re-invoke the service method of the servlet?
          I have tried Servlet failover with weblogic clusters
          and it simply doesnt work.
          For Object(EJB) clustering there is an option of
          declaring the Object as idempotent, but in case
          of servlets there is no such provision. Shouldn't
          Servlets be idempotent by default?
          Any ideas/comments about the same will be appreciated.
          Regards,
          Amol
          ><
          

          if ConnectTimeoutSecs is less than HungServerRecoverSecs
          then
          wouldn't the connection timeout occur before server fail-over
          happens?
          Viresh Garg <[email protected]> wrote:
          >
          >
          >Amol wrote:
          >
          >> Hello.
          >> Thanks Mike, Kumar and Glen for your responses.
          >> I got another query, but before that, just
          >a couple
          >> of notings from my experiences with weblogic
          >> clustering - servlet failure. (Our configuration
          >> uses iPlanet Webserver with NSAPI plugin)
          >>
          >> --- NOTINGS ---
          >> In the obj.conf file, i needed to add the
          >following
          >> parameters: HungServerRecoverSecs, ConnectRetrySecs,
          >> ConnectTimeoutSecs. Also I noted that(correct
          >me if
          >> i'm wrong) the foll relation ought to be maintained
          >> to allow Servlet failover to take place:
          >> "ConnectRetrySecs < HungServerRecoverSecs
          >< ConnectTimeoutSecs"
          >
          >There is no connection of connectretrySecs and
          >HungServerRecoverSecs.
          >
          >HungServerRecoverSecs means we connected to
          >WLS successfully and now
          >waiting for response in proxy code, if response
          >doesn't come back in
          >these many secs, we assume server is hung (
          >you can connect to it but
          >can't get a response back) and we do failover.
          >
          >ConnectRetrySecs is the time for which we sleep
          >before retrying once we
          >have tried all the servers in static and dynamic
          >list and we couldn't
          >connect to a server.
          >
          >ConnectTimeoutSecs is the time upto which we
          >will keep on sleeping and
          >trying to connect to a server in loop until
          >we can either connect, or
          >connection timeout has expired.
          >
          >Viresh Garg
          >Principal Developer Relations Engineer
          >BEA Systems
          >
          >>
          >>
          >> This is not mentioned in the docs and more
          >importantly
          >> the default values assigned to these parameters
          >do
          >> NOT satisfy the above mentioned condition
          >hence even
          >> though Servlets may be IDEMPOTENT by default
          >as Kumar
          >> points out, Servlet fail-over would not work.
          >>
          >> Also some coding change is required if one
          >is using
          >> servlet calling Beans in a transaction. We
          >need to
          >> maintain servlet-level transactions by setting
          >a flag
          >> in the session.
          >> --- END OF NOTING ---
          >>
          >> Finally the new query :)
          >> "Consider the foll scenario:
          >> Request comes to Servlet, is fwded to SessionBean
          >> which calls multiple methods on EntityBean
          >in a
          >> SINGLE transaction. Now consider the situation
          >> wherein the app server continues working fine,
          >> but network connection for the machine hosting
          >the
          >> app server is disconnected. The proxy receives
          >no
          >> response from the concerned app server and
          >fails over
          >> to the secondary server. However the first
          >app server
          >> cannot perform the update because of the lock
          >n the
          >> DB by the first app server. How does one resolve
          >such
          >> a situation?"
          >>
          >> We simulated this situation by removing the
          >network
          >> cord while the transaction was in progress...
          >and the
          >> response to the client was an ugly "Proxy
          >failed"
          >> error!
          >>
          >> Thanks and Best Regards,
          >>
          >> Amol
          >> ><
          >> Any ideas would be greatly appreciated.
          >> I think we need to
          >>
          >> glen wilcox <[email protected]> wrote:
          >> >I guess we are all assuming that one of the
          >"Bridge" products
          >> >(Netscape,Apache) is being used otherwise
          >idempotent
          >> >doesn't apply. The
          >> >failover will work but you need a proxy server
          >in front
          >> >of the cluster.
          >> >If you are using the session you will also
          >need to configure
          >> >for session
          >> >replication.
          >> >
          >> >Glen
          >> >
          >> >Kumar Allamraju wrote:
          >> >
          >> >> BTW, idempotent is "ON" by default
          >> >>
          >> >> Mike Reiche wrote:
          >> >>
          >> >> > Look for an 'idempotent' setting for
          >specific URLs.
          >> >> >
          >> >> > http://www.weblogic.com/docs51/admindocs/nsapi.html
          >> >> >
          >> >> > Mike
          >> >> >
          >> >> > "Amol" <[email protected]> wrote:
          >> >> > >
          >> >> > >Hi,
          >> >> > >I want to know whether servlet failover
          >is supported
          >> >> > >by WebLogic5.1. To illustrate with an
          >example:
          >> >> > >I have a server instance(which is part
          >of cluster)
          >> >> > >which is running a servlet. If the Server
          >instance
          >> >> > >fails *when the servlet service method
          >is in progress*,
          >> >> > >will the failover happen? I mean will
          >the secondary
          >> >> > >server re-invoke the service method
          >of the servlet?
          >> >> > >
          >> >> > >I have tried Servlet failover with weblogic
          >clusters
          >> >> > >and it simply doesnt work.
          >> >> > >
          >> >> > >For Object(EJB) clustering there is
          >an option of
          >> >> > >declaring the Object as idempotent,
          >but in case
          >> >> > >of servlets there is no such provision.
          >Shouldn't
          >> >> > >Servlets be idempotent by default?
          >> >> > >
          >> >> > >Any ideas/comments about the same will
          >be appreciated.
          >> >> > >
          >> >> > >Regards,
          >> >> > >Amol
          >> >> > >><
          >> >
          >
          

Similar Messages

  • CF10 Failover support for database

    Hi all,
    I've been using ColdFusion 10 Standard for some time and recently noticed that there is Failover support for databases on CF10 Standard
    CF10 Enterprise edition can enable Cluster for load balancing and fail over for application and sessions
    What is this failover support for database on CF10 Standard edition all about?
    Can't seem to find any documents or discussion about this

    Try this :
    jdbc:macromedia:oracle:@(description=(address_list= (address=(host=xxxxx.xxx.local) (protocol=tcp)(port=1568))(address=(host=xxx.xxx.local)(protocol=tcp) (port=1569)) (load_balance=yes)(failover=yes))(connect_data=(service_name=xxxxx)))
    For further details check here : https://blogs.oracle.com/theshortenspot/entry/advanced_oracle_jdbc_connectio
    HTH
    Thanks
    VJ

  • Does Servlet API support the following scenario...

    Hi,
    I am trying a second post to see if anybody has encountered the following scenario:
    Several instances of a webapp is started on the same machine where each instance is bound to a hostname. It is critical that only a .war or a set of files are used because the application is very large. There are also practical problems re-deploying 20-30 identical .wars.
    The problem is that when a servlet context is initialized there doesn't seem to be any way of finding out which host(s)/URIs the current instances is bound to. This makes it impossible to deduct which configuration to load.
    Is there a clean way to do this using listeners of servlet context creation or this scenario is simply not supported by the API?
    Any feedback is appreciated.
    P.S. The solution I had to use is to start the application at first request where I can get the hostname from the request.

    http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContext.html
    "getServletContextName
    public java.lang.String getServletContextName()Returns the name of this web application correponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
    Returns:
    The name of the web application or null if no name has been declared in the deployment descriptor.
    Since:
    Servlet 2.3 "

  • Is Cross Subnet Failover supported in SQL Server 2012 Standard edition?

    Hi,
    I'm trying to find out if Cross Subnet Failover is support in SQL Server 2012 Standard edition? From the documentation I can find it appears that AlwaysOn Failover Cluster Instances is supported for two nodes but there is no definitive answer regarding Cross
    Subnet failover. Just trying to figure out if it is possible or if I need enterprise or move my replication nodes on the same subnet.
    Thanks David

    Sorry chaps, found the answer :-(
    Licensing SQL Server for High Availability
    SQL Server software can be configured so that if one server fails, its processing will be picked up, recovered
    and continued by another server. All editions of SQL Server 2012 provide basic high availability features
    including backup log shipping, database mirroring and two-node failover clustering. Advanced (AlwaysOn)
    high availability features in SQL Server 2012 Enterprise Edition include enhanced support for multiple, active
    (readable) secondary servers and support for multi-site failover clustering.

  • Does Servlets support downloading resuming

    Hi Everyone,
    In my project, I am using servlets for downloading .exe files from an application. Here I am using servlets to open the required file and stream its contents to the response object.
    Now, I want to give my users the ease of downloading big files of 91 MB in parts. Since one cannot downloading such a big file in ine shot as there may be network failures etc.,. I have installed download manager in my machine. But I can download only a part of the software. I am not able to resume from the part where I stopped last session.
    Can any one suggest how can we write servlets to support download resuming.

    Errata: the servlet has to set the "Content-Range" field, whereas the client seems to use "Range" and (maybe) "If-Range". See the following for definitions and examples:
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

  • Does BW on HANA or HANA Standalone Support geographic Failover?

    Gurus,
    We are working on a Pilot implementation for BW 7.3 powered by HANA and HANA standalone.
    Client has requirements for geographical failover the FI data (especial IP and BCS related).
    Please let me know if HANA Db will support Geo Failover?
    Thanks,
    Ajay Pathak.

    Vitality,
    Yes i am talking about Disaster recovery. I have NOT come across any document that talks about geo failover support for HANA.
    I'm still keeping this question as unanswered to see if anyone else as some information about this.
    Thanks
    Ajay Pathak.
    PS. Appreciate to response and sharing your insight. You may not recall but we have worked together in the past at Capital Group Companies on the BWA implementation project back in 2008, it is nice to have found you here.
    Edited by: Ajay Pathak on Jan 29, 2012 5:16 PM

  • Is jsp:plugin supported in weblogic 5.1 or 6.0?

    I tried to compile %WEBLOGIC_ROOT%\examples\applets\phonebook12.jsp in WLS5.1.The generated servlet class(using a java decompiler to generate a source code or using anotepad to view the class file directly) still has <jsp:plugin> tag in it.jspc does NOT generate <object> or <embed> tag.weblogic6.0 jsp trouble shooting document says "If you see <jsp:plugin> ... anywhere in the (HTML) page, the syntax of the tag(original <jsp:plugin> tag) is not correct."For weblogic 5.1, this is the ONLY example jsp file containing <jsp:plugin> tag. In weblogic 6.0, there is NO jsp example which contains the <jsp:plugin> tag.I tried very simple jsp page with <jsp:plugin> tag (and a simple applet), I always see <jsp:plugin> tag in the generated HTML. Should it be <object> or <embed> tag??Could anyone tell me whether <jsp:plugin> is really supported in Weblogic5.1 and/or 6.0? If it is not supported yet or there are bugs to fix, please let me know, so I stop trying for now. I will appreciate greatly any help.ChenpingSoftware ArchitectBEZ Systems, Inc.
              

    hi, i have the same problem in WL5.1
              At last i have to use <applet> tag
              "Chenping Ni" <[email protected]> wrote in message
              news:3aa01e55$[email protected]..
              > I tried to compile %WEBLOGIC_ROOT%\examples\applets\phonebook12.jsp in
              WLS5.1.The generated servlet class(using a java decompiler to generate a
              source code or using anotepad to view the class file directly) still has
              <jsp:plugin> tag in it.jspc does NOT generate <object> or <embed>
              tag.weblogic6.0 jsp trouble shooting document says "If you see <jsp:plugin>
              ... anywhere in the (HTML) page, the syntax of the tag(original <jsp:plugin>
              tag) is not correct."For weblogic 5.1, this is the ONLY example jsp file
              containing <jsp:plugin> tag. In weblogic 6.0, there is NO jsp example which
              contains the <jsp:plugin> tag.I tried very simple jsp page with <jsp:plugin>
              tag (and a simple applet), I always see <jsp:plugin> tag in the generated
              HTML. Should it be <object> or <embed> tag??Could anyone tell me whether
              <jsp:plugin> is really supported in Weblogic5.1 and/or 6.0? If it is not
              supported yet or there are bugs to fix, please let me know, so I stop trying
              for now. I will appreciate greatly any help.ChenpingSoftware ArchitectBEZ
              Systems, Inc.
              

  • SQL 2012 Failover Cluster to 2014

    Hi,
    we have recently purchased SQL 2014 std edition with SA (VLSC), one of our guy downloaded SQL 2012 instead of 2014 by mistake and installed as failover cluster. I wanted to ask whether should I upgrade to SQL 2014 or uninstall SQL 2012 and install 2014 fresh.
    In 2014, secondary server used for failover support does not need to be separately   licensed for sql server as long as it is truly passive and primary SQL server is covered with active SA.
    We have installed 2012 in other fashion, 4 cores on primary and 4 cores on secondary, now we just want to assign 8 cores to primary and 8 to secondary to get 2014 benefit. Is it possible using upgrade or a fresh install is required.
    I Appreciate inputs from experts.

    Hello,
    You can upgrade the cluster using the instructions provided on the following article.
    https://msdn.microsoft.com/en-us/library/ms191295.aspx
    I cannot provide you answers about questions related to licensing. For licensing questions, please call Microsoft Licensing at 1-800-426-9400, Monday through Friday,
    6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. You can also visit the following site for more information and support on licensing issues:
    http://www.microsoft.com/licensing/mla/default.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Failover cluster

    Hey all,
    Essbase 11.1.2 failover support with OPMN.
    Does planning support this feature? does anybody try this?
    thanks

    Hi MHD,
    This forum is a English support forum could you post it as English it will attract more folks to help you, thanks.
    Best Regards,
    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 Support, contact [email protected]

  • Servlets & Microsoft's IIS

    Hi,
    I'm looking for a way to run servlets on IIS; SUN's servlet page and some books say "now it's supported by MS IIS", but that doesn't seem to be exactly the case, right? There is an article from PC magazine *1997* online saying "And yes, IIS now fully supports Java through a Java virtual machine." about IIS 3.0. But then there are different opinions (e.g. an article on javaworld explaining how to write adapter classes to get servlets running). Microsoft's IIS 5.0 page doesn't even mention Java.
    Can somebody help clear those clouds?
    (Is it very easy to install the Tomcat plug-in on a running IIS? And then what is Microsoft's Java SDK good for if not for servlets? Is it MS' proprietary Java standard, like J++ ?)
    Thanks for any hints
    Buck

    My unserstanding is that Java servlets are supported with IIS after you add the tomcat servlet engine. According to my expereince with web servers/servlet engines etc., it should be easy to install tomcat.
    As to your question about MS's support for servlets, servlets are not part of the standard JDK release, they are considered an add-on (they are part of J2EE - Java Enterprise Edition). I guess that's why they are not obliged to support them.
    Kamran

  • Sigle sign on WebLogic5.1

    Hello,
    I am exploring Single Sign-On feature on WebLogic server 5.1. I am trying to allow
    SSO between two WebLogic servers running on different machines. Any one knows
    Is Sinle sign-on supported by Weblogic5.1.? How can I configure it?
    Regards. Ravindranath

    i don't think so... AS is for pki, authenitcation and encryption.
    OID is included run-time with Oracle BD license... if you are using OID with outside (or Oracle) services like Active Directory, need to have a full license of OID, this can be obtained by licenses App Server Enterprise Edition or one of the identity mgmt licenses includes it

  • Recomended Cluster Setup?

    We are setting up an HA WebApp based on iAS6sp2 and would like some
    clustering recommendations. Here is a basic setup:
    4 Solaris boxes (Solaris 8) configured like this:
    iWS1 has iPlanet WS 4.1sp?? w/iAS WebConnector
    iWS2 has iPlanet WS 4.1sp?? w/iAS WebConnector
    iAS1 has iPlanet iAS 6 Sp2
    iAS2 has iPlanet iAS 6 Sp2
    (Note: both iWS's are frontended by a web server director - there is a
    pair for redundancy. The backend (behind the iAS instances) is an
    oracle db cluster.)
    Right now iWS1 and iAS1 are connnected and use and LDAP on iAS1. The
    same pattern exists for iAS2/iWS2. Our WebApplication(s) consists of
    state oriented JSPs and servlets that use stateless EJBs (ejbs and
    servlets live together in iAS (in single KJS)).
    We want all combinations of fail overn (the WSD will handle failover
    between iWS instances):
    iWS1 -- iAS1
    \ / |
    / \ |
    iWS2 -- iAS2
    So session are replicated between iAS instances and iWS instances (well
    the WebConnector) can route to either iAS instance. How would one set
    this up? In our NT lab (same basic picture w/o WSD), we have done this
    via a shared LDAP instance on one of the iAS boxes. However, that LDAP
    instance represnets a single point of failure. How does one set up
    failover for LDAP 'master'? Or is this even on the right track.
    Ultimately, we will have 2 data centers 'north' and 'sourth' that will
    have clustered as described above (we call them local clusters). We
    will need to failover between the north and south 'local' clusters, and
    would like sessions (and cluster data) to replicate (less frequently)
    between the north and south, too. Insight into this setup would be good
    too..
    Thanks for any help.
    Fred Welland

    Hi Fred,
    Here is the link, as to how to install a simple two iAS cluster :
    http://developer.iplanet.com/appserver/samples/cluster/docs/unix-cluster.html
    Just go through it and try instaling both the iAS with a common LDAP.
    Note: please do the Custom installation only for both iAS servers.
    You can install a backup LDAP server also.
    I have attached a file in which what ever the inputs are requred
    during enabling the directory replication service, are given. Please
    go through it and try installing the LDAP same way.
    Note: The steps written in the file are the steps asked by installer,
    during Custom iAS installation, after initial common steps.
    And i don't think that failover between the two already setup clusters
    is possible,
    as for a cluster, config parameter (iasconfig) and LDAP server should
    be same.
    And in a cluster to have a distributed session and a failover support,
    you need to deploy the application on all the iAS servers
    participating in the cluster.
    So if you put the same iasconfig name with common LDAP and app.
    deployed on all the servers, than it is like a single cluster, not two
    local clusters.
    I am working on this, and will get back to you after some time with
    some solution.
    Meanwhile if you have any other doubts, please feel free to mail me.
    Regards,
    Sanjeev.
    Developer Support Group iAS.
    Fred Welland wrote:
    >
    We are setting up an HA WebApp based on iAS6sp2 and would like some
    clustering recommendations. Here is a basic setup:
    4 Solaris boxes (Solaris 8) configured like this:
    iWS1 has iPlanet WS 4.1sp?? w/iAS WebConnector
    iWS2 has iPlanet WS 4.1sp?? w/iAS WebConnector
    iAS1 has iPlanet iAS 6 Sp2
    iAS2 has iPlanet iAS 6 Sp2
    (Note: both iWS's are frontended by a web server director - there is a
    pair for redundancy. The backend (behind the iAS instances) is an
    oracle db cluster.)
    Right now iWS1 and iAS1 are connnected and use and LDAP on iAS1. The
    same pattern exists for iAS2/iWS2. Our WebApplication(s) consists of
    state oriented JSPs and servlets that use stateless EJBs (ejbs and
    servlets live together in iAS (in single KJS)).
    We want all combinations of fail overn (the WSD will handle failover
    between iWS instances):
    iWS1 -- iAS1
    \ / |
    / \ |
    iWS2 -- iAS2
    So session are replicated between iAS instances and iWS instances (well
    the WebConnector) can route to either iAS instance. How would one set
    this up? In our NT lab (same basic picture w/o WSD), we have done this
    via a shared LDAP instance on one of the iAS boxes. However, that LDAP
    instance represnets a single point of failure. How does one set up
    failover for LDAP 'master'? Or is this even on the right track.
    Ultimately, we will have 2 data centers 'north' and 'sourth' that will
    have clustered as described above (we call them local clusters). We
    will need to failover between the north and south 'local' clusters, and
    would like sessions (and cluster data) to replicate (less frequently)
    between the north and south, too. Insight into this setup would be good
    too..
    Thanks for any help.
    Fred Welland

  • Clustering --beggineer

    Hi,
    Its a HUMBLE REQUEST TO THE EXPERIENCED persons.
    I am new to clustering. My objective is to attain clustering with load balencing and/or Failover in JBoss server. I have two JBoss servers running in two diffferent IP addresses which form my cluster. I could succesfully perform farm (all/farm) deployment
    in my cluster.
    I do believe that if clustering is enabled; and if one of the server(s1) goes down, then the other(s2) will serve the requests coming to s1. Am i correct? Or is that true only in the case of "Failover clustering". If it is correct, what are all the things i have to do to achieve it?
    As i am new to the topic, can any one explain me how a simple application (say getting a value from a user and storing it in the database--assume every is there in a WAR file), can be deployed with load balencing and failover support rather than going in to clustering EJB or anything difficult to understand.
    Kindly help me in this mattter. Atleast give me some hints and i ll learn from that.Becoz i could n't find a step by step procedure explaining which configuration files are to be changed to achieve this (and how) for achiving this. Also i could n't find Books explaining this rather than usual theorectical concepts.
    Thanking you in advance
    with respect
    abhirami

    I read that the default is round-robin, which i did not set in the props
              file. So i'm not sure why the other JVMs never get hit???
              "Kevin Duffey" <[email protected]> wrote in message
              news:[email protected]..
              > Not sure if I am correct, but you need a load-balance in front of the app
              > servers. As a weblogic sales guy said to us, we would have a load-balance,
              > then two machines (for servlet 2.2 cluster). These machines would each run
              > the app server AND the weblogic Express web server. The load balance would
              > pass requests to either machine (to the web server) which would then hit
              one
              > or the other app server. From my understanding, if two weblogic express
              are
              > running (and clustered) they would pass on requests based on load. Not
              sure
              > exactly how that works though.
              >
              > "Sean Scott" <[email protected]> wrote in message
              > news:39982322$[email protected]..
              > > Clustering WL5.1 (sp4) on 2 NT machines (2-JVMs per machine). All the
              > > clusters show up in console once started, but only one of the JVMs is
              > doing
              > > the work, the other 3 have no transactions, etc.???
              > >
              > > The processors on the working machine are both around 90%, the other
              > machine
              > > is about 2% load.
              > >
              > > How does WL handle load balancing?
              > >
              > >
              >
              >
              

  • Accessing the same stateful session bean from multiple clients in a clustered environment

    I am trying to access the same stateful session bean from multiple
              clients. I also want this bean to have failover support so we want to
              deploy it in a cluster. The following description is how we have tried
              to solve this problem, but it does not seem to be working. Any
              insight would be greatly appreciated!
              I have set up a cluster of three servers. I deployed a stateful
              session bean with in memory replication across the cluster. A client
              obtains a reference to an instance of one of these beans to handle a
              request. Subsequent requests will have to use the same bean and could
              come from various clients. So after using the bean the first client
              stores the handle to the bean (actually the replica aware stub) to be
              used by other clients to be able to obtain the bean. When another
              client retrieves the handle gets the replica aware stub and makes a
              call to the bean the request seems to unpredictably go to any of the
              three servers rather than the primary server hosting that bean. If the
              call goes to the primary server everything seems to work fine the
              session data is available and it gets backed up on the secondary
              server. If it happens to go to the secondary server a bean that has
              the correct session data services the request but gives the error
              <Failed to update the secondary copy of a stateful session bean from
              home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              to the primary server will not reflect changes made on the secondary
              and vice versa. If the request happens to go to the third server that
              is not hosting an instance of that bean then the client receives an
              error that the bean was not available. From my understanding I thought
              the replica aware stub would know which server is the primary host for
              that bean and send the request there.
              Thanks in advance,
              Justin
              

              If 'allow-concurrent-call' does exactly what you need, then you don't have a problem,
              do you?
              Except of course if you switch ejb containers. Oh well.
              Mike
              "FBenvadi" <[email protected]> wrote:
              >I've got the same problem.
              >I understand from you that concurrent access to a stateful session bean
              >is
              >not allowed but there is a
              >token is weblogic-ejb-jar.xml that is called 'allow-concurrent-call'
              >that
              >does exactly what I need.
              >What you mean 'you'll get a surprise when you go to production' ?
              >I need to understand becouse I can still change the design.
              >Thanks Francesco
              >[email protected]
              >
              >"Mike Reiche" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Get the fix immediately from BEA and test it. It would be a shame to
              >wait
              >until
              >> December only to get a fix - that doesn't work.
              >>
              >> As for stateful session bean use - just remember that concurrent access
              >to
              >a stateful
              >> session bean is not allowed. Things will work fine until you go to
              >production
              >> and encounter some real load - then you will get a surprise.
              >>
              >> Mike
              >>
              >> [email protected] (Justin Meyer) wrote:
              >> >I just heard back from WebLogic Tech Support and they have confirmed
              >> >that this is a bug. Here is their reply:
              >> >
              >> >There is some problem in failover of stateful session beans when its
              >> >run from a java client.However, it is fixed now.
              >> >
              >> >The fix will be in SP2 which will be out by december.
              >> >
              >> >
              >> >Mike,
              >> >Thanks for your reply. I do infact believe we are correctly using
              >a
              >> >stateful session bean however it may have been misleading from my
              >> >description of the problem. We are not accessing the bean
              >> >concurrently from 2 different clients. The second client will only
              >> >come into play if the first client fails. In this case we want to
              >be
              >> >able to reacquire the handle to our stateful session bean and call
              >it
              >> >from the secondary client.
              >> >
              >> >
              >> >Justin
              >> >
              >> >"Mike Reiche" <[email protected]> wrote in message
              >news:<[email protected]>...
              >> >> You should be using an entity bean, not a stateful session bean
              >for
              >> >this application.
              >> >>
              >> >> A stateful session bean is intended to be keep state (stateful)
              >for
              >> >the duration
              >> >> of a client's session (session).
              >> >>
              >> >> It is not meant to be shared by different clients - in fact, if
              >you
              >> >attempt to
              >> >> access the same stateful session bean concurrently - it will throw
              >> >an exception.
              >> >>
              >> >> We did your little trick (storing/retrieving handle) with a stateful
              >> >session bean
              >> >> on WLS 5.1 - and it did work properly - not as you describe. Our
              >sfsb's
              >> >were not
              >> >> replicated as yours are.
              >> >>
              >> >> Mike
              >> >>
              >> >> [email protected] (Justin Meyer) wrote:
              >> >> >I am trying to access the same stateful session bean from multiple
              >> >> >clients. I also want this bean to have failover support so we want
              >> >to
              >> >> >deploy it in a cluster. The following description is how we have
              >tried
              >> >> >to solve this problem, but it does not seem to be working. Any
              >> >> >insight would be greatly appreciated!
              >> >> >
              >> >> >I have set up a cluster of three servers. I deployed a stateful
              >> >> >session bean with in memory replication across the cluster. A client
              >> >> >obtains a reference to an instance of one of these beans to handle
              >> >a
              >> >> >request. Subsequent requests will have to use the same bean and
              >could
              >> >> >come from various clients. So after using the bean the first client
              >> >> >stores the handle to the bean (actually the replica aware stub)
              >to
              >> >be
              >> >> >used by other clients to be able to obtain the bean. When another
              >> >> >client retrieves the handle gets the replica aware stub and makes
              >> >a
              >> >> >call to the bean the request seems to unpredictably go to any of
              >the
              >> >> >three servers rather than the primary server hosting that bean.
              >If
              >> >the
              >> >> >call goes to the primary server everything seems to work fine the
              >> >> >session data is available and it gets backed up on the secondary
              >> >> >server. If it happens to go to the secondary server a bean that
              >has
              >> >> >the correct session data services the request but gives the error
              >> >> ><Failed to update the secondary copy of a stateful session bean
              >from
              >> >> >home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              >> >> >to the primary server will not reflect changes made on the secondary
              >> >> >and vice versa. If the request happens to go to the third server
              >that
              >> >> >is not hosting an instance of that bean then the client receives
              >an
              >> >> >error that the bean was not available. From my understanding I
              >thought
              >> >> >the replica aware stub would know which server is the primary host
              >> >for
              >> >> >that bean and send the request there.
              >> >> >
              >> >> >Thanks in advance,
              >> >> >Justin
              >>
              >
              >
              

  • Jabber for Windows 10.5 and global redundancy

    Hi All,
    I implement J4W 10.5 in a full redundant environment, that contains:
    - 3 x CUCM 10.5
    - 2 x Unity Connection 10.5
    - 2 x IM&P 10.5
    - 2 x Expressway-C 8.2.2
    - 2 x Expressway-E 8.2.2
    After testing, I notice that the redundancy/failover does not act the same way depending the product, sometime no.
    As it is not clearly stated in the documentation, what is clearly supported as automatic failover, and what's not, when using Jabber for Windows 10.5?
    In my first test, I saw that Jabber does not support failover with UnityConnection: if the primary peer is down, no more voicemail on Jabber.
    If jabber run in Mobile and Remote Access, and the Expressway where it's conencted goes down, it doesn't switch to the other peer.
    It will be good to have a document that relate all the redundancy and failover support with Jabber, what can we expect during the failover process.
    It will help a lot of people.
    Thanks
    Gabriel

    Yep, that's what I did now.
    But keep in mind this is not really explained, even if crossing all the documentations.
    There is no document explaining what behaviour to expect in Jabber in case of redundancy of all the UC components.
    For the CUCM, it's not clear, and nothing is mentionned in case of MRA.
    IM&P is documented, but nothing for MRA.
    Expressays states about redundancy, but the behaviour to expect is not. Same for XMPP federation, no idea.
    UnityConnection as well, nothing is explained.

Maybe you are looking for

  • How do i install 10.3 on a 9.2.2 system?

    i want to continue running 9.2.2 and was wondering what the easiest way to install 10.3 is? i have two partitions already. can i install panter on the other partition? if i can't what process do i take? thanks, jeff

  • Smart View for Essbase Not Available in Planning Rapid Deployment

    I have successfully deployed EPM 11.1.2.3 by following the steps in the Planning Rapid Deployment guide (http://docs.oracle.com/cd/E40248_01/epm.1112/epm_planning_rapid_deploy/epm_planning_rapid_deploy.html). However, when I bring up Smart View using

  • How do I programatically pre-populate pdf form?

    I would like to merge a xml document into a pdf file programatically (php). Is this possible, or is Adobe LifeCycle server a requirement?

  • Yosemite and window partition

    My window partition no longer work. Please help me. In short, I cannot see it in startup disk but I can see it in disk utility. Here is output from commands asked from other relate posts. Many important project in that partition! Thank you in advance

  • Best Practices: request scope + forward vs. session scope + redirect

    Hi, I'm wondering what everyone's opinion is on using different scopes in my situation. I have an application where users login and have a few separate items they can update via forms. My application can go one of two ways: 1) Each item that users ca