Accessing website by domain alias shows a Plesk Default page: Tomcatmng utility failed with code 1

Created:

2016-12-12 03:42:45 UTC

Modified:

2017-08-08 13:25:49 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Accessing website by domain alias shows a Plesk Default page: Tomcatmng utility failed with code 1

Applicable to:

  • Plesk Onyx for Windows

Symptoms

  • Unable to access a website by domain alias, it shows Plesk Default page.

  • When trying to disable the domain alias or create a new one the following can be found in %plesk_dir%\\admin\\logs\\php_error.log :

    ERR [1] PleskUtilException: "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\tomcatmng" --add-alias "--vhost-name=example.com" "--alias=newalias.example.com" --restart failed with code 1.

    stdout:
    Incorrect function. (Error code 1) at Start service Tomcat5
    at (service::startStopService line 994)
    at addAlias(example.com, newalias.example.com)(TomcatManager::addAlias line 492)
    at execute console command --add-alias(vconsoleapp::start line 122)
    at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\tomcatmng.exe" --add-alias "--vhost-name=example.com" "--alias=newalias.example.com" --restart(vconsoleapp::run line 139)

Cause

Tomcat is not installed on the server, but the record about old Tomcat exists. This can be caused by failed upgrade procedure.

Resolution

  • Disable Tomcat in Tools & Settings > Server Component > Tomcat

  • Install a proper version of Tomcat (For Onyx it is Tomcat 7) if needed.

Have more questions? Submit a request
Please sign in to leave a comment.