Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 0.8
-
Fix Version/s: None
-
Component/s: JBoss
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Julient Viet's answer:
You should be able to get it done by changing the configuration of the server.
edit the file
$JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xmladd an MBean attribute :
<attribute name="AcceptNonWarDirs">true</attribute>
by default this value is set to false.
Also it looks like the management interface of this MBean which is a model MBean now does not have the proper attribute declaration, at least for 4.0.4.GA. So with that one you should add in the file :
$JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/META-INF/webserver-xmbean.xml
<attribute
access="read-write"
getMethod="getAcceptNonWarDirs"
setMethod="setAcceptNonWarDirs">
<name>AcceptNonWarDirs</name>
<type>java.lang.String</type>
</attribute>The missing management attribute looks like it could be fixed in the JBoss codebase.
Issue Links
| This issue is related to: | ||||
| CARGO-381 | Test on JBoss 4.0.5 |
|
|
|
I've tried to add it to both of the file and test it with 4.0.4.GA but the problem still exist.
The JBoss team also have raise an issue regarding this problem (http://jira.jboss.com/jira/browse/JBAS-3421)
Should we wait for the next release of JBoss (4.0.5) or implement it now?