tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Issues with org.apache.catalina.connector.Request
Date Thu, 05 Aug 2010 16:02:13 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yogeshwar,

On 8/5/2010 11:03 AM, Yogeshwar Srikrishnan wrote:
> Thanks.Quite possible we are using certain REST resources as sub resource.
> Could be issues with the way its done!

This is not legal from a Servlet Spec standpoint. It's also bad practice
because you introduce some very difficult-to-diagnose issues such as this.

You could write a Filter to wrap the HttpSession object and log an error
anytime a Request object is placed into it. You can do this with other
resources as well to help you debug.

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

iEYEARECAAYFAkxa4IUACgkQ9CaO5/Lv0PBFCACeN7Dy73DEnX+X8sX5/9Rgo5xs
58EAoI8DxP7YG3NNJzYyijKHo6rQPri7
=iglj
-----END PGP SIGNATURE-----

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


Mime
View raw message