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