tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat 5.5.28 Class loading issue
Date Thu, 28 Jan 2010 15:46:50 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 1/26/2010 6:54 PM, Pid wrote:
> Tomcat supplies all of the servlet & JSPs jars, you don't need to add them.

+1

In fact, it's illegal to provide them. Smith should have noticed a
warning in catalina.out (or elsewhere) that servlet-api.jar provides
certain classes from javax.servlet that are illegal to define within the
webapp, and that they'll be ignored.

>> I listed jasper.jar as being an issue.
> 
> Why?  If it's also duplicated in WEB-INF, then it should not be.

I agree. What was wrong with jasper.jar? Are you [Smith] trying to
compile your own JSP resources with your own code or something?

>> It was naming-*.jars packaged with Tomcat 5.5.28 that was an issue.
> 
> Again, why.  No duplication allowed as above.

+1

>> Also, I had a references to older jars
>> (such as jstl.jar) in my project--Tomcat 5.5.28 uses newer jars for
>> several
>> things.
> 
> Tomcat 5.5 doesn't know JSTL exists, you must supply it if you are using
> it.

+1

You can see from the jsp-examples webapp provided with Tomcat 5.5.28
that jstl.jar is in the webapp's WEB-INF/lib directory. You could use
that one if you wanted to.

Maybe it would be best if Smith were to post a list of all the JAR files
in WEB-INF/lib so we could see them. It might be enlightening.

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

iEYEARECAAYFAkthsWoACgkQ9CaO5/Lv0PBIKQCfdKd/Y3ROv8TJgfoL/DFqGeo2
n+QAoJOvfs+s6N38LdsV92rGg+U5yXyl
=68aV
-----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