Hi Paul,

Thanks for the explanation, much appreciated.

I'll start a Jira issue and submit a suggested patch.

Regards,
Thomas

On 6 April 2011 16:24, Ramirez, Paul M (388J)
<[email protected]>wrote:

> Hey Thomas,
>
> That's actually an issue with the tutorial documentation as the path
> attribute is ignored unless the context is defined statically in the
> server.xml file. Otherwise the context path is determined by Tomcat by the
> name of the context file so "foo.xml" will be hosted at "foo". Since this is
> a Tomcat specific configuration we don't have a way to change that but we
> should update our tutorial. If you can would you enter a Jira issue to track
> this. If you want feel free to supply a patch to the documentation.
>
> Here is a link to the Tomcat documentation on contexts if you are
> interested: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
>
> Thanks,
> Paul
>
> On Apr 6, 2011, at 5:42 AM, Thomas Bennett wrote:
>
> Greetings,
>
> I'm in the process of trying out the CAS Curator tutorial.
>
> I've picked up a curiosity with the curator war deployment -
> http://oodt.apache.org/components/maven/curator/user/basic.html#section2
>
> It seems that the web app is deployed to name of the xml file not the
> Context path attribute.
>
> For me, if filename = foo.xml (and path="/my-curator") and foo.xml is put
> in Catalina/localhost/ the webapp is deployed to foo not my-curator
>
> I.e http://localhost:8080/foo works,  but http://localhost:/my-curatordoes 
> not work.
>
> I've tried on Mac Snow Leopard and Ubuntu Linux - both using some flavour
> of tomcat6.
>
> Any ideas why this happens?
>
> Regards,
> Thomas
>
>
>


-- 
Thomas Bennett

SKA South Africa

Office :  +2721 506 7341
Mobile : +2779 523 7105
Email  :  [email protected]

Reply via email to