tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trond Hersløv <>
Subject <Context> in separate file doesn't work
Date Fri, 02 Sep 2005 10:49:56 GMT
Hi tomcat fellas!
http://venus:8080 gives me the index.html in the folder /home/trond/GTG/inside, but only when
I use the server.xml below.
When I take the <Context..... /> and put it in a separate file, ${CATALINA_HOME}/conf/Catalina/venus/test.xml
it doesnt work anymore.
Does anybody know why? Do I have to set any attributes like autoDeploy="false" in the <Host>
tag or what am I missing here?

Thanks in advance.


************************************* server.xml ****************************************
Server port="8005" shutdown="SHUTDOWN">

    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
       description="User database that can be updated and saved"
          pathname="conf/tomcat-users.xml" />

  <Service name="Catalina">
    <Connector port="8080" />

    <!-- This is here for compatibility only, not required -->
    <Connector port="8009" protocol="AJP/1.3" />

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" />
      <Host name="localhost" appBase="/home/trond/GTG/outside" />
      <Host name="venus" appBase="/home/trond/GTG/inside" >
        <Context docBase="/home/trond/GTG/inside" path="/" />

This email message has been swept by
MIMEsweeper for the presence of computer viruses.

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

View raw message