You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jo...@pcsolution.com.br on 2001/07/23 19:48:46 UTC

can't deploy with war files

Hello,

When I create a application (no war file) in .../webapps/test dir, 
it works well. But if I turn it into war file, delete dir teste,
put test.jar into .../webapps and restart tomcat, I get this erro:

.java.lang.IllegalArgumentException: Document base ./../webapps/test
 does not exist or is not a readable directory

and it don't start.
I'm using tomcat 4.0.
This is a beta version of tomcat. Maybe a bug?
I have already deployed war files with tomcat 3.2. 

Thanks in advance.

Re: can't deploy with war files

Posted by "Craig R. McClanahan" <cr...@apache.org>.
WAR file deployment works for me under Tomcat 4.0-b6 -- are you using this
version (released last week)?  If you are, there might be something about
your particular web app that is causing problems, and it would be very
useful to submit a bug report with a reproducible test case.
  http://nagoya.apache.org/bugzilla/

Craig McClanahan


On Mon, 23 Jul 2001 jorge@pcsolution.com.br wrote:

> Hello,
> 
> When I create a application (no war file) in .../webapps/test dir, 
> it works well. But if I turn it into war file, delete dir teste,
> put test.jar into .../webapps and restart tomcat, I get this erro:
> 
> .java.lang.IllegalArgumentException: Document base ./../webapps/test
>  does not exist or is not a readable directory
> 
> and it don't start.
> I'm using tomcat 4.0.
> This is a beta version of tomcat. Maybe a bug?
> I have already deployed war files with tomcat 3.2. 
> 
> Thanks in advance.