tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Krause" <JKra...@multivisioninc.com>
Subject Absolute path to webapp???
Date Wed, 04 Aug 2004 23:29:38 GMT
How do you specify an absolute path to a webapplication. I don't want to
run my webapp from within $CATALINA_HOME/webapps. When I set it up to
point to an absolute path outside of the webapps directory, it still
looks for it there:
 
<Server port="8005" shutdown="SHUTDOWN">
 
  <Service name="DVRSERVICE">
    <Connector port="8080" />
 
    <Engine name="DVRENGINE" defaultHost="localhost">
      <Logger className="org.apache.catalina.logger.FileLogger" />
 
      <Host name="localhost" appBase="/dvr">
  
  	  <Context path="" docBase="/dvr" debug="1" reloadable="false"/>
      
      </Host>
    </Engine>
  </Service>
</Server>
 
THis is the error I am getting:
 
java.lang.IllegalArgumentException: Document base
/usr/tomcat/jakarta-tomcat-5.0.27/webapps/dvr does not exist or is not a
readable directory

---------------------------------------------------------------------
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