带有Tomcat 7.x和Maven的Jenkins未部署远程

时间:2018-09-03 16:18:52

标签: amazon-web-services maven tomcat jenkins

这是错误:

  

错误:发布者hudson.plugins.deploy.DeployPublisher由于异常而中止   org.codehaus.cargo.container.ContainerException:无法重新部署[C:\ Users \ Administrator.jenkins \ jobs ... [战争路径]       在org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:193)       在hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:73)       在hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke(CargoContainerAdapter.java:116)       在hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke(CargoContainerAdapter.java:103)       在hudson.FilePath.act(FilePath.java:914)       在hudson.FilePath.act(FilePath.java:887)       在hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103)       在hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61)       在hudson.tasks.BuildStepMonitor $ 3.perform(BuildStepMonitor.java:45)       在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:785)       在hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)       在hudson.maven.MavenModuleSetBuild $ MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1030)       在hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:706)       在hudson.model.Run.execute(Run.java:1703)       在hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)       在hudson.model.ResourceController.execute(ResourceController.java:88)       在hudson.model.Executor.run(Executor.java:231)   引起原因:java.net.ConnectException:连接被拒绝:connect       在java.net.DualStackPlainSocketImpl.connect0(本机方法)       在java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)       在java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)       在java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)       在java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)       在java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)       在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)       在java.net.Socket.connect(Socket.java:579)       在java.net.Socket.connect(Socket.java:528)       在sun.net.NetworkClient.doConnect(NetworkClient.java:180)       在sun.net.www.http.HttpClient.openServer(HttpClient.java:432)       在sun.net.www.http.HttpClient.openServer(HttpClient.java:527)       在sun.net.www.http.HttpClient。(HttpClient.java:211)       在sun.net.www.http.HttpClient.New(HttpClient.java:308)       在sun.net.www.http.HttpClient.New(HttpClient.java:326)       在sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)       在sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)       在sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)       在org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:534)       在org.codehaus.cargo.container.tomcat.internal.TomcatManager.list(TomcatManager.java:686)       在org.codehaus.cargo.container.tomcat.internal.TomcatManager.getStatus(TomcatManager.java:699)       在org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:174)       ...另外16个   java.net.ConnectException:连接被拒绝:connect       在java.net.DualStackPlainSocketImpl.connect0(本机方法)       在java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)       在java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)       在java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)       在java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)       在java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)       在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)       在java.net.Socket.connect(Socket.java:579)       在java.net.Socket.connect(Socket.java:528)       在sun.net.NetworkClient.doConnect(NetworkClient.java:180)       在sun.net.www.http.HttpClient.openServer(HttpClient.java:432)       在sun.net.www.http.HttpClient.openServer(HttpClient.java:527)       在sun.net.www.http.HttpClient。(HttpClient.java:211)       在sun.net.www.http.HttpClient.New(HttpClient.java:308)       在sun.net.www.http.HttpClient.New(HttpClient.java:326)       在sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)       在sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)       在sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)       在org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke(TomcatManager.java:534)       在org.codehaus.cargo.container.tomcat.internal.TomcatManager.list(TomcatManager.java:686)       在org.codehaus.cargo.container.tomcat.internal.TomcatManager.getStatus(TomcatManager.java:699)       在org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:174)       在hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:73)       在hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke(CargoContainerAdapter.java:116)       在hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke(CargoContainerAdapter.java:103)       在hudson.FilePath.act(FilePath.java:914)       在hudson.FilePath.act(FilePath.java:887)       在hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:103)       在hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:61)       在hudson.tasks.BuildStepMonitor $ 3.perform(BuildStepMonitor.java:45)       在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:785)       在hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)       在hudson.maven.MavenModuleSetBuild $ MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1030)       在hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:706)       在hudson.model.Run.execute(Run.java:1703)       在hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)       在hudson.model.ResourceController.execute(ResourceController.java:88)       在hudson.model.Executor.run(Executor.java:231)   完成:失败

0 个答案:

没有答案