Page 1 of 1

Firefox has detected that the server is redirecting the requ

Posted: Wed Sep 05, 2012 1:13 pm
by dsailer
I downloaded the demo using git (version in pom says 2.0.0-M1-6). I am building the code from command line (outside any IDE). The code built successfully with mvn install however in order to get it to run I had to alter the pom for the context like this:

<webAppConfig>
<contextPath>/admin</contextPath>
</webAppConfig>

due to this issue: http://jira.codehaus.org/browse/JETTY-1072

I also had to alter the port number for the admin site because port 8081 is already in use on my machine. I chose 8082 instead.

The actual demo site comes up fine, but the admin site using url http://localhost:8082/admin fails to launch getting the error:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

afterward the url in my web browser looks like this:

http://localhost:8082/admin/admin/admin ... min/admin/

Re: Firefox has detected that the server is redirecting the requ

Posted: Wed Sep 05, 2012 1:46 pm
by aazzolini
It's because you're running on a different port and didn't specify the appropriate HTTP to HTTPS port mapping. If you search the forums, you will find the answer you're looking for.

Re: Firefox has detected that the server is redirecting the requ

Posted: Wed Sep 05, 2012 3:28 pm
by dsailer
Adding it to applicationContext-admin-security.xml worked for me. Thanks.

<sec:port-mapping http="8082" https="8444"/>