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

List:       tomcat-user
Subject:    RE: Global resource JDBC/JNDI
From:       "Benjamin Armintor" <Ben.Armintor () austin ! utexas ! edu>
Date:       2004-04-12 12:53:52
Message-ID: 1AF546CC0358474980AF94B51DE93CDBFE1746 () MAIL02 ! austin ! utexas ! edu
[Download RAW message or body]

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


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

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