org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic

Jenkins JIRA | Malcom Siem | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jenkins issues - [JIRA] Created: (JENKINS-10320) Deploy Plugin fails to redeploy on Tomcat 6

    nabble.com | 1 year ago
    org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic
  2. 0

    I wanted to use the Jenkins deploy plugin to deploy my WAR on the Tomcat Server. I provided the Log of Jenkins and the Tomcat server Thanks in advance for your help regards Malle ------------------------------ Jenkins Build Stacktrace ------------------------------- Deploying D:\blogic\dist\blogic.war to container Tomcat 6.x Remote [D:\blogic\dist\blogic.war] is not deployed. Doing a fresh deployment. Deploying [D:\blogic\dist\blogic.war] ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception org.codehaus.cargo.container.ContainerException: Failed to deploy [D:\blogic\dist\blogic.war] at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:111) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:60) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:86) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:73) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:73) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:639) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:617) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:586) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:507) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:547) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:273) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:256) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:240) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:107) ... 18 more org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:507) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:547) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:273) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:256) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:240) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:107) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:60) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:86) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:73) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:73) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:639) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:617) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:586) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Finished: FAILURE ----------------------------------------------------------- ------------------------------ Tomcat log --------------------- 08.07.2011 12:37:08 org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:09 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 08.07.2011 12:37:09 org.apache.catalina.startup.HostConfig undeployApps WARNUNG: Error while removing context [/blogic] java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:923) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1357) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1328) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:326) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1094) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468) at org.apache.catalina.core.StandardService.stop(StandardService.java:604) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416) 08.07.2011 12:37:09 org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:11 org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. 08.07.2011 12:37:11 org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 08.07.2011 12:37:14 org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:14 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2819 ms 08.07.2011 12:37:14 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 08.07.2011 12:37:14 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 08.07.2011 12:37:14 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml 08.07.2011 12:37:14 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml 08.07.2011 12:37:14 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive blogic.war 08.07.2011 12:37:14 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(D:\blogic\webapps\blogic\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 08.07.2011 12:37:30 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs 08.07.2011 12:37:30 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT 08.07.2011 12:37:31 org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:31 org.apache.catalina.startup.Catalina start INFO: Server startup in 17045 ms ---------------------------------------------------------------------------------------------

    Jenkins JIRA | 6 years ago | Malcom Siem
    org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic
  3. 0

    I wanted to use the Jenkins deploy plugin to deploy my WAR on the Tomcat Server. I provided the Log of Jenkins and the Tomcat server Thanks in advance for your help regards Malle ------------------------------ Jenkins Build Stacktrace ------------------------------- Deploying D:\blogic\dist\blogic.war to container Tomcat 6.x Remote [D:\blogic\dist\blogic.war] is not deployed. Doing a fresh deployment. Deploying [D:\blogic\dist\blogic.war] ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception org.codehaus.cargo.container.ContainerException: Failed to deploy [D:\blogic\dist\blogic.war] at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:111) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:60) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:86) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:73) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:73) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:639) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:617) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:586) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:507) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:547) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:273) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:256) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:240) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:107) ... 18 more org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:507) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:547) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:273) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:256) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:240) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:107) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:60) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:86) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:73) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:73) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:639) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:617) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:586) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Finished: FAILURE ----------------------------------------------------------- ------------------------------ Tomcat log --------------------- 08.07.2011 12:37:08 org.apache.coyote.http11.Http11AprProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:09 org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina 08.07.2011 12:37:09 org.apache.catalina.startup.HostConfig undeployApps WARNUNG: Error while removing context [/blogic] java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:923) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1357) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1328) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:326) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1094) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468) at org.apache.catalina.core.StandardService.stop(StandardService.java:604) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416) 08.07.2011 12:37:09 org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:11 org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. 08.07.2011 12:37:11 org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 08.07.2011 12:37:14 org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:14 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2819 ms 08.07.2011 12:37:14 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 08.07.2011 12:37:14 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 08.07.2011 12:37:14 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml 08.07.2011 12:37:14 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml 08.07.2011 12:37:14 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive blogic.war 08.07.2011 12:37:14 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(D:\blogic\webapps\blogic\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 08.07.2011 12:37:30 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs 08.07.2011 12:37:30 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT 08.07.2011 12:37:31 org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8092 08.07.2011 12:37:31 org.apache.catalina.startup.Catalina start INFO: Server startup in 17045 ms ---------------------------------------------------------------------------------------------

    Jenkins JIRA | 6 years ago | Malcom Siem
    org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /blogic
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins tomcat7 deploying error

    Stack Overflow | 2 years ago | VKumar
    org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Unknown command /manager/text/list
  6. 0

    why Jenkins 1.598 and tomcat 8 auto deployment does not work

    Stack Overflow | 2 years ago | grep
    org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Unable to delete [C:\servers\tomcat 8\webapps\tr-gui]. The continued presence of this file may cause problems.

    11 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.cargo.container.tomcat.internal.TomcatManagerException

      FAIL - Failed to deploy application at context path /blogic

      at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke()
    2. Cargo Core Uberjar
      AbstractTomcatManagerDeployer.redeploy
      1. org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:507)
      2. org.codehaus.cargo.container.tomcat.internal.TomcatManager.deployImpl(TomcatManager.java:547)
      3. org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:273)
      4. org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:256)
      5. org.codehaus.cargo.container.tomcat.internal.TomcatManager.deploy(TomcatManager.java:240)
      6. org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:107)
      7. org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187)
      7 frames
    3. Deploy to container Plugin
      CargoContainerAdapter$1.invoke
      1. hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:60)
      2. hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:86)
      3. hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:73)
      3 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:758)
      2. hudson.FilePath.act(FilePath.java:740)
      2 frames
    5. Deploy to container Plugin
      DeployPublisher.perform
      1. hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:73)
      2. hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45)
      2 frames
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:639)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:617)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:161)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:586)
      7. hudson.model.Run.run(Run.java:1400)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:175)
      10 frames