Tomcat 6.0 croaks with an error: Failed creating java C:\jdk\jre\bin\server\jvm.dll

Microsoft Windows

My Tomcat 6.0 server suddenly decided to croak.

Strange thing was nothing had changed.

[2010-10-29 08:41:57] [994  prunsrv.c] [error] Failed creating java C:\jdk\jre\bin\server\jvm.dll

[2010-10-29 08:41:57] [1269 prunsrv.c] [error] ServiceStart returned 1

[2010-10-29 08:43:14] [174  javajni.c] [error] The specified module could not be found.

Was getting the error above, so i used filemon under the Procmon tools from Microsoft.

This showed lots of file not found errors for the file msvcr71.dll, and it appeared to be scanning the path to find it.

It didn’t exist in the location it was looking at so no wonder it was failing.

So i searched the server for the file, and found it elsewhere copied into the c:\windows\system32, one of the locations it was looking at, restarted the service and voila, it works again.

Leave a Reply

Your email address will not be published. Required fields are marked *