Yup, env-entry and resource-ref should both work.  That's what I meant
by a read-only JNDI impl, sorry if I was unclear...

Yoav

On 4/19/06, Bill Au <[EMAIL PROTECTED]> wrote:
> It looks like we can use <env-entry>, which is part of the servlet specs:
>
> <env-entry>
>   <env-entry-name>solr/home</env-entry-name>
>   <env-entry-type>java.lang.String</env-entry-type>
>   <env-entry-value>/var/opt/solr/product</env-entry-value>
> </env-entry>
>
> The configuration will be the same for all containers.
>
> Bill
>
> On 4/19/06, Yoav Shapira <[EMAIL PROTECTED]> wrote:
> >
> > I'd be shocked if Jetty (regular / free) doesn't support reading JNDI,
> > as I think that's a servlet spec requirement.  Some containers, like
> > Tomcat and apparently Jetty, make a full read/write JNDI
> > implementation not part of the core container.
> >
> > Yoav
> >
> > On 4/19/06, Bill Au <[EMAIL PROTECTED]> wrote:
> > > Using JNDI seems like a good approach.
> > >
> > > We will need to add JNDI support as a requirement of the appserver for
> > > running Solr.
> > > Jetty doesn't support JNDI but JettyPlus does.
> > >
> > > Bill
> > >
> > > On 4/18/06, Yoav Shapira <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hola,
> > > > <long snip />
> > > >
> > > > > Do I have that correct?
> > > >
> > > > Yeah.
> > > >
> > > > --
> > > > Yoav Shapira
> > > > Nimalex LLC
> > > > 1 Mifflin Place, Suite 310
> > > > Cambridge, MA, USA
> > > > [EMAIL PROTECTED] / www.yoavshapira.com
> > > >
> > >
> > >
> >
> >
> > --
> > Yoav Shapira
> > Nimalex LLC
> > 1 Mifflin Place, Suite 310
> > Cambridge, MA, USA
> > [EMAIL PROTECTED] / www.yoavshapira.com
> >
>
>


--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

Reply via email to