Trying to install a webapp on tomcat 4.1.24 with Ant using the install task, here is
what my build file looks like:
<target name="install" depends="build">
<install url="${manager.url}" username="${manager.username}"
password="${manager.password}" path="${app.context}"
war="file:///${basedir}/${build.dir}"/>
</target>
This action builds great on my local Win2k box, but when I try to run the same exact
file setup on a linux box this what I get from Tomcat:
2003-07-02 08:03:36 HTMLManager: start: Starting web application at '/salesweb'
2003-07-02 08:03:36 StandardHost[localhost]: standardHost.start /salesweb
2003-07-02 08:03:36 StandardContext[/salesweb]: Resources start failed:
java.lang.IllegalArgumentException: Document base
/var/tomcat4/webapps/home/david/salesweb/build does not exist or is not a readable
directory
at org.apache.naming.resources.FileDirContext.setDocBase(Unknown Source)
Any idea what in the world it would be trying to reference the document base at
/var/tomcat4/webapps/XXX for? It should be referencing the document base at
/home/david/salesweb/build like the manager is sending it...
Any idea what could be causing this?
thanks