Gemeinschaft
Participate
Working Groups
When Tomcats server.xml file is formatted for my readability WITH line-breaks: <Context docBase="/Users/user/directory a/directory b" path="/myapp" reloadable="true" source="org.eclipse.jst.jee.server:myapp"> Eclipse will (after project or server clean) put all attributes in one line BUT with docBase PATH present twice and will fail starting the server after. The generated file is written here: "%eclipse_workspace%/.metadata/.plugins/org.eclipse.wst.server.core/tmp0" new server.xml with FALSE docBase: <Context docBase="/Users/a/Dropbox (ALPL)/ALPL_eclipse_workspace_2020_12/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Users/a/Dropbox (ALPL)/ALPL_eclipse_workspace_2020_12/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/sim" path="/sim" reloadable="true" source="org.eclipse.jst.jee.server:sim">
oups, sorry just noticed, the docBase from server.xml is simply ADDED to the -Dcatalina.base VM argument. And both had the same FULL path configured. For some reason... that was never an issue up to v4.21.0