Apache Tomcat service does not start

Created:

2016-11-16 12:50:18 UTC

Modified:

2017-08-16 19:06:02 UTC

32

Was this article helpful?


Have more questions?

Submit a request

Apache Tomcat service does not start

Applicable to:

  • Plesk 12.0 for Windows

Symptoms

  1. Plesk shows the following error when trying to start Apache Tomcat service:

    Error: Could not complete the operation: defpackagemng failed: Incorrect function. (Error code 1) at Start service tomcat7
  2. Event Viewer contains the following record:

    The Apache Tomcat 7.0 Tomcat7 service terminated with service-specific error Incorrect function..
  3. Apache Tomcat log file at C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0\\logs\\commons-daemon.2015-12-12.log contains the following record:

    [info]  [11960] Starting service...
    [error] [11960] Failed creating java C:\\Program Files\\Java\\jre7\\bin\\server\\jvm.dll
    [error] [11960] The system cannot find the path specified.
  4. Java 8 is installed besides Java 7

Cause

The folder C:\\Program Files\\Java\\jre7\\bin\\ has been removed during the installation of Java 8.

Resolution

  1. Uninstall Java 8

  2. Reboot the server

  3. Install Java 7

Have more questions? Submit a request

1 Comments

  • 1
    Avatar
    Rodrigo Peplau

    I actually solved my env. with same issue by adjusting the Java bin path at the Configure Tomcat tool, tab Java, Field "Java Virtual Machine" - All you have to do is make it point to your new Java 8 path

    Edited by Rodrigo Peplau
Please sign in to leave a comment.