On Fri, 14 Nov 2003 23:47, Martin Monsorno wrote:
> Hi *,
>
> I recently installed tomcat 4.1.29 and deployed a web application on
> it via a war-file.  The provided server.xml contains the following
> lines:



> So obviously, putting values into JNDI context fails.  (If I set the
> value in web.xml instead as an <env-entry>, everything goes well.)
>
> Have I forgotten to do some additional initialization or configuration
> or something else?  Any ideas?

It doesn't work :(

Either go to Tomcat 4.04 - I know that works - or you have to define the 
resources in a specific Context - which will prevent the war unpacking. So 
you have to run tomcat with no context first - so the thing unpacks (or do it 
manually), and then insert a context with appropriate resources and restart 
tomcat so the webapp runs.

I reported the bug on Bugzilla:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22677

However, it appears to have been 'resolved' - by providing a work around, 
which doesn't appear to work. The issue is that you can't find any resource 
in the defaultcontext or the globalnamingresources.

This bug means I'm still on 4.0.4 until it gets resolved.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to