3 Replies Latest reply on Mar 2, 2010 1:10 PM by altes-kind

    Problem with JSF application

    altes-kind

      Hi,

       

      I'm using a JBoss Cluster in Amazon EC2 (based on the CirrAS Images - http://www.jboss.org/stormgrind/projects/cirras.html) and deployed the JEE Duke's Bank Application (which is a EJB/JSF Application - see http://java.sun.com/javaee/5/docs/tutorial/doc/bnclz.html) in this cluster.

       

      When i open the application directly on one node, it works without any problems. But when i open the application over mod_cluster, JSF links don't work anymore.

       

      You can try it by yourself:

      URL: http://ec2-184-73-30-246.compute-1.amazonaws.com/dukesbank-war/main.faces

      Username: 200

      Password: javaee

       

      URL to mod_cluster_manager: http://ec2-184-73-30-246.compute-1.amazonaws.com/mod_cluster_manager

       

      Can anybody help me? Thanks!!

        • 1. Re: Problem with JSF application
          altes-kind
          The problem only occurs when using the JSF tag <h:commandLink>. For my simple testing szenario it was ok to change every <h:commandLink> to <h:commandButton> - but of course for a "real" application this is not an option.
          • 2. Re: Problem with JSF application
            jfclere

            The guess is that the link it generates has a wrong host or port.

            Are you using AJP or http?

            • 3. Re: Problem with JSF application
              altes-kind
              I'm using HTTP with a standard <h:commandLink />. I also tested another simple JSF application: same problem there with <h:commandLink />. When using <h:commandLink /> some JavaScript is generated which does the form submit. It seems that the problem is realated to this as a <h:commandButton /> is working without any problems.