Bug 1117755 - [eap6 ] cannot create deployment resource , broken after restart
Summary: [eap6 ] cannot create deployment resource , broken after restart
Keywords:
Status: CLOSED DUPLICATE of bug 1125343
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin Container
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER02
: JON 3.3.0
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: JON3-42
TreeView+ depends on / blocked
 
Reported: 2014-07-09 10:27 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:03 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-22 15:43:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
eap-war-content-missing (325.04 KB, image/png)
2014-07-09 10:27 UTC, Armine Hovsepyan
no flags Details
war-deployment-failed (494.78 KB, image/png)
2014-07-09 10:28 UTC, Armine Hovsepyan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1125343 0 high CLOSED All content-related workflows broken on Agent 2021-02-22 00:41:40 UTC

Internal Links: 1125343

Description Armine Hovsepyan 2014-07-09 10:27:33 UTC
Created attachment 916709 [details]
eap-war-content-missing

Description of problem:
[eap6 ] cannot create deployment resource  - broken after restart

Version-Release number of selected component (if applicable):
rhq 4.12 master  - build id: 1a62d13

How reproducible:
2 of 2

Steps to Reproduce:
1. install eap6 and inventory into server gui
2. create deployment child helloworld.war
3. try creating deployment child helloworld-1.2.war
4. try creating deployment child iBook.war
5. restart EAP6 server

Actual results:
After step4. no other deployment child can be created - no request sent to EAP, no exception in agent and server logs
After step5. EAP6 cannot be started

Expected results:
After step4. other war deployment child resource can be created
Content of hellowrold.war is not broken

After step5. eap6 starts without issues

Additional info:
screen-shots attached

Comment 1 Armine Hovsepyan 2014-07-09 10:28:05 UTC
Created attachment 916710 [details]
war-deployment-failed

Comment 2 Libor Zoubek 2014-07-11 09:37:47 UTC
After a quick debuggine session, I was not able to upload any deployment at all (2st step failing)

It always fails in AS7 plugin on NPE

        ContentContext cctx = context.getContentContext();
        ResourcePackageDetails details = report.getPackageDetails();

        ContentServices contentServices = cctx.getContentServices();

contentServices is NULL

Comment 3 Jirka Kremser 2014-07-11 13:51:19 UTC
If the bug happens after clean build/installation it keeps repeating and stays there forever, but for some clean builds/installations it doesn't start happening.

Here is my environment where the bug is present:

https://dl.dropboxusercontent.com/u/14869330/dev-container.zip
https://dl.dropboxusercontent.com/u/14869330/pg_dump.output

Paths in "rhq-server/rhq-storage/conf/cassandra.yaml" need to be changed properly.



This issue is a consequence of ResourceContexts not being fully initialized. There is a PR from Lukas addressing this issue [1].

[1]: https://github.com/rhq-project/rhq/pull/32

Comment 4 Lukas Krejci 2014-08-01 18:54:18 UTC
Ok, one interesting fact is that the build is supposed to be 1a62d13, which is RHQ 4.12-SNAPSHOT, but the provided environment contains 4.13.0-SNAPSHOT jars in agent's lib.

This leads me to believe this might either be a broken build or a broken agent upgrade situation.

Comment 5 Lukas Krejci 2014-08-01 19:04:15 UTC
The provided server is 4.13.0-SNAPSHOT, too. So this might not be the build advertised. Will investigate with the provided build anyway.

Comment 6 Thomas Segismont 2014-08-22 15:43:14 UTC

*** This bug has been marked as a duplicate of bug 1125343 ***


Note You need to log in before you can comment on or make changes to this bug.