2 Replies Latest reply on Oct 24, 2008 9:15 AM by vijayamaladoss

    Seam HTTPS Problem


      We have an enterprise application which contains seam and coldfusion pages.
      There is a hardware loadbalancer that offloads the SSL. So the loadbalancer to App server is the HTTP call with 302 redirecton.


      My server.xml entry looks something like this:


      <Connector port="8080" address="${jboss.bind.address}"    
               maxThreads="250" maxHttpHeaderSize="8192"
               emptySessionPath="true" protocol="HTTP/1.1"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />





      <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
               emptySessionPath="true" enableLookups="false" redirectPort="8443" />




      The problem we have if we have any pages where we control our navigation through pages.xml there is unwanted
      redirections from https to http and back to https.


      First step, The page is redirected from https to http - This is done by seam. This redirected http request
      hits the load balancer and the load balancer corrects it to https.


      We tried using



      <navigation:pages http-port="8080" https-port="8443"/>




      and also



      <core:pages http-port="8080" https-port="8443"/>
      



      We also tried explicitly trying the scheme attribute.


      None of them solved our problem.


      We are using Jboss 4.2.0 EAP and Seam 2.0 GA.


      Any pointers ??