Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 696145 Details for
Bug 901061
Need similar "DeleteWorkDirOnContextDestroy" configuration in EAP 6 Web Subsystem
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
possible patch.
patch.txt (text/plain), 1.13 KB, created by
Jean-frederic Clere
on 2013-02-11 15:32:44 UTC
(
hide
)
Description:
possible patch.
Filename:
MIME Type:
Creator:
Jean-frederic Clere
Created:
2013-02-11 15:32:44 UTC
Size:
1.13 KB
patch
obsolete
>diff --git a/web/src/main/java/org/jboss/as/web/deployment/JBossContextConfig.java b/web/src/main/java/org/jboss/as/web/deployment/JBossContextConfig.java >index e072fd6..d2eee59 100644 >--- a/web/src/main/java/org/jboss/as/web/deployment/JBossContextConfig.java >+++ b/web/src/main/java/org/jboss/as/web/deployment/JBossContextConfig.java >@@ -126,6 +126,7 @@ public class JBossContextConfig extends ContextConfig { > private Set<String> overlays = new HashSet<String>(); > private final InjectedValue<DistributedCacheManagerFactory> factory = new InjectedValue<DistributedCacheManagerFactory>(); > private Map<String, AuthenticatorValve> authenValves = null; >+ private boolean DELETE_WORK_DIR_ONCONTEXTDESTROY = Boolean.valueOf(System.getProperty("org.jboss.as.web.deployment.DELETE_WORK_DIR_ONCONTEXTDESTROY", "false")).booleanValue(); > /** > * <p> > * Creates a new instance of {@code JBossContextConfig}. >@@ -575,6 +576,9 @@ public class JBossContextConfig extends ContextConfig { > > @Override > protected void destroy() { >+ if (DELETE_WORK_DIR_ONCONTEXTDESTROY) { >+ super.destroy(); >+ } > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 901061
: 696145