Sasha Borodin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I have a working installation of Tomcat 5 (on a Windows 2000 Server SP4
machine with jdk_1.4.1), which works great. I tried running the
service.bat
script under the bin directory to install the NT service, which ran
without errors and reported success. However, when I try to start the
service from the Services console, I get an error 0, and the
jakarta_service log has the following entry:
[2004-05-10 15:38:49] [info] Running Service...
[2004-05-10 15:38:49] [info] Starting service...
[2004-05-10 15:38:50] [364 javajni.c] [error] Unsuported JNI version
65537
[2004-05-10 15:38:50] [770 prunsrv.c] [error] Failed initializing java
D:\jakarta-tomcat-5.0.24\bin\bootstrap.jar
[2004-05-10 15:38:50] [982 prunsrv.c] [error] ServiceStart returned 2
[2004-05-10 15:38:50] [info] Run service finished.
[2004-05-10 15:38:50] [info] Procrun finished.
I have searched the mail-archive.com repository as well as google for
unsupported JNI version errors, cross-referencing with tomcat 5, to no
avail; but I've never in my life encountered something that someone else
hasn't already found, so posting to the list is always hopeful ;-)
I guess that there is a first time for everything ;-).
The version of procrun (aka 'tomcat.exe') that ships with 5.0.24 is
relatively new, and does some things differently than the version that
shipped with previous version of Tomcat. What the error message means is
that procrun found on older version of the JVM than it wanted, and so it
gave up. The easiest thing to do is to run:
tomcat5w //ES//Tomcat5
(you should also be able to run it with no arguments :), and change the
'jvm' setting to point to the jvm.dll file that you want to use.
Thanks for any help.
-Sasha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]