Hola,

> As you can clearly see, BASE and HOME are different (and before you ask,
> neither one of them is a symlink :-))
>
> So, I modified ManagerServlet to show some debug output before the 1st
> copy, inserted a Thread.sleep() in the middle and some more debug output
> before the 2nd copy. Here are the results (in catalina.out):
>
> Copying
> /www/tomcatbase/work/Catalina/localhost/manager/some-tag-here/sws.war to
>  /www/tomcatbase/webapps/sws.war
> Length: 8047722
> Copying /www/tomcatbase/webapps/sws.war to /www/tomcatbase/webapps/sws.war
> Length: 0
>
> As you can see 2nd copy is trying to copy onto itself. Its not needed!!

Excellent, this is good testing and progress.

> Who do you want the feature to work for?
>
> a) People with default configuration
> b) People with esoteric configurations that are yet to be discovered

c) Everyone.

> I would guess a) since most people run with CATALINA_HOME and
> CATALINA_BASE as the same.

Proving the above assertion would be difficult at best.

Yoav

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to