Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: http://www.mkyong.com/tomcat/tomcat-error-prunsrvc-failed-creating-java-jvmdll/

...

Hint: prunsrv will add "//RS//SCNService" to the ImagePath, which will be passed to SCNService.exe when the Windows SCM (Service Control Manager) is staring the service. Most Services will ignore such command line arguments, but you should check this with your service just to make sure.

I get "prunsrv.c Failed creating java" errors when commons daemon launches Tomcat

These errors when JVM used by Tomcat cannot locate msvcr71.dll runtime library.

Possible solutions:

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

Can I use the common daemon to start a Windows service?

...