-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael,

On 5/24/2011 10:47 AM, Jay, Michael wrote:
> I apologize for the insufficient data.  The goal is to foward the
> user to google.com to login and on successful authentication, reveal
> the original page desired. The original author used a .jsp that
> simply produces itself. But that's a separate issue--I think. I've
> not been able to capture an exception when attempting to forward().
> Tomcat seems to go into a loop of some kind.--mj

It looks more like the object graph has a /very/ long chain to get to
the real request object.

Can you post the /entire/ stack trace you get? What is the actual error?
Probably a StackOverflowException or something like that.

HttpServletRequestWrapper is a Servlet API class that can be used to
wrap a request object. AFAIK, Tomcat does not use this class for
anything unless you have explicitly configured Tomcat to attach a Filter
to incoming requests.

If you have many requests that forward to other resources that forward
to other resources that forward... and so on, the request can be
(inadvertently) wrapped multiple times.

I didn't see *any* filter definitions in your web.xml so your code must
be wrapping something at some point. A look at the full stack trace will
help a bit.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3b93gACgkQ9CaO5/Lv0PAMcQCfXhUBsPGd6zDcU1MiFhFc8ouj
xfAAnR+Zq+1gkkTQtVMS7xHZ/E7R1s+Q
=BwFT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to