Christoph Kukulies wrote:
Am 06.05.2010 12:07, schrieb Pid:
On 06/05/2010 10:44, Christoph Kukulies wrote:
Tomcat 6.0.26 doesn't start. I used the 64bit installer under Windows 7.

jakarta_service_log:

[2010-05-06 11:41:44] [info] Commons Daemon procrun (1.0.2.0) started
[2010-05-06 11:41:44] [info] Running Service...
[2010-05-06 11:41:44] [info] Starting service...
[2010-05-06 11:41:44] [206  javajni.c] [error] %1 ist keine zulässige
Win32-Anwendung.
[2010-05-06 11:41:44] [985  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
[2010-05-06 11:41:44] [1280 prunsrv.c] [error] ServiceStart returned 1
[2010-05-06 11:41:44] [info] Run service finished.
[2010-05-06 11:41:44] [info] Commons Daemon procrun finished.
It's looking for a client JVM, which you probably don't want.

Find the path to bin\server\jvm.dll.

Start tomcat6w.exe and go to the Java tab, put the path to the correct
jvm.dll in the appropriate location.


p

I believe it's because I only have the jre, not the jdk and I'm downloading at the moment.

I think the problem is that you have a mismatch between the "tomcat6.exe" (which is really procrun.exe, renamed), and the JVM, in terms of which is 32/64 bit.

The installer probably picks the appropriate 32 or 64-bit version of tomcat6.exe to install, but it does not select the JVM. The path to the JVM that tomcat6.exe will use, is in the Windows Registry. The tomcat6w.exe program is a GUI which can changes these Registry settings, that will be used when you run tomcat6.exe.

In other words, you have installed a 64-bit tomcat6.exe, but when it looks for which jvm.dll to start, it finds a 32-bit JVM. Run tomcat6w.exe, navigate to the tab that points to the JVM to use, and make sure it points to a 64-bit one.
Then re-run tomcat6.exe (or the Tomcat Service).



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

Reply via email to