Amit Shrestha

Java

Tomcat Error – prunsrv.c Failed creating java (jvm.dll)

//
//

I had encountered following error message while starting my tomcat server.

[2009-01-16 11:22:19] [1343 prunsrv.c] [debug] Procrun log initialized
[2009-01-16 11:22:19] [info] Procrun (2.0.4.0) started
[2009-01-16 11:22:19] [info] Running Service...
[2009-01-16 11:22:19] [1166 prunsrv.c] [debug] Inside ServiceMain...
[2009-01-16 11:22:19] [info] Starting service...
[2009-01-16 11:22:19] [174  javajni.c] [error] The specified module could not be found.
[2009-01-16 11:22:19] [994  prunsrv.c] [error] Failed creating java
C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll
[2009-01-16 11:22:19] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-01-16 11:22:19] [info] Run service finished.
[2009-01-16 11:22:19] [info] Procrun finished.
[2009-01-16 11:24:41] [1343 prunsrv.c] [debug] Procrun log initialized
[2009-01-16 11:24:41] [info] Procrun (2.0.4.0) started
[2009-01-16 11:24:41] [info] Debugging Service...
[2009-01-16 11:24:41] [1166 prunsrv.c] [debug] Inside ServiceMain...
[2009-01-16 11:24:41] [info] Starting service...
[2009-01-16 11:24:41] [174  javajni.c] [error] The specified module could not be found.

After googling, this is usually happen because of missing msvcr71.dll file. However tomcat doesn’t use msvcr71.dll directly, it’s used by the Java Virtual Machine (JVM).

Here is the few solutions, try it out.

1) Copy msvcr71.dll from java’s bin directory to tomcat’s bin folder
2) Add java’s bin directory to windows environment variable
3) Copy msvcr71.dll from java’s bin directory to windows\system32 folder
4) Make sure your tomcat’s pointing to correct jvm.dll folder.

Thread safe :

http://mindprod.com/jgloss/threadsafe.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: