- Plesk 12.0 for Windows
Plesk shows the following error when trying to start Apache Tomcat service:
CONFIG_TEXT: Error: Could not complete the operation: defpackagemng failed: Incorrect function. (Error code 1) at Start service tomcat7
Event Viewer contains the following record:
CONFIG_TEXT: The Apache Tomcat 7.0 Tomcat7 service terminated with service-specific error Incorrect function..
Apache Tomcat log file at
C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0\\logs\\commons-daemon.2015-12-12.logcontains the following record:
CONFIG_TEXT: [info]  Starting service...
[error]  Failed creating java C:\\Program Files\\Java\\jre7\\bin\\server\\jvm.dll
[error]  The system cannot find the path specified.
Java 8 is installed besides Java 7
has been removed during the installation of Java 8.
Reboot the server.
- Install Java 7 using Plesk Installer.
As an alternative, use Tomcat monitor application
tomcat8w.exe that is should be located in C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin to adjust path to Java binaries, on Java tab via Java Virtual Machine: