tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snpe <s...@snpe.co.yu>
Subject Re: Global resource JDBC/JNDI
Date Mon, 12 Apr 2004 15:08:30 GMT
Why MET-INF/context.xml don't work ?

Thanks
On Monday 12 April 2004 12:53 pm, Benjamin Armintor wrote:
> If you want the resource available in all applications, make it a global
> environment entry and put the link in the default context for the host.
> 
> Benjamin J. Armintor
> Systems Analyst
> ITS-Systems: Mainframe Group
> University of Texas - Austin
> tele: (512) 232-6562
> email: b.armintor@its.utexas.edu
>  
> 
> 
> -----Original Message-----
> From: snpe [mailto:snpe@snpe.co.yu] 
> Sent: Sunday, April 11, 2004 3:41 PM
> To: Tomcat Users List
> Subject: Re: Global resource JDBC/JNDI
> 
> 
> Should I do it for all applications ?
> I try this in META-INF/context.xml and it don't work - when I add jndi
> with tomcat admin it work, but add all parameters in
> conf/Catalina/<host>/<app>.xml
> 
> Is it correct behavior ?
> 
> Thanks
> Haris Peco
> On Sunday 11 April 2004 02:56 pm, D'Alessandro, Arthur wrote:
> > You need to make a refernce in your web app contexts to the global
> > resource:
> > 
> > <ResourceLink name="jdbc/myresourcename" global="jdbc/myresourcename" 
> > type="javax.sql.DataSource"/>
> > 
> > -----Original Message-----
> > From: snpe [mailto:snpe@snpe.co.yu]
> > Sent: Sunday, April 11, 2004 12:49 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Global resource JDBC/JNDI
> > 
> > Hello,
> >   I set jdbc/jndi for web application, but I want set jdbc/jndi for 
> > all applications I try set jdbc/jndi in GlobalResource, but this 
> > resources don't see in web application automatic
> > 
> > Is it possible
> > 
> > regards
> > Haris Peco
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message