Red Hat Bugzilla – Bug 887861
Agent raise OutOfMemoryError when adding new Deployment child resource on AS7
Last modified: 2014-01-02 15:38:08 EST
+++ This bug was initially created as a clone of Bug #887320 +++
Description of problem:
When you try to add new deployment child to an AS7 resource, the agent raise an OutOfMemoryError.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Find a simple WAR to deploy
I tried with Jenkins http://mirrors.jenkins-ci.org/war/latest/jenkins.war
2. Go to an AS7 resource page, Inventory/Child Resources tab.
3. Click the toggle button Create Child/Deployment and upload you WAR, then Next and Finish
4. Go to the Inventory/Child History tab
The new Created Child history record ends with status failed. A big stack trace ending with OutOfMemoryError is in the history details (see attached stack trace).
The new Created Child history record ends with status success.
* Attached is the server stack trace. The error is catched and passed to the server so it's reported on the server but actually raised in the agent.
* Deploying the same war to a Tomcat 7 resource works. So it may be a problem only for the AS7 plugin
--- Additional comment from Thomas SEGISMONT on 2012-12-14 17:50:28 CET ---
Created attachment 663660 [details]
--- Additional comment from Charles Crouch on 2012-12-14 18:29:08 CET ---
Notes: http://mirrors.jenkins-ci.org/war/latest/jenkins.war is 46mb
Is this also a problem in jon311?
Fixed: jon3.1.x - f87210f
Cherry-picked from master - 52bdd6f
Setting back to new. Thomas got a little carried away and committed this too the wrong branch. If this gets triaged into the release it will be cherry-picked to release/jon3.1.x
Fix tested on JON 3.2 Alpha. Master commit: 84b4cbc
Reworked to upgrade to HttpClient 4
master - 21ec5e2
Reworked to increased delay in AS7 itests to discover all resources
master - 3b18013
Changes reported to release/jon3.1.x - 89d941d
All unit and integration tests pass on my box and on Jenkins:
Manual testing leads to expected results (see the steps listed in the original description of this bug)
*** Bug 829399 has been marked as a duplicate of this bug. ***
*** Bug 978521 has been marked as a duplicate of this bug. ***
As this is MODIFIED or ON_QA, setting milestone to ER1.
Created attachment 803372 [details]
Successful deploy of jenkins.war file.
Deploying for large war file (jenkins.war) was verified. See screenshot.
marking as verified on behalf of jvlasak