tomcat6 context path attribute

2014-05-21 Thread philippe rouxel
Hello,

I have a war app-0.0.1 with a context.xml in META-INF :

?xml version=1.0?
!DOCTYPE Context
Context path=/app
/Context

When I deploy it, in CATALINA_BASE\conf\Catalina\localhost a file
app-0.0.1.xml is created.

When I call
 localhost:8080/app I got 404
 localhost:8080/app-0.0.1 I got 200

I have try
?xml version=1.0?
!DOCTYPE Context
Context path=/app docBase=../webapps/app-0.0.1.war
/Context
with the same result

Did i miss nothing?

I using tomcat 6.0.39

Regards


Re: tomcat6 context path attribute

2014-05-21 Thread Konstantin Kolinko
2014-05-21 15:05 GMT+04:00 philippe rouxel prouxel.pa...@gmail.com:
 Hello,

 I have a war app-0.0.1 with a context.xml in META-INF :

 ?xml version=1.0?
 !DOCTYPE Context
 Context path=/app
 /Context

 When I deploy it, in CATALINA_BASE\conf\Catalina\localhost a file
 app-0.0.1.xml is created.

 When I call
  localhost:8080/app I got 404
  localhost:8080/app-0.0.1 I got 200

 I have try
 ?xml version=1.0?
 !DOCTYPE Context
 Context path=/app docBase=../webapps/app-0.0.1.war
 /Context
 with the same result

 Did i miss nothing?

 I using tomcat 6.0.39

Read Configuration Reference Guide. The path attribute is described there.
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org