On 23/10/2024 18:57, Mark Foley wrote:
I'm running Tomcat 8.5.11. I have a hopefully small problem.
Tomcat 8.5.x is EOL and no longer supported. 8.5.11 is also rather old with quite a long list of know security issues.
I have a webapp directory: $CATALINA_HOME/webapps/myapp/. In that directory I have WEB-INF/web.xml with: <env-entry> <env-entry-name>connURL</env-entry-name> <env-entry-value>jdbc:mysql://localhost/members?</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> In this example, the env-entry is just part of an SQL connection string I want to snag. In a browser, going to: <myIP>/myapp/index.jsp works fine with WEB-INF as shown above. What I want to do is put all of this in a sub-directory: $CATALINA_HOME/webapps/myapp/subapp/ and access it on my browser as <myIP>/myapp/subapp/index.jsp. When I do that -- no changes to anything -- I get the error:
That won't work. What will work is renaming: $CATALINA_HOME/webapps/myapp to $CATALINA_HOME/webapps/myapp#subapp/ Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org