tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David kerber <dcker...@verizon.net>
Subject Re: Windows Service won't start
Date Thu, 13 Nov 2014 16:16:42 GMT
On 11/13/2014 11:05 AM, David kerber wrote:
> On 11/13/2014 10:51 AM, Christopher Schultz wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> All,
>>
>> On 11/10/14 1:04 PM, Christopher Schultz wrote:
>>> All,
>>>
>>> When a Tomcat Windows Service won't start (with the super-helpful
>>> "a service-specific error occurred"), where can I look for
>>> detailed information about what happened?
>>>
>>> (Please be kind, I'm not an everyday Windows administrator)
>>>
>>> I installed the service myself using a process almost exactly like
>>> this:
>>>
>>> C:\> SET CATALINA_HOME=[path to Tomcat] C:\> SET
>>> CATALINA_BASE=[path to my catalina.base] C:\> SET JAVA_HOME=[path
>>> to Java] C:\> %CATALINA_HOME%\bin\service.bat install myproject
>>>
>>> I can see the Windows Service called "Apache Tomcat 7.0 myproject"
>>> in the Services management console. Clicking "start" results in a
>>> short wait and then the error about how the service itself had a
>>> problem with no details.
>>>
>>>  From the CLI, running "net start myproject" yields a similar
>>> error.
>>>
>>> Any suggestions?
>>
>> So it looks like there is an architecture mismatch:
>> tomcat7.exe/procrun is 64-bit and the JVM is 32-bit. We are replacing
>> the JVM with a 64-bit one but I'm curious how to make Tomcat work on a
>> 32-bit JVM on 64-bit Windows. I tried some Google searching and it was
>> mostly people re-configuring the JAVA_HOME to point to a 64-bit JVM
>> and not actually getting this to work.
>
> IME you can install 32-bit TC on 64-bit windows as long as you have a
> 32-bit JVM installed.  But you may have to manually select the 32-bit
> JVM rather than letting the installer use its defaults.  It's been a
> year or so since I've done it, so I'm not 100% sure of the process.
>
>
>>
>> We installed from the ZIP package. Does the ZIP package always have
>> 64-bit tomcat7.exe/procrun packaged with it? Any chance to get 32-bit
>> binaries included as well?
>
> I do know that I use the windows installer package, rather than the .zip
> package for TC.

Sent too soon...

And then I unpack the zip package on top of the windows-installed 
directory, to get all the scripts and utilities that are not in the 
installer package


>
>
>>
>> Thanks,
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>> Comment: GPGTools - http://gpgtools.org
>>
>> iQIcBAEBCAAGBQJUZNOMAAoJEBzwKT+lPKRYIPYQALKUMCiK6Qcohr4NpiO4bOMj
>> 1mI6YUopN0r9P81w2D/s8oPvKsmNlSXVo1t0n0Aklx4mpvTsOeq2CqK+ntTv85K7
>> AZ4qWPoyHjLdyGHVkAcL2xHr8RbtT9BAxzHJEgynYRz6uJIh2YCt3DTta84e2oFp
>> yd2gjOVfYZLNE4F8ig8FUMggeY8lmUmglA/y7Hq7ym65USmutlfixak7bcdc5yc0
>> m2dTuIGTlwKW/DxjDvRUUV4GCTiVZp+ljDyI5Js9Ul86X0gbs5EnSU29oNk6t2uH
>> WKX/G/ctxpgXcCbrspbq5YZ5RqnQPI6cYnqZM9Xn7TzraRqF7cb/Kb5LPAOtEGgA
>> hg7IxJ8lqYMltDzCpjO2x6MwB1WVxwFrUynLoUF1jhYakAeaKalInvuwxzcWOC7U
>> e8RTt1S896DspwR5cYjNg5czptt2Na3m4bElfAB341ycqI/dsi7uNIlFNCpam2/F
>> MvU4AQrKPHsNUfW0RX9yxQp8oGgqiyw0eVv0zTqdG/Yny0w0Y6KEWt8lKPgRyFV+
>> mq6Mkwb0t/meJM/rl11BsGHIgpfcuswyRoQYCLGfzjg4f6z/SdEdvZxD5cWblrji
>> HmDWk+DuHhTAktqo+WnaAcKttNQBxBEW3F42u0TsjkDGIvl3h8rT2wsNfrFHCpyo
>> qUhTJpi7KzxnXoDdMI5I
>> =XsJC
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> 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
>
>


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


Mime
View raw message