Unable to Start Windows Service with Tomcat 7

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

 

 

Problem

The Confluence Windows Service installation is successful:

But the startup fails with this:

There are no commons-daemon log generated in ConfluenceInstallation/logs (this is normally the logs used to identify the service-related error.

Diagnosis.

Cause

The windows service is not installed with the correct user permissions (need to install it with the Administrator privilege). This is due to the fact that tomcat7w.exe is still run as a regular user during service.bat install Confluence.

Resolution

  • Right click on tomcat7w.exe, (located in ConfluenceInstallation/bin), and hit Properties. Navigate to the Compatibility tab, and select Run this program as an administrator
  • Apply the changes
  • Run Command Prompt as an Administrator. To do this, look for "cmd" in your computer, right click on it, and hit Run as Administrator.
  • cd to ConfluenceInstallation/bin , and run:

    service.bat install confluence
Last modified on Feb 26, 2016

Was this helpful?

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