tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher K. St. John" <...@distributopia.com>
Subject servlet.jar, /ext, MANIFEST.MF
Date Sun, 24 Mar 2002 02:21:27 GMT

The JDK documentation indicates that servlet.jar, as an
official optional package, should be placed in the
/lib/ext directory. [1] However, the Tomcat 4 documentation
(well, the mailing list) indicates that servlet.jar should
not be placed in /lib/ext. [2]

Catalina should be able to detect problems using
java.lang.Package methods to query the version of the
provided javax.servlet packages.

 It looks like this would require:

  1) jakara-servletapi-4 to provide a manifest with the
     appropriate version information.

  2) Catalina to check the version information at some
     point, perhaps optionally.

Is this a reasonable thing to do? I admit to a cosiderable
amount of confusion over the balance between theory
[3],[4],[5] and practice. Any feedback/clarification
greatly appreciated.


[1] http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html
 4th paragraph of the Introduction uses servlet.jar as an
 example of something that definitely belongs in /ext. I'm
 not trying to argue about it, I'm just pointing out that
 the documentation conflicts with common practice. I've
 gotten into arguments with people who insist it's ok because
 of the extensions spec says, specifically, that it is.

[2] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5523,
 ref "Additional Comments", also:
 http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg15098.html
 ref para starting "TOMCAT-USER gets 10 or so messages a week".

[3] http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html

[4] http://java.sun.com/j2se/1.3/docs/guide/versioning/spec/VersioningSpecification.html

[5] SRV.9.7.1 "Dependencies On Extensions". Yes, I know,
it isn't quite the same thing.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message