You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard Pless <rf...@gmail.com> on 2010/11/19 14:28:48 UTC

Problems installing Tomcat on Windows 2008

 Hi All,

I'm having problems installing Tomcat 6.0.29 as a service on a Windows 2008
server.  Here are the relevant specs
    Apache Tomcat v6.0.29 (64 bit)
    JDK 6u22 (64 bit)
    Windows Server Standard 2008 (sp2)

I've tried to start the Tomcat as a service unsuccessfully.  I have run
Tomcat6 and service.bat from the command line.  Here's my output from
service.bat

    C:\c\tomcat\bin>service.bat install
    Installing the service 'Tomcat6' ...
    Using CATALINA_HOME:    "C:\c\tomcat"
    Using CATALINA_BASE:    "C:\c\tomcat"
    Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
    Using JVM:              "c:\Program
Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
    Failed installing 'Tomcat6' service
    C:\c\tomcat\bin>

Here is what I'm seeing in my Jakarta Service Log:
    [2010-11-18 11:42:20] [1381 prunsrv.c] [debug] Commons Daemon procrun
log initialized
    [2010-11-18 11:42:20] [info] Commons Daemon procrun (1.0.2.0) started
    [2010-11-18 11:42:20] [info] Running Service...
    [2010-11-18 11:42:20] [1165 prunsrv.c] [debug] Inside ServiceMain...
    [2010-11-18 11:42:20] [info] Starting service...
    [2010-11-18 11:42:20] [206  javajni.c] [error] The specified module
could not be found.
    [2010-11-18 11:42:20] [985  prunsrv.c] [error] Failed creating java
    [2010-11-18 11:42:20] [1280 prunsrv.c] [error] ServiceStart returned 1
    [2010-11-18 11:42:20] [info] Run service finished.
    [2010-11-18 11:42:20] [info] Commons Daemon procrun finished.

I have checked the environmental variables above and I believe that they are
correct.  I have also copied msrvc71.dll to my oc\tomcat\bin directory
(where Tomcat6.exe is located) per some other suggestions I've found online.

I can see the service from Windows Services but I can't start it from there
Nor can I start it using netstart from the command line or using
service.bat.  I'm new to Apache and Java.  Any help would be appreciated.

Thanks in advance,

Richard

RE: Problems installing Tomcat on Windows 2008

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Richard Pless [mailto:rfpless@gmail.com] 
> Subject: Re: Problems installing Tomcat on Windows 2008

> When I searched for the error in user groups, the only answer that
> I found was to copy msvrc71.dll to my c:/c/tomcat/bin directory.

That shouldn't be necessary, as long as the proper DLL is available to the Windows loader (usually from C:\Windows\System32).  Note that msvcr71.dll is 32-bit, not 64, so adding it to the bin directory won't help.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: Problems installing Tomcat on Windows 2008

Posted by Richard Pless <rf...@gmail.com>.
I un-installed the service and rebooted.  Then I reinstalled it as an
administrator from the command line, and started it via Tomcat6w.exe as an
administrator (without any modifications to the Java tab).  The service
started without issue.  Thanks everyone for your help!

Richard

On Fri, Nov 19, 2010 at 11:14 AM, Konstantin Kolinko <knst.kolinko@gmail.com
> wrote:

> 2010/11/19 Richard Pless <rf...@gmail.com>:
>  > I have removed one of the Tomcat directories and I'm down to just
> > c:\oc\tomcat.  I've also used "Java -version" to confirm that I am using
> the
> > 64 bit version of Java 1.6.0_22.  I've opened Tomcatw.exe and specified
> the
> > JVM as 'C:\Program Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll' rather
> > than the default but it still won't start.
> >
>
> c:\oc\tomcat\bin>service.bat install
> Installing the service 'Tomcat6' ...
> Using CATALINA_HOME:    "C:\oc\tomcat"
> Using CATALINA_BASE:    "C:\oc\tomcat"
> Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
> Using JVM:              "c:\Program
> Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
> Failed installing 'Tomcat6' service
>
> a) You certainly need to start cmd.exe console "As Administrator". (I
> see you did that).
> b) You cannot install the service twice with the same name. (The
> second and later attempts will fail with the same generic message as
> above). Try "service.bat remove" first. Verify that it is not listed
> as a service (in the Control Panel of Windows). (I had several times
> when uninstall did not complete until I rebooted).
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Richard

"L'audace, l'audace. Toujours l'audace!"

============================================================

Re: Windows Service Uninstall

Posted by Thomas <ap...@darkwhole.de>.
Hi Mark,

On 11/30/2010 08:41 PM, Mark Eggers wrote:
> Possibly Sysinternals?
> http://technet.microsoft.com/en-us/sysinternals/default.aspx
> See the Handle utility.

Thanks for the tip, I usually install Sysinternals but didn't use the
"find handle"-tool until now. Searching for the service name lists the
processes having a handle on the service. Thanks for the tip!

Regards,
Thomas

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


Re: Windows Service Uninstall (was: Re: Problems installing Tomcat on Windows 2008)

Posted by Mark Eggers <it...@yahoo.com>.
Possibly Sysinternals?

http://technet.microsoft.com/en-us/sysinternals/default.aspx

See the Handle utility.

Caveat - I'm not a Windows expert (or person).

/mde/


----- Original Message ----
From: Thomas <ap...@darkwhole.de>
To: users@tomcat.apache.org
Sent: Tue, November 30, 2010 9:27:13 AM
Subject: Windows Service Uninstall (was: Re: Problems installing Tomcat on 
Windows 2008)

Hallo Konstantin,

On 11/19/2010 06:14 PM, Konstantin Kolinko wrote:
> b) You cannot install the service twice with the same name. (The
> second and later attempts will fail with the same generic message as
> above). Try "service.bat remove" first. Verify that it is not listed
> as a service (in the Control Panel of Windows). (I had several times
> when uninstall did not complete until I rebooted).

I came across this problem on different Windows versions: Deinstalling
the service was successful, but the service is still listed under
"Control Panel -> Services". Additionally running the windows command
line tool sc [0], always gives a message like "service is marked for
deletion". One reason for this can be (as mentioned under [1]):

a) Service still running during uninstallation
b) Other processes with "open handles" to the service uninstallation, e.g.:
  - Service Wrapper Admin Windows (default: tomcat6w.exe) (often
    another User Session with the Service Wrapper Icon in System Tray)
  - Control Panel -> Services open

After closing all processes with an open handle the service gets deleted
immediately, so no reboot is necessary. I'm not aware of an easy method
to obtain a list of processes with an open handle. Maybe a windows
expert can shed a light on this.

[0] http://technet.microsoft.com/en-us/library/cc754599%28WS.10%29.aspx
[1] http://technet.microsoft.com/en-us/library/cc742045%28WS.10%29.aspx

Best regards,
Thomas


      

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


Windows Service Uninstall (was: Re: Problems installing Tomcat on Windows 2008)

Posted by Thomas <ap...@darkwhole.de>.
Hallo Konstantin,

On 11/19/2010 06:14 PM, Konstantin Kolinko wrote:
> b) You cannot install the service twice with the same name. (The
> second and later attempts will fail with the same generic message as
> above). Try "service.bat remove" first. Verify that it is not listed
> as a service (in the Control Panel of Windows). (I had several times
> when uninstall did not complete until I rebooted).

I came across this problem on different Windows versions: Deinstalling
the service was successful, but the service is still listed under
"Control Panel -> Services". Additionally running the windows command
line tool sc [0], always gives a message like "service is marked for
deletion". One reason for this can be (as mentioned under [1]):

a) Service still running during uninstallation
b) Other processes with "open handles" to the service uninstallation, e.g.:
  - Service Wrapper Admin Windows (default: tomcat6w.exe) (often
    another User Session with the Service Wrapper Icon in System Tray)
  - Control Panel -> Services open

After closing all processes with an open handle the service gets deleted
immediately, so no reboot is necessary. I'm not aware of an easy method
to obtain a list of processes with an open handle. Maybe a windows
expert can shed a light on this.

[0] http://technet.microsoft.com/en-us/library/cc754599%28WS.10%29.aspx
[1] http://technet.microsoft.com/en-us/library/cc742045%28WS.10%29.aspx

Best regards,
Thomas

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


Re: Problems installing Tomcat on Windows 2008

Posted by Konstantin Kolinko <kn...@gmail.com>.
2010/11/19 Richard Pless <rf...@gmail.com>:
> I have removed one of the Tomcat directories and I'm down to just
> c:\oc\tomcat.  I've also used "Java -version" to confirm that I am using the
> 64 bit version of Java 1.6.0_22.  I've opened Tomcatw.exe and specified the
> JVM as 'C:\Program Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll' rather
> than the default but it still won't start.
>

c:\oc\tomcat\bin>service.bat install
Installing the service 'Tomcat6' ...
Using CATALINA_HOME:    "C:\oc\tomcat"
Using CATALINA_BASE:    "C:\oc\tomcat"
Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
Using JVM:              "c:\Program
Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
Failed installing 'Tomcat6' service

a) You certainly need to start cmd.exe console "As Administrator". (I
see you did that).
b) You cannot install the service twice with the same name. (The
second and later attempts will fail with the same generic message as
above). Try "service.bat remove" first. Verify that it is not listed
as a service (in the Control Panel of Windows). (I had several times
when uninstall did not complete until I rebooted).

Best regards,
Konstantin Kolinko

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


Re: Problems installing Tomcat on Windows 2008

Posted by Richard Pless <rf...@gmail.com>.
I have removed one of the Tomcat directories and I'm down to just
c:\oc\tomcat.  I've also used "Java -version" to confirm that I am using the
64 bit version of Java 1.6.0_22.  I've opened Tomcatw.exe and specified the
JVM as 'C:\Program Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll' rather
than the default but it still won't start.

Richard

RE: Problems installing Tomcat on Windows 2008

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@ice-sa.com] 
> Subject: Re: Problems installing Tomcat on Windows 2008

> You also mention that the Java tab on tomcat6w.exe says "use 
> default".  Would that be the first one found in the PATH ?

No, it's the one in the registry, set by the most recent JVM install (JRE or JDK).

However, I would change that, and point the Java tab to an explicit, known instance.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: Problems installing Tomcat on Windows 2008

Posted by André Warnier <aw...@ice-sa.com>.
Richard Pless wrote:
> If I run startup.bat, Tomcat starts successfully.  I navigated to
> http://localhost:8080 and saw the Tomcat page.

Ok, that means at least that there is nothing wrong with your basic Tomcat, and that you 
have at least a working JVM.
It does not really tell us if it is running under a 32-bit or 64-bit JVM though.

Starting with startup.bat also does not use the tomcat6.exe wrapper, so it still does not 
tell us why that one fails.

As Chuck mentions, the type of error you are seeing is typical of trying to start a 64-bit 
JVM with a 32-bit tomcat6.exe, or vice-versa.
You also mention that the Java tab on tomcat6w.exe says "use default".  Would that be the 
first one found in the PATH ?
Do you have more than one JVM on the machine ?

If you just enter "java -version" in a command window, and then retry with the full path 
to the java.exe which you think Tomcat is using, do you get the same answer ?


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


Re: Problems installing Tomcat on Windows 2008

Posted by Richard Pless <rf...@gmail.com>.
If I run startup.bat, Tomcat starts successfully.  I navigated to
http://localhost:8080 and saw the Tomcat page.

Unfortunately I can't get the service to start using "Tomcat6.exe //IS//"
from the command line, Tomcat6w or Server Manager -> Services.

I'm using all of the defaults in Tomcat6w.  On the Java tab, 'Use Default'
is checked and everything else is blank.

I found the following error in my log:
"The Tomcat6 service terminated with service-specific error 0 (0x0)."
When I searched for the error in user groups, the only answer that I found
was to copy msvrc71.dll to my c:/c/tomcat/bin directory.  I've tried
that and it doesn't seem to help.

Richard

On Fri, Nov 19, 2010 at 8:09 AM, André Warnier <aw...@ice-sa.com> wrote:

>  Richard Pless wrote:
>
>>  Hi All,
>>
>> I'm having problems installing Tomcat 6.0.29 as a service on a Windows
>> 2008
>> server.  Here are the relevant specs
>>    Apache Tomcat v6.0.29 (64 bit)
>>    JDK 6u22 (64 bit)
>>    Windows Server Standard 2008 (sp2)
>>
>> I've tried to start the Tomcat as a service unsuccessfully.  I have run
>> Tomcat6 and service.bat from the command line.  Here's my output from
>> service.bat
>>
>>    C:\c\tomcat\bin>service.bat install
>>    Installing the service 'Tomcat6' ...
>>    Using CATALINA_HOME:    "C:\c\tomcat"
>>    Using CATALINA_BASE:    "C:\c\tomcat"
>>    Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
>>    Using JVM:              "c:\Program
>> Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
>>    Failed installing 'Tomcat6' service
>>    C:\c\tomcat\bin>
>>
>> Here is what I'm seeing in my Jakarta Service Log:
>>    [2010-11-18 11:42:20] [1381 prunsrv.c] [debug] Commons Daemon procrun
>> log initialized
>>    [2010-11-18 11:42:20] [info] Commons Daemon procrun (1.0.2.0) started
>>    [2010-11-18 11:42:20] [info] Running Service...
>>    [2010-11-18 11:42:20] [1165 prunsrv.c] [debug] Inside ServiceMain...
>>    [2010-11-18 11:42:20] [info] Starting service...
>>    [2010-11-18 11:42:20] [206  javajni.c] [error] The specified module
>> could not be found.
>>    [2010-11-18 11:42:20] [985  prunsrv.c] [error] Failed creating java
>>    [2010-11-18 11:42:20] [1280 prunsrv.c] [error] ServiceStart returned 1
>>    [2010-11-18 11:42:20] [info] Run service finished.
>>    [2010-11-18 11:42:20] [info] Commons Daemon procrun finished.
>>
>> I have checked the environmental variables above and I believe that they
>> are
>> correct.  I have also copied msrvc71.dll to my oc\tomcat\bin directory
>> (where Tomcat6.exe is located) per some other suggestions I've found
>> online.
>>
>> I can see the service from Windows Services but I can't start it from
>> there
>> Nor can I start it using netstart from the command line or using
>> service.bat.  I'm new to Apache and Java.  Any help would be appreciated.
>>
>>
> Can you run Tomcat from a command window ?
> Navigate to C:\c\tomcat\bin
> run "startup.bat" (it should open another window where tomcat messages will
> appear)
> (terminate with ctrl-c in the new window)
>
> You can also run the program "tomcat6w.exe" directly. It is a GUI program
> which allows to edit the Registry settings of the Tomcat Service.  Maybe you
> can spot there what is missing.
>
> For info, "tomcat6.exe" is actually the Commons Daemon "procrun" mentioned
> above in the log.  It is just renamed.  tomcat6.exe is a "wrapper program",
> which reads the Registry settings of the Tomcat service and starts the JVM
> accordingly (or tries to).
>
> It looks like it cannot start the java JVM for some reason.
> Maybe also the Windows Event log will give a clue ?
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Richard

"L'audace, l'audace. Toujours l'audace!"

============================================================

Re: Problems installing Tomcat on Windows 2008

Posted by André Warnier <aw...@ice-sa.com>.
Richard Pless wrote:
>  Hi All,
> 
> I'm having problems installing Tomcat 6.0.29 as a service on a Windows 2008
> server.  Here are the relevant specs
>     Apache Tomcat v6.0.29 (64 bit)
>     JDK 6u22 (64 bit)
>     Windows Server Standard 2008 (sp2)
> 
> I've tried to start the Tomcat as a service unsuccessfully.  I have run
> Tomcat6 and service.bat from the command line.  Here's my output from
> service.bat
> 
>     C:\c\tomcat\bin>service.bat install
>     Installing the service 'Tomcat6' ...
>     Using CATALINA_HOME:    "C:\c\tomcat"
>     Using CATALINA_BASE:    "C:\c\tomcat"
>     Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
>     Using JVM:              "c:\Program
> Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
>     Failed installing 'Tomcat6' service
>     C:\c\tomcat\bin>
> 
> Here is what I'm seeing in my Jakarta Service Log:
>     [2010-11-18 11:42:20] [1381 prunsrv.c] [debug] Commons Daemon procrun
> log initialized
>     [2010-11-18 11:42:20] [info] Commons Daemon procrun (1.0.2.0) started
>     [2010-11-18 11:42:20] [info] Running Service...
>     [2010-11-18 11:42:20] [1165 prunsrv.c] [debug] Inside ServiceMain...
>     [2010-11-18 11:42:20] [info] Starting service...
>     [2010-11-18 11:42:20] [206  javajni.c] [error] The specified module
> could not be found.
>     [2010-11-18 11:42:20] [985  prunsrv.c] [error] Failed creating java
>     [2010-11-18 11:42:20] [1280 prunsrv.c] [error] ServiceStart returned 1
>     [2010-11-18 11:42:20] [info] Run service finished.
>     [2010-11-18 11:42:20] [info] Commons Daemon procrun finished.
> 
> I have checked the environmental variables above and I believe that they are
> correct.  I have also copied msrvc71.dll to my oc\tomcat\bin directory
> (where Tomcat6.exe is located) per some other suggestions I've found online.
> 
> I can see the service from Windows Services but I can't start it from there
> Nor can I start it using netstart from the command line or using
> service.bat.  I'm new to Apache and Java.  Any help would be appreciated.
> 

Can you run Tomcat from a command window ?
Navigate to C:\c\tomcat\bin
run "startup.bat" (it should open another window where tomcat messages will appear)
(terminate with ctrl-c in the new window)

You can also run the program "tomcat6w.exe" directly. It is a GUI program which allows to 
edit the Registry settings of the Tomcat Service.  Maybe you can spot there what is missing.

For info, "tomcat6.exe" is actually the Commons Daemon "procrun" mentioned above in the 
log.  It is just renamed.  tomcat6.exe is a "wrapper program", which reads the Registry 
settings of the Tomcat service and starts the JVM accordingly (or tries to).

It looks like it cannot start the java JVM for some reason.
Maybe also the Windows Event log will give a clue ?





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


RE: Problems installing Tomcat on Windows 2008

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Richard Pless [mailto:rfpless@gmail.com] 
> Subject: Re: Problems installing Tomcat on Windows 2008

> I also ran command prompt as Administrator.  I entered 'service.bat install'
> and received the same failure message:

> c:\oc\tomcat\bin>service.bat install
> Installing the service 'Tomcat6' ...
> Using CATALINA_HOME:    "C:\oc\tomcat"
> Using CATALINA_BASE:    "C:\oc\tomcat"
> Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
> Using JVM:              "c:\Program
> Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
> Failed installing 'Tomcat6' service

The Tomcat directory given above is different from the one previously shown.  You probably need to remove the existing Tomcat6 service before trying to install the new one.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: Problems installing Tomcat on Windows 2008

Posted by Richard Pless <rf...@gmail.com>.
Hi Chuck,

I verfied that both Tomcat and Java were the 64 bit versions using the
method that you indicated.

I also ran command prompt as Administrator.  I entered 'service.bat install'
and received the same failure message:

c:\oc\tomcat\bin>service.bat install
Installing the service 'Tomcat6' ...
Using CATALINA_HOME:    "C:\oc\tomcat"
Using CATALINA_BASE:    "C:\oc\tomcat"
Using JAVA_HOME:        "c:\Program Files\Java\jdk1.6.0_22"
Using JVM:              "c:\Program
Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll"
Failed installing 'Tomcat6' service

Richard
On Fri, Nov 19, 2010 at 8:30 AM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Richard Pless [mailto:rfpless@gmail.com]
> > Subject: Problems installing Tomcat on Windows 2008
>
> The error you're getting is typical of a mismatch between tomcat6.exe and
> the JVM.
>
> > Apache Tomcat v6.0.29 (64 bit)
>
> Verify that you actually do have the 64-bit version of Tomcat installed.
>  The 64-bit tomcat6.exe is 78,336 bytes, the 32-bit one is 61,440 bytes.
>
> > JDK 6u22 (64 bit)
>
> Verify that the JVM you're referencing is 64-bit by doing:
>
> "c:\Program Files\Java\jdk1.6.0_22\bin\java" -version
>
> Verify that tomcat6w.exe shows the above JVM as the one being used by the
> service.
>
> > I have run Tomcat6 and service.bat from the command line.
>
> The service.bat script must be run as administrator - not just by a user
> with an account in the administrators group.  (Thank you, Windows
> "security".)
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Richard

"L'audace, l'audace. Toujours l'audace!"

============================================================

RE: Problems installing Tomcat on Windows 2008

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Richard Pless [mailto:rfpless@gmail.com] 
> Subject: Problems installing Tomcat on Windows 2008

The error you're getting is typical of a mismatch between tomcat6.exe and the JVM.

> Apache Tomcat v6.0.29 (64 bit)

Verify that you actually do have the 64-bit version of Tomcat installed.  The 64-bit tomcat6.exe is 78,336 bytes, the 32-bit one is 61,440 bytes.

> JDK 6u22 (64 bit)

Verify that the JVM you're referencing is 64-bit by doing:

"c:\Program Files\Java\jdk1.6.0_22\bin\java" -version

Verify that tomcat6w.exe shows the above JVM as the one being used by the service.

> I have run Tomcat6 and service.bat from the command line.

The service.bat script must be run as administrator - not just by a user with an account in the administrators group.  (Thank you, Windows "security".)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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