tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: tomcat5.exe on Windows x64
Date Wed, 10 Dec 2008 19:01:48 GMT
George Sexton wrote:
> Before I get flamed, I looked at a way to report this bug through
> bugzilla/jira and couldn't seem to find the right project...

Commons daemon - it is in JIRA although it really is a Sun bug and a
commons-daemon enhancement request.

Mark


> 
> I just went through a troubleshooting session getting tomcat5.exe to
> work on Windows 2008 x64 with x64 jre 1.6.0 Update 11. I was using the
> tomcat5.exe x64 binaries that I downloaded from svn.
> 
> The JVM the service was created with was "auto".
> 
> Attempts to start the service wrote:
> 
> [2008-12-10 10:04:24] [174  javajni.c] [error] The specified module
> could not be found.
> [2008-12-10 10:04:24] [994  prunsrv.c] [error] Failed creating java
> [2008-12-10 10:04:24] [1269 prunsrv.c] [error] ServiceStart returned 1
> 
> 
> in the jakarta_server_xxxxx.log file.
> 
> After fooling around with it, I noticed that the jre installer created
> bad registry entries for
> 
> HKLM\Software\JavaSoft\Java Runtime Engine\1.6\RuntimeLib
> 
> the value was:
> 
> C:\Program Files\Java\jre6\bin\client\jvm.dll
> 
> The issue is that this file does not exist. Evidently, the Windows x64
> JRE does not include the client JVM, only the server jvm. The file:
> 
> C:\Program Files\Java\jre6\bin\server\jvm.dll
> 
> does exist. If I manually edit the registry entry, the service starts as
> expected.
> 
> I've submitted this as an installer bug to Sun.
> 
> It might be helpful if the code in tomcat5.exe actually checked for the
> existence of the jvm. It would have saved a lot of trouble if the log
> entry had actually said something like:
> 
> "Configured JVM: C:\Program Files\Java\jre6\bin\client\jvm.dll does not
> exist. Check the configured value for the JVM."
> 
> even:
> 
> "The specified module (C:\Program Files\Java\jre6\bin\client\jvm.dll)
> could not be found."
> 
> would be an improvement.
> 


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


Mime
View raw message