Cyril Bouteille wrote:

> Craig,
>
> > > When I add the following entries in my web.xml file:
> > >   <env-entry>
> > Which version of Tomcat is giving you these errors?
> > I just tried it with
> > the most recent 3.2 code (3.2b6 plus a bunch of patches), and it seems to
> > work fine.
>
> Yes, I use 3.1. When is the final release of 3.2 expected?
>

I'm planning to build a "beta 7" this afternoon, unless there are outstanding
problems that should really be fixed first.  If no critical bugs in beta 7 are
found, I will propose it to the TOMCAT-DEV list as the release candidate for 3.2
final.

>
> > Of course, Tomcat 3.2 itself does not support the JNDI initial context
> > necessary to look up <env-entry>, <resource-ref>, or <ejb-ref> type
> > information.  But it should not generate error messages if they are included
> > in the web.xml file.
>
> Could I still look up JNDI entries on a WebLogic app server using these
> values? Or would I need also another JNDI local server with Tomcat just
> to get the parameters to connect to the app server one?
>

You would need to run under a servlet container that supports this (such as
WebLogic's own), rather than Tomcat, to access these values using the technique
outlined in the J2EE documentation.  In Tomcat 4.0 we're in the process of adding
support for such initial contexts -- but it's not there in 3.1 or 3.2.


> Thanks,

Craig


Reply via email to