tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Raghav" <Hitesh_Rag...@symantec.com>
Subject RE: JASPER libraries incompatibilities
Date Thu, 21 Feb 2008 02:02:05 GMT
Thank you very much Chris for providing detailed analysis about my
queries.
We'll start auditing our tag library.

Is there any URLs about these backward incompatibilities (i.e.
Servlet/JSP specs backward incompatibilities)?

Thanks,
-Hitesh
 

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: Tuesday, February 19, 2008 9:11 PM
To: Tomcat Users List
Subject: Re: JASPER libraries incompatibilities

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

Hitesh,

Hitesh Raghav wrote:
| I've web-app developed to run with Tomcat 4.2. It used to work 
| perfectly fine with Tomcat 4.2.

4.2? I don't think there was ever a Tomcat 4.2. Do you mean 4.1?

| When same web-app is deployed on Tomcat v5.5.x or v6.0.y, it fails by 
| throwing NullPointerException.

Tomcat 4.1 had a lot of ... let's say "wiggle-room" when it comes to
either violating the Servlet Specification. Later versions are much more
strict when it comes to following the rules.

You probably want to audit your tag library to see if it is compatible
(if it is a 3rd-party library) or review your own code (if this was an
in-house tag library) to see if you have done something potentially
dangerous.

| It works perfectly fine, when we replace JASPER libraries from Tomcat
| v4.2 (from <apache-tomcat>\common\lib folder).

Don't do that. It will cause you nothing but trouble. Jasper wasn't
designed (I don't think) to be moved between versions of Tomcat. You are
likely to have more problems down the road if you attempt to run the
Jasper from TC 4.1 on TC 5.5 or 6.0.

- -chris

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

iEYEARECAAYFAke6+JQACgkQ9CaO5/Lv0PDUAwCbBMuq+y23gW9Len+1LW8YhAtE
o+IAn2R+gLdr5T+PgpwkHFTn+HUmDK7c
=k0hH
-----END PGP SIGNATURE-----

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


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


Mime
View raw message