Hmm, ok. So tomcat9.exe and Java.exe are both 64-bit.

I was able to install Java 11 and Tomcat 9 on Windows10. No problems.
Then I tried another Windows2008 R2 server. Same problems as on the other
Windows2008 server.
It seems to me that it has something to do with this OS. But Chris wrote
that he was able to get it to run there.

Since it works when I start Tomcat by startup.bat, it must be something
with the service, right?

It also tried to change the START-MODE to Java.
Then Tomcat service started! But it could not be stopped anymore. Only by
killing Java.exe.

Andi


Am Mi., 12. Dez. 2018 um 14:51 Uhr schrieb Mark Thomas <ma...@apache.org>:

> On 12/12/2018 13:48, Andi Meister wrote:
> > Hi Chris,
> >
> > I think this is the right direction!
> > I found out that tomcat9w (the windows GUI) is running as 32-bit process.
> > When I start Tomcat service from there, I can see the tomcat9.exe for a
> > second in task manager (but without *32 - so it should be 64-bit?)
>
> No. tomcat9w.exe is always a 32-bit process. It is tomcat9.exe that
> needs to match the JVM.
>
> Mark
>
> >
> > When I start Tomcat by using startup.bat it works!
> >
> > Andi
> >
> >
> > Am Mi., 28. Nov. 2018 um 19:20 Uhr schrieb Christopher Schultz <
> > ch...@christopherschultz.net>:
> >
> > Andi,
> >
> > On 11/27/18 05:08, Andi Meister wrote:
> >>>> What I did now: - removed Tomcat services by service.bat -
> >>>> uninstalled all Tomcats (7 and 9) - uninstalled all Java (was only
> >>>> Version 11) - server reboot - Installed Java 11 (File:
> >>>> jdk-11.0.1_windows-x64_bin.exe) - reboot - Installed Tomcat 9
> >>>> (File: apache-tomcat-9.0.13.exe)
> >
> > 32-bit or 64-bit?
> >
> > If you try to launch a 64-bit JVM from a 32-bit service-running, I'm
> > fairly sure you'll get this type of error message.
> >
> > The installer should be detecting all of that, but at this point you
> > are grasping at straws, anyway.
> >
> > -chris
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to