I downloaded tomcat 5.5.29 and tried to access an application http://:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any thing.
Leave a comment
Mark Thomas wrote: I must be missing something, but that is not what happens on my local system. I have made the change in the Manager’s web.xml, restarted Tomcat, and so far all the manager functions and links seem to be working fine. Namely, I have added this mapping at the end of the existing servlet-mappings of the manager webapp’s web.xml :
existing : … HTMLManager /html/*
added: HTMLManager /*
In my understanding of the URL-mapping rules, – the “/manager” part determines which URLs get mapped to the Manager application – then, after this “/manager” is stripped, for the remainder, the longest matching mapping “wins”. So the “/*” mapping above should win only if none of the others does, no ?
Am I missing something ?
Ahh. Light finally dawns. You added the mapping rather than replaced the existing one. My bad. Sorry.
That is going to break all the static resources. So that looks like: – images – xml format for the status output
Not complete breakage as I originally thought but enough that we wouldn’t want to do it.
Konstantin’s idea of an index.jsp that redirects looks like the best solution and I can’t see any reason not to back-port it either. Enough folks don’t appear to read the docs and seem to expect something on /manager that would make this worth doing.
Mark