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 Sun, 11 Apr 2004 20:40:33 GMT
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


Mime
View raw message