Confluence does not start anymore. Need help
Asked by Thobias Michel:

Hey [@AlL](/t5/user/viewprofilepage/user-id/856820),

since my last reboot i cant get Confluence (6.15.7) working again.

The log file:

28-Dec-2019 03:16:05.831 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server\] failed to set property \[debug\] to \[0\]  
28-Dec-2019 03:16:05.956 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.  
28-Dec-2019 03:16:05.987 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine\] failed to set property \[debug\] to \[0\]  
28-Dec-2019 03:16:05.987 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host\] failed to set property \[debug\] to \[0\]  
28-Dec-2019 03:16:06.023 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
28-Dec-2019 03:16:06.038 WARNING \[main\] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path \[${confluence.context.path}/synchrony-proxy\] does not meet these criteria and has been changed to \[/${confluence.context.path}/synchrony-proxy\]  
28-Dec-2019 03:16:06.038 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
28-Dec-2019 03:16:06.351 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]  
28-Dec-2019 03:16:06.507 INFO \[main\] org.apache.catalina.startup.Catalina.load Server initialization in \[880\] milliseconds  
28-Dec-2019 03:16:06.507 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Tomcat-Standalone\]  
28-Dec-2019 03:16:06.507 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: \[Apache Tomcat/9.0.21\]  
28-Dec-2019 03:16:07.622 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@14d75e7\]  
28-Dec-2019 03:16:07.701 INFO \[Catalina-utility-2\] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.  
28-Dec-2019 03:16:07.857 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'  
28-Dec-2019 03:16:07.857 INFO \[Catalina-utility-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started  
28-Dec-2019 03:16:07.872 INFO \[Catalina-utility-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Sat Dec 28 03:16:07 CST 2019\]; root of context hierarchy  
28-Dec-2019 03:16:07.919 INFO \[Catalina-utility-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: \[class com.atlassian.synchrony.proxy.websocket.WebSocketConfig,class com.atlassian.synchrony.proxy.web.SynchronyWebMvcConfig\]  
28-Dec-2019 03:16:08.325 INFO \[Catalina-utility-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'  
28-Dec-2019 03:16:08.357 INFO \[Catalina-utility-2\] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path \[/v1/bayeux-sync1\] onto handler of type \[class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler\]  
28-Dec-2019 03:16:08.497 INFO \[Catalina-utility-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/reload\],methods=\[PUT\]}" onto public org.springframework.http.ResponseEntity com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.reloadConfiguration(com.atlassian.synchrony.proxy.web.SynchronyProxyConfigPayload)  
28-Dec-2019 03:16:08.497 INFO \[Catalina-utility-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/healthcheck\]}" onto public com.atlassian.synchrony.proxy.web.HealthCheckResult com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.getSynchronyProxyInfo()  
28-Dec-2019 03:16:08.513 INFO \[Catalina-utility-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]  
28-Dec-2019 03:16:08.622 INFO \[Catalina-utility-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Sat Dec 28 03:16:07 CST 2019\]; root of context hierarchy  
28-Dec-2019 03:16:08.716 INFO \[Catalina-utility-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647  
28-Dec-2019 03:16:08.732 INFO \[Catalina-utility-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 875 ms

Is there anything i can do?

I tried:

- Reinstall

- Turn Off Firewall

- Restart

But nothing helps.


Answers:
author: brbojorque
body: Hi [@Thobias Michel](/t5/user/viewprofilepage/user-id/3688983) ,

Can you please post your server.xml, the only clue I can find is related to Context path.

Please post again the last few lines in the atlassian-confluence.log.

comments: author: Thobias Michel
body: **server.xml**

\<Server port="8000" shutdown="SHUTDOWN" debug="0"\>  
\<Service name="Tomcat-Standalone"\>  
\<!--  
==============================================================================================================  
DEFAULT - Direct connector with no proxy, for unproxied HTTP access to Confluence.

If using a http/https proxy, comment out this connector.  
==============================================================================================================  
--\>  
\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"/\>  
\<!--  
==============================================================================================================  
HTTP - Proxying Confluence via Apache or Nginx over HTTP

If you're proxying traffic to Confluence over HTTP, uncomment the connector below and comment out the others.  
Make sure you provide the right information for proxyName and proxyPort.

For more information see:  
Apache - <https://confluence.atlassian.com/x/4xQLM>  
nginx - <https://confluence.atlassian.com/x/TgSvEg>

==============================================================================================================  
--\>

\<!--  
\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
scheme="http" proxyName="\<subdomain\>.\<domain\>.com" proxyPort="80"/\>  
--\>  

\<!--  
==============================================================================================================  
HTTPS - Direct connector with no proxy, for unproxied HTTPS access to Confluence.

For more info see <https://confluence.atlassian.com/x/s3UC>  
==============================================================================================================  
--\>

\<!--  
\<Connector port="8443" maxHttpHeaderSize="8192"  
maxThreads="150" minSpareThreads="25"  
protocol="org.apache.coyote.http11.Http11Nio2Protocol"  
enableLookups="false" disableUploadTimeout="true"  
acceptCount="100" scheme="https" secure="true"  
clientAuth="false" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"  
URIEncoding="UTF-8" keystorePass="\<MY_CERTIFICATE_PASSWORD\>"/\>  
--\>

\<!--  
==============================================================================================================  
HTTPS - Proxying Confluence via Apache or Nginx over HTTPS

If you're proxying traffic to Confluence over HTTPS, uncomment the connector below and comment out the others.  
Make sure you provide the right information for proxyName and proxyPort.

For more information see:  
Apache - <https://confluence.atlassian.com/x/PTT3MQ>  
nginx - <https://confluence.atlassian.com/x/cNIvMw>  
==============================================================================================================  
--\>

\<!--  
\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
scheme="https" secure="true" proxyName="\<subdomain\>.\<domain\>.com" proxyPort="443"/\>  
--\>

\<Engine name="Standalone" defaultHost="localhost" debug="0"\>  
\<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4"\>  
\<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"\>  
\<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\>  
\<Manager pathname=""/\>  
\<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/\>  
\</Context\>

\<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0"  
reloadable="false" useHttpOnly="true"\>  
\<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/\>  
\</Context\>  
\</Host\>  
\</Engine\>  
\</Service\>  
\</Server\>

**atlassian-confluence.log**

Where can i find the atlassian-confluence.log files? In /logs is no file named like this.


author: Thobias Michel
body: **atlassian-confluence.log**

Where can i find this file? In /logs its not

**server.xml**

\<?xml version="1.0"?\>

-\<Server debug="0" shutdown="SHUTDOWN" port="8000"\>

<br />

-\<Service name="Tomcat-Standalone"\>

\<!--==============================================================================================================DEFAULT - Direct connector with no proxy, for unproxied HTTP access to Confluence.If using a http/https proxy, comment out this connector.============================================================================================================== --\>

<br />

\<Connector debug="0" port="8090" protocol="org.apache.coyote.http11.Http11NioProtocol" URIEncoding="UTF-8" acceptCount="10" enableLookups="false" minSpareThreads="10" maxThreads="48" redirectPort="8443" connectionTimeout="20000"/\>

\<!--==============================================================================================================HTTP - Proxying Confluence via Apache or Nginx over HTTPIf you're proxying traffic to Confluence over HTTP, uncomment the connector below and comment out the others.Make sure you provide the right information for proxyName and proxyPort.For more information see:Apache - <https://confluence.atlassian.com/x/4xQLMnginx> - <https://confluence.atlassian.com/x/TgSvEg==============================================================================================================> --\>

<br />

\<!--\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"maxThreads="48" minSpareThreads="10"enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"protocol="org.apache.coyote.http11.Http11NioProtocol"scheme="http" proxyName="\<subdomain\>.\<domain\>.com" proxyPort="80"/\> --\>

<br />

\<!--==============================================================================================================HTTPS - Direct connector with no proxy, for unproxied HTTPS access to Confluence.For more info see <https://confluence.atlassian.com/x/s3UC==============================================================================================================> --\>

<br />

\<!--\<Connector port="8443" maxHttpHeaderSize="8192"maxThreads="150" minSpareThreads="25"protocol="org.apache.coyote.http11.Http11Nio2Protocol"enableLookups="false" disableUploadTimeout="true"acceptCount="100" scheme="https" secure="true"clientAuth="false" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"URIEncoding="UTF-8" keystorePass="\<MY_CERTIFICATE_PASSWORD\>"/\> --\>

<br />

\<!--==============================================================================================================HTTPS - Proxying Confluence via Apache or Nginx over HTTPSIf you're proxying traffic to Confluence over HTTPS, uncomment the connector below and comment out the others.Make sure you provide the right information for proxyName and proxyPort.For more information see:Apache - <https://confluence.atlassian.com/x/PTT3MQnginx> - <https://confluence.atlassian.com/x/cNIvMw==============================================================================================================> --\>

<br />

\<!--\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"maxThreads="48" minSpareThreads="10"enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"protocol="org.apache.coyote.http11.Http11NioProtocol"scheme="https" secure="true" proxyName="\<subdomain\>.\<domain\>.com" proxyPort="443"/\> --\>

-\<Engine debug="0" name="Standalone" defaultHost="localhost"\>

<br />

-\<Host debug="0" name="localhost" startStopThreads="4" autoDeploy="false" unpackWARs="true" appBase="webapps"\>

<br />

-\<Context debug="0" useHttpOnly="true" reloadable="false" docBase="../confluence" path=""\>

\<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\>

<br />

\<Manager pathname=""/\>

\<Valve threshold="60" className="org.apache.catalina.valves.StuckThreadDetectionValve"/\>

\</Context\>

<br />

-\<Context debug="0" useHttpOnly="true" reloadable="false" docBase="../synchrony-proxy" path="${confluence.context.path}/synchrony-proxy"\>

\<Valve threshold="60" className="org.apache.catalina.valves.StuckThreadDetectionValve"/\>

\</Context\>

\</Host\>

\</Engine\>

\</Service\>

\</Server\>


author: brbojorque
body: Hi [@Thobias Michel](/t5/user/viewprofilepage/user-id/3688983) ,

Your server.xml looks to be fine.

You can find the logs in the following folder.

* /var/atlassian/jira/log/\*.log
* /var/atlassian/application-data/jira/log/\*


author: Thobias Michel
body: Where is it on a windows based system?


Tags: confluence-server

server