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
Event Viewer contains the following record:
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:
[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
C:\\Program Files\\Java\\jre7\\bin\\ has been removed during the installation of Java 8.