Product:
Search Type:

I get the following error on the Tomcat management page in Plesk CP:"Unable to create WebAppsList object: Unable to query Tomcat manager: Unable to query Tomcat Manager: Connect failed; Operation now in progress".

Article ID: 829 
Last Review: Jan,24 2008
APPLIES TO:
  • Plesk for Linux/Unix

SYMPTOMS

The full error message:

Unable to create WebAppsList object: Unable to query Tomcat manager: Unable to query Tomcat Manager: Connect failed; Operation now in progress
--------------------------------------------------------------------------------
0: /usr/local/psa/admin/htdocs/domains/web_apps.php:2 psaerror(string "Unable to create WebAppsList object: Unable to query Tomcat manager: Unable to query Tomcat Manager: Connect failed; Operation now in progress")


CAUSE

The error means that Plesk was not able to establish a connection to Tomcat manger for some reasons.

RESOLUTION

1. Make sure that the tomcat service is running:

# ps -ax | grep java

If it does not run, try to restart it or follow Tomcat service cannot be started article.

2. Make sure that the domain you try to manage tomcat application for is resolved to local server IP as from outside as from inside the server itself.

3. Make sure that IPv6 record for localhost is listed after IPv4 one in /etc/hosts, it should be like:

127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost


Or you can just comment it out:

# ::1 localhost.localdomain localhost

4. Make sure that the following ports are not blocked by firewall at least for localhost:
8080
8009
8005
9080
9008

Keywords: cannot upload war deploy

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields