[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] adding contexts to server.xml



I have tried to modify Tomcat's server.xml file several times, but after I
reload the web service the servr.xml file reverts to its original state.

For example I needed to add new contexts to my virtual hosts; the original
looked something like this:

<Host name="host.domain">
  <Context path="" docBase="/home/sites/siteName/web" debug="0"/>
</Host>

I changed it thus:

<Host name="host.domain">
  <Context path="" docBase="/home/sites/siteName/web" debug="0"/>
  <Context path="/path" docBase="/home/sites/siteName/web/path" debug="0"/>
</Host>

On reload I was back to where I started.

Help please...Thanks--J