Bug 724929 - as7: Error on creating a new child resource to the domain controller
Summary: as7: Error on creating a new child resource to the domain controller
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-22 10:46 UTC by Sunil Kondkar
Modified: 2012-02-07 19:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 19:29:40 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot (17.99 KB, image/png)
2011-07-22 10:47 UTC, Sunil Kondkar
no flags Details

Description Sunil Kondkar 2011-07-22 10:46:31 UTC
Description of problem:

Tried to create a new child resource to the domain controller by uploading a war file. The child history tab of DomainController displays failed status with error "No handler for deploy at address [("deployment" => "counter.war")], rolled-back=true".

The agent log displays below:

2011-07-22 15:58:44,017 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=DomainDeployment, plugin=jboss-as-7]], ResourceKey=[null]
2011-07-22 15:58:44,116 INFO  [ResourceContainer.invoker.nonDaemon-2] (rhq.modules.plugins.jbossas7.ASUploadConnection)- Response code for file upload: 200
2011-07-22 15:58:44,117 INFO  [ResourceContainer.invoker.nonDaemon-2] (rhq.modules.plugins.jbossas7.BaseComponent)- Deploying [counter.war] to domain only= true ...
2011-07-22 15:58:44,164 WARN  [ResourceContainer.invoker.nonDaemon-2] (rhq.modules.plugins.jbossas7.BaseComponent)-  ... done with failure: No handler for deploy at address [("deployment" => "counter.war")], rolled-back=true
2011-07-22 15:58:44,164 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=10011, Status=Failure]


 
Version-Release number of selected component (if applicable):
Build#213 (Version: 4.1.0-SNAPSHOT Build Number: c96ce2f)
Database: Postgres 8.4.2

How reproducible:
Always

Steps to Reproduce:
1. Start the AS7 domain mode.
2. Install RHQ with As7 plugin.
3. Navigate to the 'Inventory'->Child Resources tab of the DomainController after discovery and import.
4. Click on 'Create Child->DomainDeployment' in Child Resources tab.
5. Click 'Next' and upload a war file.
6. Click 'Next' and 'Finish' buttons.
7. Navigate to the child history tab and click on the history status.

Please refer the attached screenshot.
  
Actual results:

Error on creating a new child resource to the domain controller

Expected results:

Should be able to create a new child resource to the domain controller with success.

Additional info:

Comment 1 Sunil Kondkar 2011-07-22 10:47:21 UTC
Created attachment 514656 [details]
Screenshot

Comment 2 Heiko W. Rupp 2011-07-22 15:42:21 UTC
24e34cb87e0 in branch as7plugin

Comment 3 Heiko W. Rupp 2011-07-22 15:45:48 UTC
pushed to master.

Comment 4 Sunil Kondkar 2011-07-25 11:20:58 UTC
Verified on build#218 (Version: 4.1.0-SNAPSHOT Build Number: 6eedd25)

Started AS7-Final domain mode and successfully created new child resource to the DomainController by deploying a war file.

Marking as verified.

Comment 5 Mike Foley 2012-02-07 19:29:40 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

Comment 6 Mike Foley 2012-02-07 19:30:20 UTC
marking VERIFIED BZs to CLOSED/CURRENTRELEASE


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