Unable to start Windows Service due to "Failed creating java jvm.dll" "The specified module could not be found"

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  1. Unable to start the Confluence Windows Service

The following appears in the commons-daemon.log (in ConfluenceInstallationDirectory/logs):

[2013-02-27 09:44:23] [error] Failed creating java C:\Programme\Atlassian\Confluence\jre\bin\server\jvm.dll
[2013-02-27 09:44:23] [error] The specified module could not be found.

 

Cause

The path highlighted in the error is not valid. In the example above, there are no jvm.dll in C:\Programme\Atlassian\Confluence\jre\bin\server\

 

Resolution

  • Edit the path set in your Windows service manually, to point to a valid jvm.dll (normally located in ConfluenceInstallationDirectory\jre\bin\client\jvm.dll), using the steps below:
    1. Right click on cmd.exe (Windows Command Prompt) and Run as Administrator
    2. cd to ConfluenceInstallationDirectory\bin
    3. Run the following:

      tomcat6w //ES//<ConfluenceServiceName>

      Replace <ConfluenceServiceName> with the name of the installed Confluence Service. You can check this out by launching services.msc in Windows, and looking for the Confluence service. Example:

    4. In the resulting prompt, navigate to the Java tab, and change the path of the Java Virtual Machine:

      Make sure that it points to a valid jvm.dll
    5. Restart the Confluence Service

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.