Bug 1308841 - Undeploy doesn't remove Data content if server is in --admin-only mode
Summary: Undeploy doesn't remove Data content if server is in --admin-only mode
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Chao Wang
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 09:26 UTC by Abhijit humbe
Modified: 2019-09-12 09:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-22 09:26:13 UTC
Type: Enhancement


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFCORE-1392 0 Minor Resolved Undeploy doesn't remove Data content if server is in --admin-only mode 2018-10-09 10:47:34 UTC

Description Abhijit humbe 2016-02-16 09:26:56 UTC
Description of problem:
Content from 'data' directory are not removed if we undeploy application in 'admin-only' mode.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Start server instance using --admin-only flag
2.Deploy application using CLI command.
~~~
deploy /valid/path/WebApp.war --runtime-name=WebApp.war --name=WebApp.war

~~~
3. Undeploy application using CLI command:
~~~
undeploy WebApp.war
~~~
4. Application will be undeployed but content from 'data' directory are not removed.  

Actual results:
content from 'data' directory are not removed if we undeploy application in "admin-only" mode.  

Expected results:
content from 'data' directory should be removed even if we undeploy application in "admin-only" mode. 

Additional info:

Comment 1 Brian Stansberry 2016-02-16 14:51:04 UTC
What content in the data directory are you referring to?

I assume you mean the deployment content in data/content but I want to clarify.

Comment 2 Abhijit humbe 2016-02-17 02:11:15 UTC
Yes, I am referring to deployment content in  data/content directory.

Comment 6 Chao Wang 2016-02-22 09:26:13 UTC
clean-obsolete-content task will clean it in background after switching back to normal mode in 10 mins. We consider this as a RFE and will follow up in upstream jira.


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