Maik Schumacher wrote: > - Having a changed 'appBase' in the 'server.xml' pointing for example to > 'c:/test/www' on a Windows machine > - Deploying a Web application as a WAR file with the name' testweb.war' > putting it in the folder 'c:/test/www' > - Now the goal here is to access the Web application with > http://localhost:8080 > and not with > http://localhost:8080/testweb
You can't do exactly that. Leave the appBase alone (pointing to webapps) and use a ROOT.xml file. > How can I do this? I do not want to rename the 'testweb.war' to 'root.war'. For the record it is ROOT.war - case matters, even on Windows. > the <Context> Tag in the folder '<tomcat>/conf/Catalina/localhost' > I tried having a ROOT.xml as well as testweb.xml, with different settings, > but it will not work. It should be called ROOT.xml for the result you want. > Using a ROOT.xml that points to the 'testweb.war' results into this: > java.lang.IllegalArgumentException: Document base /srv/www/webapps/ROOT does > not exist or is not a readable directory Exactly what did you put in your ROOT.xml file when you saw this error? Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]