Article ID: 829, created on Oct 6, 2008, last review on May 8, 2014

  • Applies to:
  • Plesk 8.x 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

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF