Tomcat7 fails deploy application

run this in your command prompt "service.bat install" pointing to bin and this will install the tomcat7 service.

Now if you run tomcat7.exe, server should be starting fine without errors.


First on env.: name: JAVA_HOME and valuer: C:\Program Files\java\jdk-15.0.1

After that:

C:\WINDOWS\system32>cd C:\ApacheTomcat\apache-tomcat-10.0.8\bin

C:\ApacheTomcat\apache-tomcat-10.0.8\bin>service.bat install
Installing the service 'Tomcat10' ...
Using CATALINA_HOME:    "C:\ApacheTomcat\apache-tomcat-10.0.8"
Using CATALINA_BASE:    "C:\ApacheTomcat\apache-tomcat-10.0.8"
Using JAVA_HOME:        "C:\Program Files\java\jdk-15.0.1"
Using JRE_HOME:         "C:\Program Files\java\jdk-15.0.1"
Using JVM:              "C:\Program Files\java\jdk-15.0.1\bin\server\jvm.dll"
The service 'Tomcat10' has been installed.

And finally:

 Directorio de C:\ApacheTomcat\apache-tomcat-10.0.8\bin

[.]                  [..]                 bootstrap.jar        catalina-tasks.xml   catalina.bat
catalina.sh          ciphers.bat          ciphers.sh           commons-daemon.jar   configtest.bat
configtest.sh        daemon.sh            digest.bat           digest.sh            makebase.bat
makebase.sh          migrate.bat          migrate.sh           service.bat          setclasspath.bat
setclasspath.sh      shutdown.bat         shutdown.sh          startup.bat          startup.sh
tcnative-1.dll       tomcat-juli.jar      tomcat10.exe         tomcat10w.exe        tool-wrapper.bat
tool-wrapper.sh      version.bat          version.sh
              31 archivos      3,078,000 bytes
               2 dirs  54,736,601,088 bytes libres

C:\ApacheTomcat\apache-tomcat-10.0.8\bin>tomacat10.exe