You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Luís de Sousa <lu...@gmail.com> on 2010/05/03 12:27:13 UTC

Failed to deploy application

Hello,

I'm trying to deploy an application that is located under the webapps
directory. I'm using the http call:

http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTut&tag=JSPTut

And I'm getting this answer back:

FAIL - Failed to deploy application at context path
/var/lib/tomcat6/webapps/JSPTut

Reading documentation in the web I found references to a possible
missing web.xml file but such isn't the case. I've also browsed the
log files but can't find any occurrence for today.

What may be the problem?

Thank you,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Luís de Sousa <lu...@gmail.com>.
On Mon, May 3, 2010 at 1:09 PM, Jie Sheng Chua <ch...@gmail.com> wrote:
> Hi Luís de Sousa,
>
> Could you provide your
> OS:
> Tomcat Version:
> JDK:

Hi, sorry for not including this info,

OS: Ubuntu 9.10
Tomcat: Apache Tomcat/6.0.20
JDK: OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu3)

Out of desperation I already granted execute and read to permission to
all on the application directory (and all its contents).

Thank you,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Jie Sheng Chua <ch...@gmail.com>.
Hi Luís de Sousa,

Could you provide your
OS:
Tomcat Version:
JDK:

If you trying to deploy pointing it to a folder, you need to ensure that the
folder have the needed permission.

2010/5/3 Luís de Sousa <lu...@gmail.com>

> Hello,
>
> I'm trying to deploy an application that is located under the webapps
> directory. I'm using the http call:
>
>
> http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTut&tag=JSPTut
>
> And I'm getting this answer back:
>
> FAIL - Failed to deploy application at context path
> /var/lib/tomcat6/webapps/JSPTut
>
> Reading documentation in the web I found references to a possible
> missing web.xml file but such isn't the case. I've also browsed the
> log files but can't find any occurrence for today.
>
> What may be the problem?
>
> Thank you,
>
> Luís
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Jie Sheng, Chua
(+65) 97520245
chuajiesheng@gmail.com

The contents of this email are confidential to the intended recipient and
may not be disclosed. Although it is believed that this email and any
attachments are virus free, it is the responsibility of the recipient to
confirm this.

Re: Failed to deploy application

Posted by Luís de Sousa <lu...@gmail.com>.
Hello again,

Today I was able to get an application deployed with auto-deploy, by
simply copying the directory into webapps.

I still can't deploy an application at another disk location using the
GUI or the URL call, same error:

FAIL - Failed to deploy application at context path /JSPTut2

Thank you,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Luís de Sousa <lu...@gmail.com>.
On Mon, May 3, 2010 at 3:43 PM, Caldarale, Charles R
<Ch...@unisys.com> wrote:
>
> Let's stop here and go back to the basics: can you access *anything* on this Tomcat?  A "server not found" message indicates that Tomcat may not be running, or there's something blocking the port.

Hi Chuck,

I can access Tomcat's welcome page and the manager GUI. It is up and running.

Thanks,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Failed to deploy application

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Luís de Sousa [mailto:luis.a.de.sousa@gmail.com]
> Subject: Re: Failed to deploy application
> 
> I initially tried to access the application without deploying and got
> the server not found message.

Let's stop here and go back to the basics: can you access *anything* on this Tomcat?  A "server not found" message indicates that Tomcat may not be running, or there's something blocking the port.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Luís de Sousa <lu...@gmail.com>.
Hi Konstantin,

I initially tried to access the application without deploying and got
the server not found message. I then tried deploying it with the GUI
and was also unsuccessful. I then dug out of some old notes the
command that had the tag and tried it, receiving the FAIL message. I
though this was the proper way to submit the subject to the list.

btw, I'm now trying this with a simple Hello World html file.

Thank you,

Luís

On Mon, May 3, 2010 at 3:25 PM, Konstantin Kolinko
>
> Do you try to automate something?
> Or you just do not know about GUI application,
>
> http://localhost:8080/manager/html
>
>
> Do you have autoDeploy turned off for your Host? Because if it is on
> (the default), then your "JSPTut" is already deployed automatically if
> it is in Tomcat's webapps folder.
>
> Best regards,
> Konstantin Kolinko
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/5/3 Luís de Sousa <lu...@gmail.com>:
> Hello,
>
> Trying with this command:
>
> http://localhost:8080/manager/deploy?path=/JSPTut&war=file:/var/lib/tomcat6/webapps/JSPTut
>
> The result is the same:
>
> FAIL - Failed to deploy application at context path /JSPTut
>

Do you try to automate something?
Or you just do not know about GUI application,

http://localhost:8080/manager/html


Do you have autoDeploy turned off for your Host? Because if it is on
(the default), then your "JSPTut" is already deployed automatically if
it is in Tomcat's webapps folder.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Luís de Sousa <lu...@gmail.com>.
Hello,

Trying with this command:

http://localhost:8080/manager/deploy?path=/JSPTut&war=file:/var/lib/tomcat6/webapps/JSPTut

The result is the same:

FAIL - Failed to deploy application at context path /JSPTut

Thank you,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Failed to deploy application

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/5/3 Luís de Sousa <lu...@gmail.com>:
>
> I'm trying to deploy an application that is located under the webapps
> directory. I'm using the http call:
>
> http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTut&tag=JSPTut
>
> And I'm getting this answer back:
>
> FAIL - Failed to deploy application at context path
> /var/lib/tomcat6/webapps/JSPTut
>

For reference, documentation is here:
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html

Looking at your command, you are trying to deploy a previous (tagged)
version of an application. Does that match your expectations?

http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Deploy%20A%20New%20Application%20from%20a%20Local%20Path

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org