RE: Scoping of JNDI Resources?

2005-03-14 Thread J Malcolm
of JNDI Resources? J Malcolm wrote: > I've actually got my realms defined per host. That's not the problem. The > problem is that the datasources for the various realms must be declared > globally (apparently). > I'm assuming that any datasource that is defined glob

Re: Scoping of JNDI Resources?

2005-03-14 Thread Hassan Schroeder
J Malcolm wrote: I've actually got my realms defined per host. That's not the problem. The problem is that the datasources for the various realms must be declared globally (apparently). I'm assuming that any datasource that is defined globally is accessible to any Tomcat app that knows the dataso

RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
only way? Thanks. Jerry -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 7:08 PM To: Tomcat Users List Subject: Re: Scoping of JNDI Resources? J Malcolm wrote: > But it does not appear that the Default-Context applies to DataSourceRealms &

Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
J Malcolm wrote: But it does not appear that the Default-Context applies to DataSourceRealms for a host. Is there a way to define a datasource for use by a realm in a particular host (without making the datasource available to other hosts?) Ah, Realms, well then:

RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
ost (without making the datasource available to other hosts?) Thanks again. Jerry -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 12:38 PM To: Tomcat Users List Subject: Re: Scoping of JNDI Resources? J Malcolm wrote: > I know you can

Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
J Malcolm wrote: I know you can define DataSources, etc. globally to all of Tomcat using . I have also determined that you can define individual DataSources inside a webApp's block inside a block. But are these the only two options? I would like to define DataSources that are scoped to a , but

Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
I know you can define DataSources, etc. globally to all of Tomcat using . I have also determined that you can define individual DataSources inside a webApp's block inside a block. But are these the only two options? I would like to define DataSources that are scoped to a , but not global to al