Jboss AS 7, mod_cluster and PrettyFaces

Splash Forums PrettyFaces Users Jboss AS 7, mod_cluster and PrettyFaces

This topic contains 3 replies, has 2 voices, and was last updated by  Christian Kaltepoth 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18015

    I have a problem with the rewrite handler from pretty faces in combination with mod_cluster.

    Configuration details: http://community.jboss.org/thread/171363

    I’m using alot of s:viewActions and return prettyfaces mappingIds for navigation. This will resolve with modcluster in double slash urls like: “domain.com//test.html” for pattern “/test.html”.

    Not sure if its a PrettyFaces or mod_cluster problem. It doesnt occure on normal h:button links which use also prettyfaces mappingIds as outcome. It also doesnt occure on normal get requests like: “domain.com/test.html”.

    Any help would be appreciated.

    #21283

    I have fixed it with changing configuration to:

    ProxyPass * balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On

    ProxyPassReverse * balancer://mycluster/

    Now everything seems fine :)

    #21284

    Ah this is the final correct version:

    ProxyPass / balancer://mycluster stickysession=JSESSIONID|jsessionid nofailover=On

    ProxyPassReverse / balancer://mycluster

    ProxyPreserveHost On

    #21285

    Thanks for sharing you solution to the problem! Maybe it will help others who run into this problem!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Comments are closed.