This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Too many redirects error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Too many redirects error" Watch "Too many redirects error" New topic

Too many redirects error

John Jai

Joined: May 31, 2011
Posts: 1776

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

Joined: Oct 27, 2005
Posts: 19557

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

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Too many redirects error
Similar Threads
Problem with Tomahawk library
Error : WSVR0068E: Attempt to start EnterpriseBean
HTTP 403 for authenticated users - FIXED
Youtube embed
Could not create connection in Jboss 4.2.2GA