Cargo Tomcat Error Writing Request Body To Server
Contents |
Sign in Pricing Blog
Error Writing Request Body To Server Git Eclipse
Support Search GitHub This repository Watch 18 Star
Jenkins Error Writing Request Body To Server
25 Fork 18 JetBrains/teamcity-deployer-plugin Code Issues 20 Pull requests 1 Projects 0 Pulse Graphs New issue
Error Writing Request Body To Server Tomcat
Deploy to Tomcat 7 fails with java.io.Exception: Error writing request body to server #54 Closed peraage opened this Issue Mar 23, 2015 · 2 comments Projects None yet Labels None yet ant tomcat error writing request body to server Milestone No milestone Assignees No one assigned 2 participants peraage commented Mar 23, 2015 Deployment fails as stated above, while deployment from same machine as agent using curl works fine. Looks like the agent succeeds with listing webs, but fails to deploy. Logs from Tomcat server: 127.0.0.1 - deployer [23/Mar/2015:11:21:33 +0100] "GET /manager/text/list HTTP/1.0" 200 225 Logs from build agent: [2015-03-23 11:20:37,690] ERROR - jetbrains.buildServer.AGENT - org.codehaus.cargo.container.ContainerException: Failed to deploy [/home/buildagent/buildagent/work/a0f3b04d061b2cc0/auksjonen-prototype -1.0.0-SNAPSHOT.war] jetbrains.buildServer.RunBuildException: org.codehaus.cargo.container.ContainerException: Failed to deploy [/home/buildagent/buildagent/work/a0f3b04d061b2cc0/auksjonen-prototype-1.0.0-SNAPSHOT.war] at jetbrains.buildServer.deployer.agent.cargo.CargoBuildProcessAdapter.runProcess(CargoBuildProcessAdapter.java:104) at jetbrains.buildServer.deployer.agent.SyncBuildProcessAdapter.start(SyncBuildProcessAdapter.java:58) at jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage.doBuildStage(CallRunnerStage.java:58) at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25) at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.jav
- 15th for httpurlconnection error writing request body to server workshops, presentations and all things Jenkins ant error writing request body to server Learn more Export Tools JenkinsJENKINS-24096Jenkins Tomcat deploymet errorLog In ExportXMLWordPrintable error writing request body to server tomcat deploy Details Type: Bug Status: Open Priority: Major Resolution: Unresolved Component/s: deploy-plugin Labels: deploy jenkins tomcat Environment: Jenkins https://github.com/JetBrains/teamcity-deployer-plugin/issues/54 1.552 Deploy Plugin 1.9 Similar Issues: Show Description I have been using Jenkins for quite some time for Continuous integration with my Java projects. Recently I tried the Jenkins Deploy Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin) to deploy https://issues.jenkins-ci.org/browse/JENKINS-24096 my war file on tomcat 7. However, I am unable to do so as I am getting the following error: Bug Stack Trace Deploying C:\Program Files (x86)\Jenkins\jobs\MY_PROJS\workspace\target\projs.war to container Tomcat 7.x Remote [C:\Program Files (x86)\Jenkins\jobs\MY_PROJS\workspace\target\projs.war] is not deployed. Doing a fresh deployment. Deploying [C:\Program Files (x86)\Jenkins\jobs\MY_PROJS\workspace\target\projs.war] ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception org.codehaus.cargo.container.ContainerException: Failed to deploy [C:\Program Files (x86)\Jenkins\jobs\MY_PROJS\workspace\target\projs.war] at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:115) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:64) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:90) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:77) at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:887) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:77) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:47) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1030) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725) at hudson.model.Run.execute(Run.java:1695) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.io.IO
New Topic programming forums Java Java JSRs Mobile Certification Databases Caching Books Engineering Languages Frameworks Products This Site Careers Other https://coderanch.com/t/109289/tools/Problems-deploying-remote-Tomcat-CARGO all forums Forum: Ant, Maven and Other Build Tools Problems deploying to remote Tomcat with CARGO Sven Anderson Ranch Hand Posts: 58 posted 7 years ago Hi, I'm not sure if this is a networking/tomcat problem or a configuration problem with CARGO and my maven2 pom file. When I try to deploy to a remote error writing Tomcat instance (currently running) I get an IOException stating Error writing request body to server at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.che ckError(HttpURLConnection.java:2524) at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.wri te(HttpURLConnection.java:2507) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65 ) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at org.codehaus.cargo.container.tomcat.internal.TomcatManager.pipe(Tomca tManager.java:601) The war file I'm deploying is about 17MB. Deploying using the Tomcat manager is working fine. Can someone point me in the right direction whether it's a error writing request problems with the CARGO config or if the problem might be somewhere else. I'm using maven 2.09, JDK-1.6.0_06 and Tomcat 5.5