hi everyone,
i know that entries in the server.xml are discouraged but it's exactly what I need for the case.
Following Problem:
I have a parameter-node in the context node of my server.xml that acts as a environment-determinator that a webapp uses to know in which environment it is and which configuration to load:
The problem is that
tomcat reports that it can't find that directory if the webapp is not yet deployed (obviously). I want to deploy with
maven so tomcat and its manager has to run before deployment.
How do I tell tomcat to load that parameter so the webapp can access it without setting a path? It can be global and accessible by other apps. I specifically don't want it in the webapp.
I tried setting the path to "/" but then the webapp can't find the parameter in the context with
thanks for help