bill-stewart / apachetomcatsetup Goto Github PK
View Code? Open in Web Editor NEWBill Stewart's Apache Tomcat Setup for Windows
License: Apache License 2.0
Bill Stewart's Apache Tomcat Setup for Windows
License: Apache License 2.0
Leaving the "configure service" checkbox selected at the end of setup can generate the following error message:
Unable to execute file: C:\Program Files\Apache Tomcat\bin\tomcatw.exe
CreateProcess failed; code 740.
The requested operation requires elevation.
This error doesn't appear if you start the setup program from a process that's already elevated (e.g., an elevated command console).
The fix is to include the runascurrentuser
flag for the [Run]
entry in setup to run the service configuration tool elevated. (The default setting in the [Run]
section for postinstall
run entries is runasoriginaluser
, which attempts to start the executable using the unelevated credentials.)
This fix will be in the next version.
This error occurs because the JVM path is unspecified.
Workaround: Specify /jvmpath="path to jvm.dll file" on the installer's command line. Example:
.\apache-tomcat-9.0.41-setup.exe /jvmpath="C:\Program Files\AdoptOpenJDK\JRE11\bin\server\jvm.dll"
By the installation with a differnd service name as tomcat you cannot start the Apache service.
Now i install with the following parameters.
/instance="123" /instancename="tomcat-123" /servicename="tomcat-123" /servicedisplayname="Apache Tomcat 9.0 tomcat-123" /dir="L:\ProgramFiles\Tomcat-9.0\tomcat-123" /type=default /tasks="installservice/setautostart,installservice,installservice/setpermissions,installservice/startmonitoratlogon"
I get the service with the name tomcat-123 and the same displayname = fine
When i will start the service i get the error "cannot start the service" and the error number 1068.
In the directory L:\ProgramFiles\Tomcat-9.0\tomcat-123 i must rename the files
tomcat.exe -> tomcat-123.exe
tomcatw.exe -> tomcat-123w.exe
Thanks and best regards
Sven
In this part of your code on https://github.com/Bill-Stewart/ApacheTomcatSetup/blob/master/Messages-en.isl
ErrorJVMOldGUIMessage=The selected jvm.dll file is version %1, but {#AppName} requires at least Java %2.%n%nYou must select a jvm.dll file that meets the minimum version requirement.
I'm getting this message about "minimum version requirement" but I'm using the right version of Java ( ver. 8 ).
From this installer: OpenJDK8U-jdk_x64_windows_hotspot_8u362b09.msi
I noticed that where should show me version of java installed '%1', instead is returning an empty value for some reason. Could you help me?
Thank you in advance and great work on this installer and doc. It will help me a ton!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.