0 Replies Latest reply on Aug 4, 2010 3:40 PM by johnnyren

    Redirect Loop Error

    johnnyren
      I added https to a page in pages.xml to enable secure communication and I got an error "Redirect Loop Firefox has detected that the server is redirecting the request for this address in a way that will never complete".  There is no error message from the server log

      I am using Seam 2.1.2 and JBOSS server 5.1. Any help is appreciated


      Here is my components.xml


      <components xmlns="http://jboss.com/products/seam/components"
      xmlns:async="http://jboss.com/products/seam/async"
      xmlns:bpm="http://jboss.com/products/seam/bpm"
      xmlns:core="http://jboss.com/products/seam/core"
      xmlns:drools="http://jboss.com/products/seam/drools"
      xmlns:framework="http://jboss.com/products/seam/framework"
      xmlns:mail="http://jboss.com/products/seam/mail"
      xmlns:persistence="http://jboss.com/products/seam/persistence"
      xmlns:navigation="http://jboss.com/products/seam/navigation"
      xmlns:security="http://jboss.com/products/seam/security"
      xmlns:web="http://jboss.com/products/seam/web"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd                  http://jboss.com/products/seam/async http://jboss.com/products/seam/async-2.1.xsd                  http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-2.1.xsd                  http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd    http://jboss.com/products/seam/navigation   http://jboss.com/products/seam/navigation-2.1.xsd           http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.1.xsd                  http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.1.xsd                  http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.1.xsd                  http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.1.xsd                  http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.1.xsd">

      <navigation:pages http-port="8080" https-port="8443"/>
      <core:init  jndi-pattern="@jndiPattern@"/>
      <core:manager concurrent-request-timeout="500"
        conversation-id-parameter="cid" conversation-timeout="120000"/>
      <!-- Make sure this URL pattern is the same as that used by the Faces Servlet -->
      <web:hot-deploy-filter url-pattern="*.seam"/>
        ......


      </<components>

      Here is my page.xml

      <page xmlns="http://jboss.com/products/seam/pages"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
            login-required="true"
            scheme="https" 
            switch="enabled">

         <action execute="#{someObject.someMethod}" if="#{identity.loggedIn}"/>
        
      </page>