Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Android Security Essentials Live Lessons this week in the Android 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: 19656

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
Youtube embed
Error : WSVR0068E: Attempt to start EnterpriseBean
HTTP 403 for authenticated users - FIXED
Problem with Tomahawk library
Could not create connection in Jboss 4.2.2GA