Hi

Thanks for the help so where do I put my <ResourceLink> then - its
working across all my servers like this ? Do i need it in every
<Conext>

On Tue, Feb 23, 2010 at 2:49 PM, Caldarale, Charles R
<chuck.caldar...@unisys.com> wrote:
>> From: genera...@googlemail.com [mailto:genera...@googlemail.com] On
>> Behalf Of James McArthur
>> Subject: Re: Tomcat reload defaultt ( root ) context for web app in
>> host
>>
>> <Host name="www.mysite.co.uk"    unpackWARs="true" autoDeploy="true"
>>  xmlValidation="false" xmlNamespaceAware="false">
>>                 <Alias>1.2.3.4</Alias>
>>                 <DefaultContext reloadable="true">
>>                         <ResourceLink name="jdbc/TestDB"
>> global="jdbc/TestDB" type="javax.sql.DataSource" />
>>                </DefaultContext>
>>
>>                 <Context path="/" docBase="/vol/b2b/"
>> debug="0"></Context>
>>
>>                 <Context path="/b" docBase="/vol/b2bjemini/"
>> debug="0"></Context>
>
> A) <Context> elements should not be in server.xml - they belong in each 
> webapp's META-INF/context.xml file, or in conf/Catalina/[host]/[appName].xml. 
>  Had you used the strongly recommended technique, you wouldn't have a problem.
>
> B) As the 5.5 doc clearly states, the path for the default webapp is "", not 
> "/".
>
> C) There is no <DefaultContext> element in Tomcat 5.5.  You appear to have 
> copied over a horribly outdated configuration from some older version and 
> tried to use it in 5.5; that's always a dangerous thing to do.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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

Reply via email to