Return-Path: Delivered-To: apmail-oodt-user-archive@minotaur.apache.org Received: (qmail 76010 invoked from network); 6 Apr 2011 14:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2011 14:24:39 -0000 Received: (qmail 45839 invoked by uid 500); 6 Apr 2011 14:24:39 -0000 Delivered-To: apmail-oodt-user-archive@oodt.apache.org Received: (qmail 45806 invoked by uid 500); 6 Apr 2011 14:24:38 -0000 Mailing-List: contact user-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@oodt.apache.org Delivered-To: mailing list user@oodt.apache.org Received: (qmail 45796 invoked by uid 99); 6 Apr 2011 14:24:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 14:24:38 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.149.139.105] (HELO mail.jpl.nasa.gov) (128.149.139.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 14:24:30 +0000 Received: from mail.jpl.nasa.gov (altvirehtstap02.jpl.nasa.gov [128.149.137.73]) by smtp.jpl.nasa.gov (Switch-3.4.3/Switch-3.4.3) with ESMTP id p36EO8EW023393 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Wed, 6 Apr 2011 07:24:09 -0700 Received: from ALTPHYEMBEVSP20.RES.AD.JPL ([128.149.137.82]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Wed, 6 Apr 2011 07:24:08 -0700 From: "Ramirez, Paul M (388J)" To: "user@oodt.apache.org" Date: Wed, 6 Apr 2011 07:24:08 -0700 Subject: Re: CAS Curator Tutorial Thread-Topic: CAS Curator Tutorial Thread-Index: Acv0ZkpBHgDqyHE/RRmDwsiwiHpKLQ== Message-ID: <0FB16895-BC25-4F47-BD05-2B3B2E5BAFA4@jpl.nasa.gov> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_0FB16895BC254F47BD052B3B2E5BAFA4jplnasagov_" MIME-Version: 1.0 X-Source-IP: altvirehtstap02.jpl.nasa.gov [128.149.137.73] X-Source-Sender: paul.m.ramirez@jpl.nasa.gov X-AUTH: Authorized --_000_0FB16895BC254F47BD052B3B2E5BAFA4jplnasagov_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey Thomas, That's actually an issue with the tutorial documentation as the path attrib= ute is ignored unless the context is defined statically in the server.xml f= ile. 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 s= pecific configuration we don't have a way to change that but we should upda= te 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 intereste= d: 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.ap= ache.org/components/maven/curator/user/basic.html#section2 It seems that the web app is deployed to name of the xml file not the Conte= xt path attribute. For me, if filename =3D foo.xml (and path=3D"/my-curator") and foo.xml is p= ut in Catalina/localhost/ the webapp is deployed to foo not my-curator I.e http://localhost:8080/foo works, but http://localhost:/my-curator does= not work. I've tried on Mac Snow Leopard and Ubuntu Linux - both using some flavour o= f tomcat6. Any ideas why this happens? Regards, Thomas --_000_0FB16895BC254F47BD052B3B2E5BAFA4jplnasagov_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey Thomas,

=
That's actually an issue with the tutorial documentation as the path a= ttribute 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 Tom= cat 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.
<= br>
Here is a link to the Tomcat documentation on contexts if you= are interested: http://tomcat.apache.org/tomcat-5.5-doc/config/context.h= tml

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 d= eployment - http://oodt.apache.org/compone= nts/maven/curator/user/basic.html#section2

It seems that the web app is deployed to name of the xm= l file not the Context path attribute.

For me, if = filename =3D foo.xml (and path=3D"/my-curator") and foo.xml is put in Catal= ina/localhost/ the webapp is deployed to foo not my-curator 


I've tried on Mac Snow Leopard and Ubuntu Linux - both usin= g some flavour of tomcat6.

Any ideas why this happens?

Re= gards,
Thomas


= --_000_0FB16895BC254F47BD052B3B2E5BAFA4jplnasagov_--