reset instance shell environment when starting (#5459)
instead of link, copy .war and .hpi to project's dir (#5591)