Bug 902347
Summary: | [RFE] Bundle deployed on the deploy directory "ClusterWebApp" will be removed (undeployed) when second bundle is deployed on the deploy directory "ClusterWebApp2" | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | bkramer <bkramer> | ||||||||
Component: | Content | Assignee: | Lukas Krejci <lkrejci> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||||
Severity: | urgent | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | JON 3.1.2 | CC: | ahovsepy, hrupp, myarboro | ||||||||
Target Milestone: | ER01 | Keywords: | FutureFeature | ||||||||
Target Release: | JON 3.2.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Windows | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2014-01-02 20:34:23 UTC | Type: | Feature Request | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | 1005880, 1012076, 1012083 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
bkramer
2013-01-21 12:50:34 UTC
Created attachment 684260 [details]
Test bundles
Please discard the latest sentences from the comment #0 (https://bugzilla.redhat.com/show_bug.cgi?id=902347#c0) as this will fail in any case. The deploy.xml in the ClusterWebApp2-1.2.zip application is: <?xml version="1.0"?> <project name="ClusterWebApp-2" default="main" xmlns:rhq="antlib:org.rhq.bundle"> <rhq:bundle name="ClusterWebApp-2" version="1.2" description="test ClusterWebApp2 bundle"> <rhq:deployment-unit name="ClusterWebApp-2" manageRootDir="false"> <rhq:file name="ClusterWebApp2.war" /> <rhq:file name="test.properties" destinationDir="..\..\configuration\clwa2\"/> </rhq:deployment-unit> </rhq:bundle> <target name="main"/> </project> and this should work fine. However, when deploying on Windows, deployment directory is "C:\Users\bkramer\jboss\jboss_60\jboss-eap-6.0\standalone\deployments\ClusterWebApp2\..": 2013-01-25 09:58:20,952 INFO [ResourceContainer.invoker.nonDaemon-4] (rhq.core.util.updater.Deployer)- Bundle [ClusterWebApp-2 v1.2]; Deployment [10552]: Will be managing the directory [C:\Users\bkramer\jboss\jboss_60\jboss-eap-6.0\standalone\deployments\ClusterWebApp2\..]; backing up and purging any obsolete content existing in there so it points to the "C:\Users\bkramer\jboss\jboss_60\jboss-eap-6.0\standalone\deployments" directory - and whatever is already deployed there will be deleted. If destinationDir is prefixed with ".\" in the deploy.xml of the ClusterWebApp2.war application, deployment works fine as it's deployment directory is: C:\Users\bkramer\jboss\jboss_60\jboss-eap-6.0\standalone\deployments\ClusterWebApp2\. Bundles should be properly deployed in both cases. Lukas, can you investigate this and either fix if it is a bug (difference Win* / Linux) or suggest a documentation improvement Setting this to ON_QA as I could not reproduce in RHQ 4.9.0, see BZ 1005880 for details. Created attachment 805839 [details]
bundle_dir.png
Created attachment 805845 [details]
bundle_dir2.png
verified please get verification screen-shots attached. |