On Wed, 9 Jan 2002, Charles N. Harvey III wrote:

> Date: Wed, 9 Jan 2002 15:39:55 -0500
> From: Charles N. Harvey III <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: manager app??
>
> Using the manager app to install an application seems to be
> Not working for me.  Now, I am certain that I am typing in
> an incorrect url, but I don't know what the correct url is.
>
> Every other argument works great.  Such as:
> localhost:8080/manager/reload?path=/myapp
> localhost:8080/manager/list
>
>
> No problems there.  But it get a problem with:
> localhost:8080/manager/install?path=/myapp&war=file:/myapp
>
> I get this error:
>       "FAIL - Encountered exception java.lang.IllegalArgumentException:
>       Cannot access document base directory /myapp"
>

Is there a directory "/path" on your computer?  This must be the absolute
pathname (from the root directory of your filesystem) -- it's not relative
to anything.

Does the operating system username under which you are running Tomcat have
read access to the "/myapp" directory, and to all of its contents?

>
> If I try to install an app that already exists I get:
>       "FAIL - Application already exists at path /velexample"
>
> Which is fine.  That's what it is supposed to say.
>

That happens because the "path" argument is validated before the "war"
argument.

> So what am I doing wrong?  What is the "document base" supposed to be?
> I have read the manager how to a bunch of times and can't figure
> out what the correct syntax is.
>
> Thanks.
>
> Charlie Harvey
> Alloy Inc.
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to