Hi, I have some trouble getting my TomEE 8.5.11/7.0.3 up and running with proper configuration. I have only one project configured - HelloWorld - so far. The server.xml gets generated whenever I ask the server to "publish". In that configuration file, there is this entry:
One point is, that the path is empty which looks not very useful for me. Another thing is, that the deployed web module What I want it to look like is like this:
I just don't find any combination how I can achieve this? When I add the web module, I get TWO lines for ROOT, one with path and one without, that obviously blocks the server from starting...
I don't know about TomEE, but the Eclipse WTP plugin commits atrocities on the server configuration for plain Tomcat. Then it lets them go stale when you want to update them. I've always preferred the sysdeo/mongrel plugin to run Tomcat. You have to manually create a Context definition for each webapp in the test, but at least you know exactly what you're getting. Note that newer Eclipse versions don't support sysdeo or mongrel. See recent postings in the Tomcat forum on where to get an equivalent plugin.
An IDE is no substitute for an Intelligent Developer.
posted 1 year ago
Thanks for the answer!
But for the specific topic, I had the impression that there can only be a little thing that I have missed. Hmm, I can't believe that this might not be possible to fix? Because its just only to tell Eclipse not to generate this ROOT docBase automatically...?