On Wed, 6 Nov 2002, Khurram Munir Khokhar wrote:

> Date: Wed, 06 Nov 2002 11:53:46 +0500
> From: Khurram Munir Khokhar <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Web.xml and Server.xml
>
> Hi This is Khurram
>
> i) I want to ask that what can be the maximum effects of not giving a
> resource reference entry in the web.xml of my application , as i havnt got
> any problem by not giving it since a whole year working on enterprise
> application.
>

Do you mean the lack of a <resource-ref> element?  If the lack of this has
not caused you grief, you've been lucky because the servers you run your
apps on (including Tomcat, which does not rigorously enforce the
requirement for such a reference) allows you to execute apps without it.
There are *absolutely* such servers in the world, so people who care about
developing portable apps will pay attention to this.

> ii) secondly is it possible to relaod server.xml without restarting tomcat
> after adding a datasource by hand.
>

You might explore using the Administrative webapp (Tomcat 4.1.x) for this
purpose - it allows you to configure additional resources (including data
sources) without restarting Tomcat as a whole.

> Thanx.
>

Craig



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to