You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Christoph P.U. Kukulies" <ku...@kukulies.org> on 2014/02/07 10:01:17 UTC

Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

I downloaded tomcat 6.0.39 (64) from tomcat.apache.org, put it into
c:\program files\Apache_Group\Tomcat_6.0.39 and ran the service.bat 
which established the service.

As system environment variables I have set:

CATALINA_HOME=c:\Program Files\Apache_Group\Tomcat_6.0.3
JAVA_HOME=c:\Program Files\java\jdk1.7.0_51
JRE_HOME=c:\program files\java\jre7

The service does not start at boot and starting it manually gives a 
return code 1.
The event log only shows:
Der Dienst "Apache Tomcat 6" wurde mit folgendem dienstspezifischem 
Fehler beendet: Unzulässige Funktion..

starting tomcat6 manually (interactivelym using startup.bat) seems to work:

C:\Program Files\Apache_Group\Tomcat_6.0.39\bin>startup
Using CATALINA_BASE:   "c:\Program Files\Apache_Group\Tomcat_6.0.39"
Using CATALINA_HOME:   "c:\Program Files\Apache_Group\Tomcat_6.0.39"
Using CATALINA_TMPDIR: "c:\Program Files\Apache_Group\Tomcat_6.0.39\temp"
Using JRE_HOME:        "c:\program files\java\jre7"
Using CLASSPATH:       "c:\Program 
Files\Apache_Group\Tomcat_6.0.39\bin\bootstra
p.jar"
C:\Program Files\Apache_Group\Tomcat_6.0.39\bin>


Any clues?


--
Christoph Kukulies


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


Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Posted by "Christoph P.U. Kukulies" <ku...@kukulies.org>.
Thanks for the quick answer. You were faster than I. I had already 
answered myself, but the post bounced since I'm not allowed to post 
HTML. :) I will examine the thread you posted also. Anyway here is my 
finding:

Solved!

Minutes after I posted this, I gave the GUI Windows Installer (32/64) 
<32-bit/64-bit%20Windows%20Service%20Installer> a try and, lo and 
behold, it worked!

Thanks for listening.

--
Christoph Kukulies

  Am 07.02.2014 10:16, schrieb André Warnier:
> Christoph P.U. Kukulies wrote:
>> I downloaded tomcat 6.0.39 (64) from tomcat.apache.org, put it into
>> c:\program files\Apache_Group\Tomcat_6.0.39 and ran the service.bat 
>> which established the service.
>>
>> As system environment variables I have set:
>>
>> CATALINA_HOME=c:\Program Files\Apache_Group\Tomcat_6.0.3
>> JAVA_HOME=c:\Program Files\java\jdk1.7.0_51
>> JRE_HOME=c:\program files\java\jre7
>>
>> The service does not start at boot and starting it manually gives a 
>> return code 1.
>> The event log only shows:
>> Der Dienst "Apache Tomcat 6" wurde mit folgendem dienstspezifischem 
>> Fehler beendet: Unzulässige Funktion..
>>
>> starting tomcat6 manually (interactivelym using startup.bat) seems to 
>> work:
>>
>> C:\Program Files\Apache_Group\Tomcat_6.0.39\bin>startup
>> Using CATALINA_BASE:   "c:\Program Files\Apache_Group\Tomcat_6.0.39"
>> Using CATALINA_HOME:   "c:\Program Files\Apache_Group\Tomcat_6.0.39"
>> Using CATALINA_TMPDIR: "c:\Program 
>> Files\Apache_Group\Tomcat_6.0.39\temp"
>> Using JRE_HOME:        "c:\program files\java\jre7"
>> Using CLASSPATH:       "c:\Program 
>> Files\Apache_Group\Tomcat_6.0.39\bin\bootstra
>> p.jar"
>> C:\Program Files\Apache_Group\Tomcat_6.0.39\bin>
>>
>>
>> Any clues?
>>
>
> Hi.
> This issue seems to be identical to the very recent thread on this 
> list entitled "unable to start Tomcat through the Windows Services 
> panel".
> To avoid long repetitions, could you consult the list archives and see 
> if it provides the solution for you too ?
> (See : http://tomcat.apache.org/lists.html)
>
> In the meantime, just one thing :
> - running Tomcat in a command window uses the BAT files and 
> environment variables
> - running Tomcat as a Service does not use these at all.
> For more details, see : http://wiki.apache.org/tomcat/FAQ/Windows#Q11
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Posted by André Warnier <aw...@ice-sa.com>.
Christoph P.U. Kukulies wrote:
> I downloaded tomcat 6.0.39 (64) from tomcat.apache.org, put it into
> c:\program files\Apache_Group\Tomcat_6.0.39 and ran the service.bat 
> which established the service.
> 
> As system environment variables I have set:
> 
> CATALINA_HOME=c:\Program Files\Apache_Group\Tomcat_6.0.3
> JAVA_HOME=c:\Program Files\java\jdk1.7.0_51
> JRE_HOME=c:\program files\java\jre7
> 
> The service does not start at boot and starting it manually gives a 
> return code 1.
> The event log only shows:
> Der Dienst "Apache Tomcat 6" wurde mit folgendem dienstspezifischem 
> Fehler beendet: Unzulässige Funktion..
> 
> starting tomcat6 manually (interactivelym using startup.bat) seems to work:
> 
> C:\Program Files\Apache_Group\Tomcat_6.0.39\bin>startup
> Using CATALINA_BASE:   "c:\Program Files\Apache_Group\Tomcat_6.0.39"
> Using CATALINA_HOME:   "c:\Program Files\Apache_Group\Tomcat_6.0.39"
> Using CATALINA_TMPDIR: "c:\Program Files\Apache_Group\Tomcat_6.0.39\temp"
> Using JRE_HOME:        "c:\program files\java\jre7"
> Using CLASSPATH:       "c:\Program 
> Files\Apache_Group\Tomcat_6.0.39\bin\bootstra
> p.jar"
> C:\Program Files\Apache_Group\Tomcat_6.0.39\bin>
> 
> 
> Any clues?
> 

Hi.
This issue seems to be identical to the very recent thread on this list entitled "unable 
to start Tomcat through the Windows Services panel".
To avoid long repetitions, could you consult the list archives and see if it provides the 
solution for you too ?
(See : http://tomcat.apache.org/lists.html)

In the meantime, just one thing :
- running Tomcat in a command window uses the BAT files and environment variables
- running Tomcat as a Service does not use these at all.
For more details, see : http://wiki.apache.org/tomcat/FAQ/Windows#Q11

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


Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Posted by Neven Cvetkovic <ne...@gmail.com>.
On Fri, Feb 7, 2014 at 11:59 PM, Jain, Shailesh <sh...@suncor.com> wrote:

> Hello  Chris,
>
> Iam  getting very high memory utilization issue in tomcat 7 , which is
> installed on Windows (Vmware)
>
> Let me know if oyu want logs , and let me know the ftp link where I can
> upload the logs.
>
> Regards,
> Shailesh Jain
> Suncor MW
>
>
Shailesh,

Did you not read Chuck's message to you? He has already suggested what you
should do:

1. Read the http://www.catb.org/~esr/faqs/smart-questions.html

2. Read the mailing list rules:
http://tomcat.apache.org/lists.html#tomcat-users (things under IMPORTANT
section)

3. See how that applies to your case:

a. Do not top post, but rather put your reply text under the text you are
responding to
b. Specify what tomcat version you are using, e.g. 7.0.51
c. Specify what platform you are using (ok you mentioned Windows on VMWare)
d. Specify any other relevant information, what JDK you use
e. Clearly describe your problem, what are the symptoms you observed, how
did you observe them, how would someone replicate your problem? More
specific you are, more likely is that someone on the list will volunteer to
help you troubleshoot your issue.

4. Understand that this mailing list is a community of generous volunteers
that are selflessly sharing their time and experience with you. While it
might be that the primary goal is to resolve your issue, it is more
important that community benefits from your experience and problem solving!
You are probably not the only one with the same issue, and others would
greatly benefit from your sharing how you solved your issue.

5. Be patient. If you cannot wait, there is always an option to seek Tomcat
professional services company, pay for the support, and submit your ticket
to them: http://wiki.apache.org/tomcat/SupportAndTraining

Good luck!

RE: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Posted by "Jain, Shailesh" <sh...@suncor.com>.
Hello  Chris,

Iam  getting very high memory utilization issue in tomcat 7 , which is installed on Windows (Vmware)

Let me know if oyu want logs , and let me know the ftp link where I can upload the logs.

Regards,
Shailesh Jain
Suncor MW

-----Original Message-----
From: cjderham@gmail.com [mailto:cjderham@gmail.com] On Behalf Of chris derham
Sent: Saturday, February 08, 2014 5:02 AM
To: Tomcat Users List
Subject: Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Christopher

> On 2/7/14, 4:01 AM, Christoph P.U. Kukulies wrote:
>> I downloaded tomcat 6.0.39 (64) from tomcat.apache.org, put it into
>> c:\program files\Apache_Group\Tomcat_6.0.39 and ran the service.bat
>> which established the service.
>>
>> As system environment variables I have set:
>>
>> CATALINA_HOME=c:\Program Files\Apache_Group\Tomcat_6.0.3
>> JAVA_HOME=c:\Program Files\java\jdk1.7.0_51 JRE_HOME=c:\program
>> files\java\jre7
>
> Note that, when using the Windows Service, the above environment
> variables are completely irrelevant.

For the benefit of the mailing archive, when "using the windows service" the variables are not relevant. However when I read Christoph's post, I think that it is more along the lines of "I set these variables when I ran service.bat", in which case the values at that time are critical. True they don't have to be system environment variables - plain environment variables in the console will do.
However it is wrong to say environment variables are completely irrelevant.

Chris

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


------------------------------------------------------------------------
This email and its contents are private and confidential, for the sole use of the addressees. If you are not an intended recipient, copying, forwarding or other distribution of this email or its contents by any means is prohibited. If you believe that you received this email in error please notify the original sender immediately.

Petro-Canada is a Suncor Energy business.

------------------------

Ce courriel et son contenu sont privés et confidentiels, et sont destinés à l’usage exclusif des destinataires. Si vous n'êtes pas le destinataire prévu, toute reproduction, transfert ou autre forme de diffusion de ce courriel ou de son contenu par quelque moyen que ce soit est interdit. Si vous croyez avoir reçu ce courriel par erreur, veuillez en aviser l'expéditeur original immédiatement.

Petro-Canada est une entreprise de Suncor Énergie.

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


Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Posted by chris derham <ch...@derham.me.uk>.
Christopher

> On 2/7/14, 4:01 AM, Christoph P.U. Kukulies wrote:
>> I downloaded tomcat 6.0.39 (64) from tomcat.apache.org, put it
>> into c:\program files\Apache_Group\Tomcat_6.0.39 and ran the
>> service.bat which established the service.
>>
>> As system environment variables I have set:
>>
>> CATALINA_HOME=c:\Program Files\Apache_Group\Tomcat_6.0.3
>> JAVA_HOME=c:\Program Files\java\jdk1.7.0_51 JRE_HOME=c:\program
>> files\java\jre7
>
> Note that, when using the Windows Service, the above environment
> variables are completely irrelevant.

For the benefit of the mailing archive, when "using the windows
service" the variables are not relevant. However when I read
Christoph's post, I think that it is more along the lines of "I set
these variables when I ran service.bat", in which case the values at
that time are critical. True they don't have to be system environment
variables - plain environment variables in the console will do.
However it is wrong to say environment variables are completely
irrelevant.

Chris

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


Re: Problem starting Tomcat 6.0.39 (64) service under Windows 7/64

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Christoph,

On 2/7/14, 4:01 AM, Christoph P.U. Kukulies wrote:
> I downloaded tomcat 6.0.39 (64) from tomcat.apache.org, put it
> into c:\program files\Apache_Group\Tomcat_6.0.39 and ran the
> service.bat which established the service.
> 
> As system environment variables I have set:
> 
> CATALINA_HOME=c:\Program Files\Apache_Group\Tomcat_6.0.3 
> JAVA_HOME=c:\Program Files\java\jdk1.7.0_51 JRE_HOME=c:\program
> files\java\jre7

Note that, when using the Windows Service, the above environment
variables are completely irrelevant.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS9TzsAAoJEBzwKT+lPKRYj5AQAKu35feq5MtnjhlsUClo0Qhk
axY7S+W9IRxB73QifQybU6I+8L2CJpLbIlE0y+xXInkPZM/I0S7xTaIi+S+AyxQw
jwpE4aiTZK/Bu5ECynIiFYTmabANnGZWCyJeYSuVUnAFhNg2oK3cLbBt6b+b1hyt
iDeKBOSiKIxMkVJiIvHZfnMr/sEhetW2KBab7WH+BPPuTRSkpyxiSAy/CHd9TaoP
/NRIZIaHLX4HlpTrjGO3SJ5NkYVNx7fiJlq26ZAJuhOkx7VLudG+aDtowTc02Sqx
fNtUaPMUXphd0V+zVUNMLofsqHtq+43fEQ3OEhVS3SGirixIeMHTMNj2y4jVg0V1
lSZcEr298eehEdnTCT8Yf3cRRLya8oCsP7FlpW3LbguH/logJo1+aUWOnVadY2hf
XDNJ7uugB/sa7rSAANQySZpCNm2GTv1PxEZ9R9J2HOlXGdzeDh8wz4fxF13peDi/
3W3oBkQ2ZYxTPrS7zmGfwNzj2ZUaMBvu68sY3k9+xLQgDUQqTmsH3gx0EGdBELbf
duOxjHgJWUBsx0ZEa/Q+MhPEeQ5ozFANhUeVorF30P63L3aSOJDBlYwQ/zCOMAzW
8aAaP8lyMH3uM/7k0d6Qt5wFlXwzLMxFIzghiQlXu734enB10e6+LCWYja9y+rgB
7DH1LePymVtJZr+KfzgA
=+x1c
-----END PGP SIGNATURE-----

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