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: [EMAIL PROTECTED]
 


-----Original Message-----
From: snpe [mailto:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
> Sent: Sunday, April 11, 2004 12:49 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to