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

RE: Scoping of JNDI Resources?

2005-03-14 Thread J Malcolm
Hassan, Thank you so much. I figured there had to be some sort of answer for that. This makes sense. I really appreciate the help. Jerry -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 9:00 AM To: Tomcat Users List Subject: Re: Scoping

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 GlobalNamingResources. I have also determined that you can define individual DataSources inside a webApp's Context/Context block inside a Host block. But are these the only two options? I would like to

RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
(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 define

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
-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 for a host. Is there a way