You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/01/23 19:49:52 UTC

DO NOT REPLY [Bug 5986] New: - The lib directory in WEB-INF only takes jar files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5986>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5986

The lib directory in WEB-INF only takes jar files

           Summary: The lib directory in WEB-INF only takes jar files
           Product: Tomcat 4
           Version: 4.0.1 Beta 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: vivek.vasudeva@bankofamerica.com


a) where I can put property/configuration/xml files for helper classes that are 
packed as jars. Since these configuration files are meant to be edited by the 
deployer on his/her tomcat instance, I cannot afford to put them in the jar of 
my application, though I can pack a template of them in the war file. For 
example let us say I have a DBConnectionPool class packed as a jar which has a 
property file which give the options of Driver/user/password that is supposed 
to be edited by the user using my war file. Since the lib directory in WEB-INF 
takes only jar files and puts them in the CLASSPATH, I am now forced to create 
a jar file of the property file. Also the user of my war file will have to 
unjar the jar to edit the property file and pack it back as a jar.
b) The lib directory of WEB-INF understands only files which have a jar 
extension. It could not understand the JDBC driver file from 
oracle 'classes12.zip' , even though it is a jar file with a different 
extension.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>