You have installed JDK latest version, and now you installed Tomcat, configfured to run as service but when you try and start it, it fails. Looking into the logs you see an error like his :
[2008-08-06 22:24:50] [info] Procrun (2.0.4.0) started
[2008-08-06 22:24:50] [info] Running Service...
[2008-08-06 22:24:50] [info] Starting service...
[2008-08-06 22:24:50] [174 javajni.c] [error] The specified module could not be found.
[2008-08-06 22:24:50] [994 prunsrv.c] [error] Failed creating java %JAVA_HOME%\jre1.6\bin\client\jvm.dll
[2008-08-06 22:24:50] [1269 prunsrv.c] [error] ServiceStart returned 1
[2008-08-06 22:24:50] [info] Run service finished.
[2008-08-06 22:24:50] [info] Procrun finished.
Tomcat startup eerrro as service
And that typo "eerrro" is not my doing , it is tomcat only throwing this garbage into the log.
Most of the times, this is caused because of missing "msvcr71.dll". You can get it from http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71
Copy it into your system directory, usually C:\windows\system32 and ensure that file has execute permission set. Tomcat should be able to run as service now.
No comments:
Post a Comment