org.codehaus.cargo.container.ContainerException

Failed to redeploy [/app/home/mradmin/.jenkins/workspace/Test_local/MyLocation/target/eslrestapi.war]

Samebug tips4

Check if your MongoDB is available.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web175

  • via Jenkins JIRA by raju kethi, 11 months ago
    Failed to redeploy [/app/home/mradmin/.jenkins/workspace/Test_local/MyLocation/target/eslrestapi.war]
  • via Jenkins JIRA by raju kethi, 1 year ago
    Failed to redeploy [/app/home/mradmin/.jenkins/workspace/Test_local/MyLocation/target/eslrestapi.war]
  • via Jenkins JIRA by raju kethi, 1 year ago
    Failed to redeploy [/app/home/mradmin/.jenkins/workspace/Deploy/MyLocation/target/eslrestapi.war]
  • Stack trace

    • org.codehaus.cargo.container.ContainerException: Failed to redeploy [/app/home/mradmin/.jenkins/workspace/Test_local/MyLocation/target/eslrestapi.war] at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:193) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:73) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:116) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:103) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:344) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:286) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1738) at hudson.model.Run.run(Run.java:1676) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:231) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1168) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:534) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.list(TomcatManager.java:686) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.getStatus(TomcatManager.java:699) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:174) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 9 months ago
    5 times, 2 days ago
    5 times, 4 weeks ago
    Once, 1 month ago
    Once, 1 month ago
    294 more bugmates