Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13124

RichFaces is undefined, a4j is undefined, ModalPanel is undefined JS error

    Details

    • Steps to Reproduce:
      Hide

      1. Restart the Weblogic 10.3.5 cluster that has this RichFaces application running.
      2. Subsequent requests to one of the server works well
      3. But the requests that go to the other server in the cluster fails with JS errors like RichFaces is undefined, a4j is undefined, ModalPanel is undefined.

      Show
      1. Restart the Weblogic 10.3.5 cluster that has this RichFaces application running. 2. Subsequent requests to one of the server works well 3. But the requests that go to the other server in the cluster fails with JS errors like RichFaces is undefined, a4j is undefined, ModalPanel is undefined.
    • Estimated Difficulty:
      High

      Description

      We often get these errors after a restart or redeploy of application on Weblogic 10.3.5 server

      The error is, a4j is undefined, ModalPanel is undefined, RichFaces is undefined JS errors.

      The Weblogic is a cluster with two Managed Servers.

      The error comes from only on of the Managed Server, whereas the other one is working fine.

      Load Balancer is Apache server with plugin for load balancing Weblogic servers.

      This issue happens especially after a restart of the Weblogic servers or Redeploy of applications on the Weblogic servers.

      The solution is strangely "Do a restart with purge cache, followed by redeploy of the application"

      Could this be because the path to the file that contains these javascript objects/variables is generated by some filter in RichFaces and attached to the header of the rendered xhtml page but the RichFaces code fails to put the file on the server path. Or maybe the browser mistakenly starts sending the request to the other server with this path information that was sent from the server 1 of the cluster.

      Or would it be because the application is not getting properly deployed on the Weblogic servers, since the issue goes away after redeployment.

      The version of RichFaces is 3.3.3 Final

      Please note that we have enabled sticky session on the Apache LoadBalancer.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ammazad Azad Akbar
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: