"Context" element in "server.xml" - NEED HELP.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pavel_Kurakin
Posted On:   Wednesday, February 18, 2004 01:00 AM

Tomcat 5.0.16 manual says on adding arbitrary number of elements to "server.xml" as something trivial.

Still I can't ad a single element - Tomcat start page stops launching.

Please anybody show a snippet of code from "server.xml" with SEVERAL s.

This is needed for many things - datasource adjustment, security policy (via Realm object), etc.

Re: "Context" element in "server.xml" - NEED HELP.

Posted By:   jcup_j  
Posted On:   Thursday, February 26, 2004 12:50 AM




docBase="D:TestTest_Web"
crossContext="false"
debug="0"
reloadable="true" >


docBase="D:SampleWeb"
crossContext="false"
debug="0"
reloadable="true" >


here is the snippet of code from server.xml.you can add several contexts as the ones added here.tomcat does not start if the same context is declared more than once.
in the xml syntax an opening tag must be closed so don't forget to close the tag you opened ()
About | Sitemap | Contact