This entire thread has grown tiresome, my own posts included =)
Look, if you want shared classes for multiple webapps, but not all
webapps, then:
1) Create a common directory outside of TC
2) Put the jars there
3) Create symlinks to the jars in the relevant WEB-INF/lib subdiretories
It can be done without even touching the TC code. Modifying the
container to get this "functionality" is silly. If there are
shared-resource/threading issues, then separate jars are required
anyway. This approach will not work for classes, but just throw the
classes in a jar. I really don't understand the issue here. That
creating a few symlinks is somehow messier than needlessly hacking the
container, then trying to maintain that hack every time a new TC is
released?
Paul, like a few others, was obviously just trying to understand what
you were after, and the tone of your reply is completely unnecessary.
Quite frankly, I don't blame him for being confused, because the
question is confusing in its assertation ... what you want can be easily
done without hacking. If you have that much spare time, and enough
distaste for symlinks to make unnecessary hacks, then go for it.
- Christopher
Rick Mann wrote:
>
> on 8/30/01 11:36 PM, Paul Speed at [EMAIL PROTECTED] wrote:
>
> > Just clarifying, you basically want the exact same functionality
> > you'd get by copying the jars into the individual webapp lib
> > directories, but you just don't want to have to copy them. Right?
>
> Look, if it were the exact same functionality as copying the classes/jars
> into the individual webapp's folders, then that's what I'd do.
>
> However, it's not the same thing. It makes deployment and development more
> difficult, despite the possibility of creating scripts or ant files to
> automate this process, it's still not as easy as being able to put the
> classes in one place once.
>
> If it makes you happy, yes. I want the exact same functionality as copying a
> set of class files/jar files into a subset of installed webapp's directories
> without copying them or making links from one dir to another.
>
> ------------------------------------------------------------
> Roderick Mann rmann @ latencyzero.com.sansspam
--
- Christopher
/**
* Pleurez, pleurez, mes yeux, et fondez vous en eau!
* La moitié de ma vie a mis l'autre au tombeau.
* ---Cornelle
*/