tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Strange JSP compilation issues in tomcat 7 and 8
Date Wed, 08 Jul 2015 13:39:19 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Paul,

On 7/7/15 5:21 AM, paul@kuruma.co.uk wrote:
> Hi Christopher,
> 
> I can confirm that in tomcat 8.0.23 the application does not work
> with or without ##'s in the file name, however in tomcat 8.0.15 it
> works without the hashes.
> 
> I compiled a list of my tests and the exceptions that occurred,
> they are different in tomcat 7 and tomcat 8:
> 
> I have them in an excel spreadsheet if they are of any use to you
> but I dont know if attachments are allowed on these emails?
> 
> I have managed to get this working now though thankfully and it
> was actually down to something quite simple...
> 
> I deployed a standard JSP file and this compiled ok so I narrowed
> it down to just being a Tiles issue.
> 
> My pom used to have version 3.0.3 defined and when I upgraded this
> to 3.0.5 the issues have gone away in both tomcat 7 and tomcat 8
> using java 7 or java 8 and it also work without issue in tomcat
> 8.0.23.
> 
> If only I had tried that first!
> 
> Thanks to everyone who replied offering help.

I'm glad to see that (a) Tomcat doesn't have a bug and (b) there is an
update to Tiles that works correctly with Tomcat. I suspect the
underlying problem was an edge-case conflict with Tomcat's new
"resources" implementation, which is based upon URLs instead of the
old-style "DirContext" which looked more like a standard filesystem
API. This change can make weird things happen if the library isn't
consistent about the way it loads resources.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVnSgHAAoJEBzwKT+lPKRYtFsP/0RCzuSYiyeML3E+foDjkVkF
9pnCfG8NSxX20lf9bxyhFE/OOAYiB3M33CnL5XS5unprBeYOiBdRPlqdgsPucf59
SjDlvFwmePKsJlI7BgW3qLNXQYyVss1MA8mxrSDMbsqKUAcFN2F5mwc84n0em9D7
t2X4eHL01empG8DTHB1xFYrq2PHzHtTL9sU5beajE0araF158gMC6LKqusYGzKcf
9e7iLY1mqfJiFIefp0nPIvfNKeddKaoowr2QoXzkQaxxIX1dsusVux665QeSoIWt
MR62GRKSa8/Avk3TyVkZ6ydCcfK0jY9emi9ZJaN7E5WvIVfGmu2IH7vYbYig0k/a
m4pVM0Ush8VclMWD+GXOgjseHZm0nKC+mGTb8PHGuBABt850TB7M2btm2OOBVq42
H0IKQtaaMLhmUZKHukjiRZl8KVtDT3p63aPTcmMUhHfT7ZB9EDAredXJxp/jCLZ7
fNoPn9hlBLbfndHFNUq3xyuiaZF7CytJ7iJOWEQKyTVr+mTqlDcDMvp87Qp+0Fau
3ToOsv/7GYoySrwbpPyJShiRlJMZJd/frSB7BHVDIXbtheBXRzJgQGk+X53S9Wrq
FS6KL6bPAqujX98wcWCxkQggf9BnLaH2jRgGr62yf0bYeH/E3QLQSehKR2e/cvQZ
JLTwfbSsnpyqLiOQSiFX
=SDPy
-----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