[jboss-dev] Should JBAS5.x honor context path in context.xml?
Rémy Maucherat
remy.maucherat at gmail.com
Tue Apr 21 09:47:56 EDT 2009
On Tue, Apr 21, 2009 at 3:32 AM, Anil Saldhana <Anil.Saldhana at redhat.com> 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.
Setting a path using a context.xml file is not supported in Tomcat
either (only in server.xml Context elements, which are no longer in AS
5 since I think deployments should be done through the JBoss
deployer).
Rémy
More information about the jboss-development
mailing list