Skip to main content

GlassFish 3.1.2 (build 23) - Webpage has a redirect loop

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2014-04-10

I have GlassFish hosting a Java 7 web application with MySQL. My WAR file has been deployed to 4 other VMs running GlassFish (build 5). When I stood up another physical machine with GlassFish 3.1.2 (build 23), the same version of Java and the exact same WAR file, I get an error on one of my pages:
"This webpage has a redirect loop. The webpage at xxxxxxxxxxxx has resulted in too many redirects"

Without getting too far into the code at this point, is there a setting in Glassfish that might be used to handle the maximum # of redirects?

I compared the GlassFish 3.1.2 with the GlassFish, setting by setting and they appear the same.
None of my other 4 VMs exhibit this behavior.
I've used FireFox and Chrome to show this error. IE just hangs without an error.
All Google searches seem to point to clearing out 3rd party cookies, which I've done. But, I don't think it's a browser issue.
Any help would be appreciated.