tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From she...@techflow.com
Subject Re: Installation problems on Windows
Date Tue, 01 Mar 2005 19:58:22 GMT


This is my own remote-office laptop, so I have the God-bit set
(Administrators group), and have installed 50 or 60 programs / services
over the last 12 months, including 20 or so after the SP2 upgrade. So it
would seem Tomcat is trying to do something during installation that most
other programs -- Open Source or not -- don't typically try or need to do.

Do we know who put the installer together? Perhaps they would have some
additional insight into what step the installer is trying to do when it
hangs, and by extension what the tomcat5 executable tries to do in
service.bat when it fails.

Steve



-----Jason Bainbridge <jbainbridge@gmail.com> wrote: -----


To: Tomcat Users List <tomcat-user@jakarta.apache.org>
From: Jason Bainbridge <jbainbridge@gmail.com>
Date: 2005-03-01 02:40PM
Subject: Re: Installation problems on Windows

On Tue, 1 Mar 2005 11:05:08 -0800, shenty@techflow.com
wrote:
>
>
> Regarding running Tomcat from the startup.bat and shutdown.bat...
>
> This *does* work, but only if JAVA_HOME is pointing to the parent
directory
> of a JDK, not the parent to a JRE (this seems to contradict both the
binary
> installer, and the Tomcat 5.x docs which state Tomcat no longer needs a
> JDK, just a JRE?)

Where does it say that exactly? It certainly isn't recommended to do
so even though I'm forced to in my company's supported environment,
it's always best to use the server JVM available in the JDK, which
isn't available in the JRE unless they changed it in 1.5.

However as you found out by default it won't run without some
modifications as the .bat files are written expecting a JDK so if the
documentation says it will run fine just with a JRE then unfortunately
the docs are wrong.

> However, even with this correction to JAVA_HOME, the service.bat still
> fails in the same way -- "Failed installing 'Tomcat5' service"

As another poster asked, do you have permission to install services on
your XP machine?

It doesn't sound like Tomcat is at fault here but mor something
related to your permissions or something else preventing an install,
is it the error inserting those quotes around the service name? If not
then you shouldn't be using the quotes and that could well be causing
the problem but I don't think that's it.

Regards,
--

Jason Bainbridge
http://kde.org- webmaster@kde.org
Personal Site - http://jasonbainbridge.com

---------------------------------------------------------------------
 To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message