tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Re: Database connections problem
Date Tue, 16 Oct 2001 20:30:40 GMT
I assume this is Tomcat 4, if so, look at the <DefaultContext ... />
  documentation.  The DefaultContext can be used to configure default
settings which are inherited by other Contexts within a <Host>.

Regards,

Glenn

The Duke wrote:

> Hello,
> 
> Does any one know if I can use other applications database connections?
> 
> <Context path="/applicationpath" ..>
>    <Resource name="jdbc/myDB" ... />
>    <ResourceParams name="jdbc/myDB" ...>
>       <parameter>
>           ...
>       </parameter
>    <ResourceParams>
> </Context>
> 
> <Context path="/anotherapplicationpath" ..>
> </Context>
> 
> How can I reach the applicationpath resource from anotherapplication? What do I have
to change in the context? Or is this not possible?
> 
> thanx,
> Dennis
> 
> 
> Make a difference, help support the relief efforts in the U.S.
> http://clubs.lycos.com/live/events/september11.asp
> 



-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------


Mime
View raw message