tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Problems with Property Files
Date Tue, 30 Sep 2003 12:40:34 GMT

If they're in shared/classes, they're on the classpath.  If they're in the jar itself, they're
also on the classpath.  Either one will work.  If you give us a more specific explanation
than "Tomcat ignore them" maybe we could help more ;)

Personally, especially since you're in a logging configuration use-case, I would keep all
the libraries and configuration files separate, i.e. have a copy in each webapp's WEB-INF/lib
or WEB-INF/classes directory, and not use shared/lib or shared/classes at all.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Martin Gr√ľneberg []
>Sent: Tuesday, September 30, 2003 5:45 AM
>Subject: Problems with Property Files
>Hi all,
>I have build a Package (jar) which should be used from different Contexts.
>I put the jar in the shared/lib/ folder from Tomcat and the classes are
>by Tomcat.
>The Package needs for proper initialisation 2 .properties files
>and an application specific one) I put these Property Files in the Jar but
>ignore them (tried also to put them into shared/classes). During developing
>(Eclipse) the Property Files are always found when they are in the
>Where do I have to put the Property Files to be found by my Package?
>thanks in advance,
>Martin Gr√ľneberg
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

View raw message