tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andoni" <and...@indigo.ie>
Subject Re: how to add a context to server.xml?
Date Fri, 28 Nov 2003 10:14:08 GMT
You don't need to do it at all.  Tomcat will create a default context in
memory if it finds your war file in the right place.

If you do want to specify things about the context you will need to add a
section to server.xml.  If you want to do this I recommend you first remove
all the comments and extra rubbish you are not using in server.xml and then
format the XML properly and then you will see that it is actually quite easy
to understand.

You may have to do some reading though!

Andoni.

If you are using Tomcat 4.1 then you need this:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html

If you are using Tomcat 5.0 you will need this:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html

A.

----- Original Message -----
From: <zuhans@iname.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, November 28, 2003 9:17 AM
Subject: how to add a context to server.xml?


> hello,
>
> i installed a .war-file with manager. i noticed, that in server.xml
> there was no entry for the corresponding context afterwards.
>
> i wanted to do it with the tomcat-admin-page, i got the message, that my
> alterations were saved. but then again: no context in server.xml.
>
> must i do it by hand? (for a beginner not so fine!).
>
> greetings
> hans horwath, austria
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


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


Mime
View raw message