On 28 June 2010 14:07, Ockleford Paul (NHS Connecting for Health) <
paul.ocklef...@nhs.net> wrote:

> Pretty much and I don't know the reason why that is, I am not in charge of
> the linux servers I only started looking into it because I couldn't get my
> method to work but it worked on my local windows environment. The entire web
> app is classes so its actually a class in WEB-INF\classes, that for some
> unknown reason the entire package is also sym linked in
> tomcat\common\classes.
>
> Can you think of any reason why someone would do that? I can only assume
> that at some point in the past someone else has had classloading issues and
> decided that that hack would solve it. That is unconfirmed though.
>
> Another option would be if two different webapps "need" to share static
variables (such as a singleton) in a common class.  At that point, the
common class must only be loaded once, so must be in common (or higher).

- Peter

Reply via email to