Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bdw429s opened this issue Feb 14, 2019 · 0 comments

Comments

@bdw429s
Copy link
Member

bdw429s commented Feb 14, 2019

See this ticket:

https://ortussolutions.atlassian.net/browse/COMMANDBOX-941

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

Check the source and destination path and skip the copy if the file is already in the correct place. This was on a Docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant