The moose likes Tomcat and the fly likes Too many redirects error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Too many redirects error" Watch "Too many redirects error" New topic
Author

Too many redirects error

John Jai
Rancher

Joined: May 31, 2011
Posts: 1372
Hi,

I am trying to deploy a war file (a Spring based MVC application) on Tomcat. The war file deploys without any issues but when I try to access the deployment, I am receiving an error stating "http://localhost:8080/myApp/view/user/login.jsp has resulted in too many redirects."

I am new to this Spring framework and trying to deploy a war file created from an existing project. I see below entries in the localhost_access_log. Could you please point me on how to move forward on debugging the issue?

Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18376

It looks like login.jsp is redirecting to itself without ending. That's where I'd start.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
 
subject: Too many redirects error
 
Threads others viewed
Error : WSVR0068E: Attempt to start EnterpriseBean
Could not create connection in Jboss 4.2.2GA
Youtube embed
Problem with Tomahawk library
HTTP 403 for authenticated users - FIXED
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com