[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: Global resource JDBC/JNDI
From:       "D'Alessandro, Arthur" <Arthur.Dalessandro () cbetech ! com>
Date:       2004-04-12 13:09:35
Message-ID: 58308322565CAC4DB0B7845FA6959E2F01052573 () cbebosex01 ! cbetech ! local
[Download RAW message or body]

Is this TC4 or TC5?  META-INF/context.xml only works with TC5 to my
understanding. 

-----Original Message-----
From: snpe [mailto:snpe@snpe.co.yu] 
Sent: Monday, April 12, 2004 11:09 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Global resource JDBC/JNDI

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



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic