tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Niven <>
Subject RE: WAR and server.xml
Date Wed, 22 May 2002 17:06:26 GMT
> -----Original Message-----
> From: Mohammed Omar [] 
> Sent: 22 May 2002 17:20
> To: Tomcat Users List
> Subject: WAR and server.xml
> Dear All
> I have a war file , and tomcat4 deployed it succefully after 
> restarting tomcat , and the application works well ,  but i 
> dont know why it is working well ? why should not I write a 
> context line for it in server.xml??!! how it works without 
> writing a context line in server.xml?!!


My understanding is that any web-app (even "normal", non-war web-apps) that
are located in Tomcat's web-apps folder do not need to be "declared" in
server.xml: it's only when you have web-apps in non-standard places that you
need to state where they're located.

wars are either copied into the web-apps folder, and then picked up by
Tomcat when it starts, or deployed (by Tomcat's manager app) once Tomcat is
running.  Either way, they exist in the web-apps folder.

<<disclaimer>> I'm getting out of my depth here - can someone step up if
I've got this wrong?

> Thanks


John Niven
Please reply through mailing list

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message