tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <>
Subject Manager app text mode refuses to deploy
Date Thu, 05 Apr 2018 21:07:45 GMT

We are upgrading from Tomcat 6 to tomcat8-8.5.23. We deploy our apps by preparing the fully
exploded and configured directory in place under .../webapps/. autoDeploy of apps is false.
We never use war files.

After the app is staged we use the manager app to deploy it. This involves an HTTP GET call
to http://localhost:8080/manager/text/deploy?path=/my-app

This is the way we have done it for years on Tomcat 6. We've been attempting for hours to
find some combination that yields something other than:

AIL - Invalid parameters supplied for command [/deploy]

Finally we got this pattern to work: stage the application under /tmp/my-app rather than .../webapps/.
Then deploy it like this:


The critical point is that the war path, when it refers to a directory rather than a war file
must end in a trailing slash. This is not in the documentation here:

Now when we go to undeploy it like so:


Tomcat crashes and exits with this:

AIL - Encountered exception [ Catalina:type=Deployer,host=localhost]

Rather than spend more hours on this I'm hoping someone can tell me the right technique for
undeploying. Thanks.

Here's the traceback:

05-Apr-2018 16:49:24.442 INFO [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationContext.log
Manager: undeploy:Undeploying web application at '/das-qa-java8' 05-Apr-2018 16:49:24.847
SEVERE [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationContext.log Manager: ManagerServlet.undeploy[/das-qa-java8] Catalina:type=Deployer,host=localhost at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke( at org.apache.catalina.manager.ManagerServlet.removeServiced(
at org.apache.catalina.manager.ManagerServlet.undeploy( at org.apache.catalina.manager.ManagerServlet.doGet(
at javax.servlet.http.HttpServlet.service( at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.tomcat.websocket.server.WsFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke( at
org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.valves.RequestFilterValve.process( at org.apache.catalina.valves.RemoteAddrValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.service( at org.apache.coyote.AbstractProcessorLight.process(
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
at$SocketProcessor.doRun( at<>(
at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$<>(
at org.apache.tomcat.util.threads.TaskThread$<>(

Apache Tomcat 8 (8.5.29) - Manager App HOW-TO<>
If you have Tomcat configured to support multiple virtual hosts (websites) you would need
to configure a Manager for each. There are three ways to use the Manager web application.


Daryl Stultz
Principal Software Developer
OpenTempo, Inc<><>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message