I'm not able to deploy via Deployment Project, I have 5 wars but some of them fails with the message "Could not deploy application: Unbuffered entity enclosing request can not be repeated."
Our system is:
- Apache 2.2 (load balancer)
- Tomcat 7 ( ajp connector)
LOG:
[Bamboo GUI]
simple 15-Aug-2014 15:44:20 Build Deployment of '1.3.10' on 'Production' started building on agent Elastic Agent on i-1a802330
simple 15-Aug-2014 15:44:20 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/3801090-4620289
simple 15-Aug-2014 15:44:20 Executing build Deployment of '1.3.10' on 'Production'
simple 15-Aug-2014 15:44:20 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
simple 15-Aug-2014 15:44:20 Cleaning working directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/3801090-4620289'
simple 15-Aug-2014 15:44:20 Finished task 'Clean working directory task' with result: Success
simple 15-Aug-2014 15:44:20 Starting task 'Artifact download' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
simple 15-Aug-2014 15:44:20 Preparing to download plan result WZ-PROD-8 artifact: Shared artifact: [WappZapp Artifact (Production)], pattern: [**/*.war]
simple 15-Aug-2014 15:44:34 Artifact [WappZapp Artifact (Production)] downloaded successfully in 14s to working directory
simple 15-Aug-2014 15:44:34 Finished task 'Artifact download' with result: Success
simple 15-Aug-2014 15:44:34 Starting task 'Static' of type 'com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask'
simple 15-Aug-2014 15:44:34 Deploying application with war file 'wappzapp-app/wappzapp-app-static/target/wappzapp-app-static.war' to context '/' to server 'http://static.wappzapp.com/manager' with tag 'static'
error 15-Aug-2014 15:44:35 Could not deploy application: Unbuffered entity enclosing request can not be repeated.
simple 15-Aug-2014 15:44:35 Finished task 'Static' with result: Error
simple 15-Aug-2014 15:44:35 Finalising the build...
simple 15-Aug-2014 15:44:35 Stopping timer.
simple 15-Aug-2014 15:44:35 Build 3801090-4620289-4587531 completed.
simple 15-Aug-2014 15:44:36 Finished processing deployment result Deployment of '1.3.10' on 'Production'
[Agent]
2014-08-15 13:44:20,212 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Deployment of '1.3.10' on 'Production' taken from queue.
2014-08-15 13:44:20,213 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [RemoteExecutionPhaseServiceImpl] Deployment of '1.3.10' on 'Production' assigned to agent 3997697
2014-08-15 13:44:20,218 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [DefaultBuildAgent] Changing context: null -> 3801090-4620289-4587531 on Elastic Agent on i-1a802330/5bb5abf7
2014-08-15 13:44:20,233 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Build Deployment of '1.3.10' on 'Production' started building on agent Elastic Agent on i-1a802330
2014-08-15 13:44:20,233 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [DefaultBuildAgent] Running build phase: com.atlassian.bamboo.v2.build.task.InitializeBuild
2014-08-15 13:44:20,234 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [RemoteExecutionPhaseServiceImpl] Deployment of '1.3.10' on 'Production' VCS sync started
2014-08-15 13:44:20,237 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [CheckoutDirectoriesSnapshotHelper] Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/3801090-4620289
2014-08-15 13:44:20,239 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [DefaultBuildAgent] Running build phase: com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask
2014-08-15 13:44:20,240 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [PrepareBuildTask] Executing build Deployment of '1.3.10' on 'Production'
2014-08-15 13:44:20,240 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [DefaultBuildAgent] Running build phase: com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask
2014-08-15 13:44:20,241 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [ExecuteBuildTask] Starting execution: 3801090-4620289-4587531, logger: 2118149851
2014-08-15 13:44:20,241 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [RemoteExecutionPhaseServiceImpl] Deployment of '1.3.10' on 'Production' execution started
2014-08-15 13:44:20,250 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [TaskExecutorImpl] Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
2014-08-15 13:44:20,251 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [CleanWorkingDirectoryTask] Cleaning working directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/3801090-4620289'
2014-08-15 13:44:20,280 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [TaskExecutorImpl] Starting task 'Artifact download' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
2014-08-15 13:44:34,942 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [TaskExecutorImpl] Starting task 'Static' of type 'com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask'
2014-08-15 13:44:35,396 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [HttpMethodDirector] I/O exception (java.net.SocketException) caught when processing request: Connection reset
2014-08-15 13:44:35,396 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [HttpMethodDirector] Retrying request
2014-08-15 13:44:35,489 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [RemoteExecutionPhaseServiceImpl] Deployment of '1.3.10' on 'Production' execution finished
2014-08-15 13:44:35,809 INFO [0-BAM::Elastic Agent on i-1a802330::Agent:pool-3-thread-1] [RemoteResultProcessor] Build Deployment of '1.3.10' on 'Production' completed on Bamboo agent. Sending results to server.