Error formatting macro: include: com.atlassian.confluence.core.service.NotAuthorizedException: User 'null' does not have permission to view the page.
Ошибка

При попытке запустить службу она не запускается, а выводится всплывающее сообщение Windows:

Windows could not start the Apache Tomcat Confluence on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0. In Event Viewer there was the error The Apache Tomcat Confluence service terminated with service-specific error 0 (0x0).

Возможные причины

32-х битный Tomcat идущий в комплекте с Confluence не может работать с JDK 64-бита. 

Решение

1. Скачиваем и устанавливаем JDK 32-бит (файл Windows x86). Его можно поставить в отдельную папку, если уже установлен JDK 64-бит.

2. Удаляем установленную службу Confluence (если уже установлена) командой:

service.bat remove Confluence

, где Confluence - имя службы. Его можно посмотреть в свойствах сервиса Windows.

3. В файле confluence-install\bin\service.bat добавляем строку:

set JAVA_HOME=d:\Java\32\jdk1.6.0_25

4. Создаем сервис командой:service.bat install Confluence