We're updating the issue view to help you get more done. 

If custom rewrite file is already in correct destination, runwar overwrites it as 0 bytes

Description

See this ticket:

COMMANDBOX-941: urlrewrite.xml has file size of 0 on docker restart but not regular start

Basically if someone provides a custom rewrite file and they've already put it in the correct place in the server home, runwar tries to copy it on stop of itself which wipes it out.

[DEBUG] runwar.server: Copying URL rewrite file /root/serverHome/WEB-INF/urlrewrite.xml to WEB-INF: /root/serverHome/WEB-INF/urlrewrite.xml

 

Status

Assignee

Miguel Mathus

Reporter

Miguel Mathus

Labels

Components

Fix versions

Priority

Minor