https://bz.apache.org/bugzilla/show_bug.cgi?id=63872

--- Comment #1 from Kilian Felder <kilian.fel...@nextstride.com> ---
user@testsystem:/path/to/instance/webapps $ ls -l
:
lrwxrwxrwx  ...  myapp.war -> MyApp-4.10.5.0.war.r2308mod-20191017-2100
-rw-rw----  ...  MyApp-4.10.5.0.war.r2308mod-20191017-2100
:
It's not working this way (but was possible until 8.5.34). Here I point with
the symlink to the war-file which is in the webapps directory itself, and it
must not have the .war suffix because otherwise it would be exploded twice.

user@testsystem:/path/to/instance/webapps $ ls -l
:
lrwxrwxrwx  ...  myapp.war -> ../MyApp-4.10.5.0.war.r2308mod-20191017-2100.war
:
It's working when I place the war-file one level higher and add the .war
suffix!

Why do you check for the .war suffix? When it's required to check for the .war
suffix you should do this maybe better before the call to getCanonicalPath().

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to