On Sat, 15 Mar 2003, NormW wrote:

> Date: Sat, 15 Mar 2003 20:58:53 +1100
> From: NormW <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3 to 4.1 - Changes?
>
> Good evening All.
> Working with Tomcat on Netware (no cringing please).
> Trying to upgrade Tomcat from 3.3 to 4.1.x (current).
>
> - Has the 'ContextXMLReader' directives/function been dropped in the latest releases?
>   (Cannot find reference to it in the Docs and cannot get it to work on 4.1)

Tomcat 4.x and 5.x haven't ever had anything exactly like
ContextXMLReader.  A somewhat similar capability is to put just an XML
file containing a <Context> element into the webapps directory (this is
how the admin and manager webapps are configured by default).

> - Will Tomcat 4.1.x work with web apps outside its own webapps directory?
>   Have set the docBase var for the context to an absolute path "sys:/.." (etc)
>   (I get the impression it's not reading the associated web.xml file)
>

You have to use a path that the JDK considers to be absolute (i.e.
something that java.io.File.isAbsolute() will return true for).  All other
paths are interpreted as relative to the "appBase" directory of the <Host>
element.

> TIA
> Norm
>

Craig


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

Reply via email to