tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asar.K...@reuters.com
Subject Re: <ResourceLink> does not work inside <DefaultContext>
Date Thu, 18 Jul 2002 16:11:40 GMT

Ian,

Thanks for your note but I still maintain this is a bug.

I am already using the default standard host that sets autodeploy to true by default.

Also, I have tried adding the resource into <DefaultContext> directly and that works
fine - so how would you explain that?

Regards
Asar Khan





                                                                                         
                    
                    Ian Darwin                                                           
                    
                    <ian@darwinsy       To:      Tomcat Developers List <tomcat-dev@jakarta.apache.org>,
Asar 
                    s.com>               Khan/LON/GB/Reuters@Reuters                  
                       
                                        cc:                                              
                    
                    18/07/2002           Subject:     Re: <ResourceLink> does not work
inside                 
                    14:36                <DefaultContext>                          
                          
                                         Header:      Internal Use Only                  
                    
                                                                                         
                    



This is a tomcat-users question, not a tomcat-dev question.

On July 18, 2002 05:25 am, Asar.Khan@reuters.com wrote:
> I have set up a global JDBC resource in the <GlobalNamingResources>
> section.
>
> I have a number of virtual hosts and have found that if the <ResourceLink>
> is added inside <Context> the resource is available. However, if it is
> added inside <DefaultContext> it is not.
>
> Not being an expert could someone please confirm this is a bug?

DefaultContext is poorly named. It does NOT provide a default for all Contexts,
only for Contexts that are auto-deployed.

See the section on "Automatic deployment" in the config/host.html document.






------------------------------------------------------------- ---
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message