0 Replies Latest reply on Jan 7, 2010 5:04 AM by Wei Wong

    Weblogic 10.3.1 Failover Not Working?

    Wei Wong Newbie
      I have the Seam Booking example running on a Weblogic 10.3.1 cluster (2 machines) with a load balancer sitting in front. I have also enabled the Weblogic Session Replication by adding the following to the weblogic.xml of BookingWeb.

      <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
          <wls:weblogic-version>10.3.0</wls:weblogic-version>
          <wls:context-root>BookingWeb</wls:context-root>
          <wls:session-descriptor>
                <wls:persistent-store-type>replicated</wls:persistent-store-type>
           </wls:session-descriptor>
           <wls:library-ref>
                <wls:library-name>jsf</wls:library-name>
                <wls:specification-version>1.2</wls:specification-version>
                <wls:implementation-version>1.2</wls:implementation-version>
                <wls:exact-match>false</wls:exact-match>
           </wls:library-ref>
      </wls:weblogic-web-app>

      Everything runs fine until the machine serving the request is down and hence, the next request is routed to another machine by the load balancer. I have the following error:

      Jan 6, 2010 11:58:14 PM com.sun.faces.application.ActionListenerImpl processAction
      SEVERE: org.jboss.seam.security.NotLoggedInException
      javax.faces.el.EvaluationException: org.jboss.seam.security.NotLoggedInException
           at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:97)....

      It says that I am not logged in, does it mean the session replication of weblogic is not working? or should i do some more to "replicate" the "identity" object?

      Thanks for your help