[jboss-dev] Should JBAS5.x honor context path in context.xml?

Anil Saldhana Anil.Saldhana at redhat.com
Tue Apr 21 03:10:54 EDT 2009


I created a bug
https://jira.jboss.org/jira/browse/JBAS-6812


Scott Stark wrote:
> We are not parsing a pat attribute during the creation of the 
> ContextMetaData in AS5, so it would not be picked up. We are also not 
> parsing a privileged attribute, so it seems we missed some attributes 
> when the parsing of the metadata was moved into a deployer.
>
> Anil Saldhana wrote:
>> https://jira.jboss.org/jira/browse/JBAS-6811  has a web application 
>> attached (lambda.war).  It has a WEB-INF/context.xml with the 
>> following setting:
>>
>> =======
>> <?xml version="1.0" encoding="UTF-8"?>
>> <Context path="/probe" privileged="true">
>> </Context>
>> ================
>>
>> The expectation is that the context path is set to "/path"
>>
>> But the log shows:
>>
>> =================================
>> 20:00:49,297 INFO  [TomcatDeployment] deploy, 
>> ctxPath=/jmx-console                               20:00:49,399 INFO  
>> [TomcatDeployment] deploy, ctxPath=/lambda  
>> =====================================
>>
>> I think this is a bug.
>>




More information about the jboss-development mailing list