Bug 844217 - The deployment directory for a jboss as 7 standalone server is 'deployments' instead of 'deployment'
Summary: The deployment directory for a jboss as 7 standalone server is 'deployments' ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: All
OS: All
urgent
medium
Target Milestone: ---
: RHQ 4.5.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
: 843868 (view as bug list)
Depends On:
Blocks: as7-plugin 844422
TreeView+ depends on / blocked
 
Reported: 2012-07-30 03:29 UTC by Lin Gao
Modified: 2013-09-01 10:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
: 844422 (view as bug list)
Environment:
Last Closed: 2013-09-01 10:16:11 UTC
Embargoed:


Attachments (Terms of Use)
CLI-script to fix the plugin property for the bundle deployment directory (1.81 KB, application/x-javascript)
2012-08-15 18:49 UTC, Heiko W. Rupp
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 957282 0 high CLOSED [as7] Add more bundle support for standalone mode 2021-02-22 00:41:40 UTC

Internal Links: 957282

Description Lin Gao 2012-07-30 03:29:25 UTC
Description of problem:
Deploy a bundle with a WAR archive to JBoss AS 7 standalone server leads to wrong directory.


How reproducible:


Steps to Reproduce:
1.Make an Ant bundle with a simple WAR archive within.
2.Update the bundle file to RHQ to create a new bundle.
3.New a group with JBoss AS 7 standalone server
4.Deploy the bundle to the created group.
  
Actual results:
The WAR is deployed correctly at <JBoss Standalone Server>/standalone/deployments/

Expected results:
The WAR is deployed at <JBoss Standalone Server>/standalone/deployment/<Destination Directory>

Additional info:

This should be a typo.

Comment 1 Heiko W. Rupp 2012-07-30 14:24:52 UTC
master 264bf23cb1

Comment 2 Charles Crouch 2012-07-30 15:41:01 UTC
*** Bug 843868 has been marked as a duplicate of this bug. ***

Comment 3 Heiko W. Rupp 2012-08-15 18:49:26 UTC
Created attachment 604660 [details]
CLI-script to fix the plugin property for the bundle deployment directory

Comment 4 Larry O'Leary 2012-08-16 14:25:58 UTC
This value should not be hard-coded as this is configurable and could change. In my opinion, this should be a trait. 'deployments' is only the value provided in the example configuration and is not intended to the the absolute directory name. Instead, we should read the value from the deployment-scanner module and re-read this value from time to time to ensure it gets updated.

Comment 5 Heiko W. Rupp 2012-08-16 20:08:46 UTC
A new implementation using a trait is now pushed to master as 1ace95e

The plugin config 'deployDir' has been removed, so on plugin upgrade users will get the correct setting.

Todo QA: test deploying a bundle after plugin upgrade to a server that was in inventory before the upgrade to see if the <bundle-destination> metadata is 
correctly updated.

Comment 6 Heiko W. Rupp 2013-09-01 10:16:11 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.


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