Jira & Confluence Server
Asked by Matt:

Hey, I would like to put the jira and confluence server on one machine and connect them to the domain. Currently, the jira server works without any complaints mydomain.com:8080 (this is an example) but when you try to start the confluence server it receives the following errors:

If you encounter issues starting up Confluence, please see the Installation guide at <http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide>

Server startup logs are located in /home/users/default/public_html/jira/confluence/logs/catalina.out  
---------------------------------------------------------------------------  
Using Java: /home/users/admin/jdk1.8.0_45/bin/java  
2018-06-19 13:48:13,928 INFO \[main\] \[atlassian.confluence.bootstrap.SynchronyProxyWatchdog\] A Context element for ${confluence.context.path}/synchrony-proxy is found in /home/users/default/public_html/jira/confluence/conf/server.xml. No further action is required  
---------------------------------------------------------------------------  
Using CATALINA_BASE: /home/users/default/public_html/jira/confluence  
Using CATALINA_HOME: /home/users/default/public_html/jira/confluence  
Using CATALINA_TMPDIR: /home/users/default/public_html/jira/confluence/temp  
Using JRE_HOME: /home/users/admin/jdk1.8.0_45  
Using CLASSPATH: /home/users/default/public_html/jira/confluence/bin/bootstrap.jar:/home/users/default/public_html/jira/confluence/bin/tomcat-juli.jar  
Using CATALINA_PID: /home/users/default/public_html/jira/confluence/work/catalina.pid  
19-Jun-2018 13:48:14.117 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server} Setting property 'debug' to '0' did not find a matching property.  
19-Jun-2018 13:48:14.160 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.  
19-Jun-2018 13:48:14.167 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.  
19-Jun-2018 13:48:14.171 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.  
19-Jun-2018 13:48:14.193 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.  
19-Jun-2018 13:48:14.207 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.  
19-Jun-2018 13:48:14.394 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]  
19-Jun-2018 13:48:14.405 INFO \[main\] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read  
19-Jun-2018 13:48:14.406 INFO \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 339 ms  
19-Jun-2018 13:48:14.412 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone  
19-Jun-2018 13:48:14.413 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.51  
19-Jun-2018 13:48:15.950 INFO \[-startStop-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@4608c93b\]  
19-Jun-2018 13:48:16.247 INFO \[-startStop-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'  
19-Jun-2018 13:48:16.248 INFO \[-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started  
19-Jun-2018 13:48:16.253 INFO \[-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Tue Jun 19 13:48:16 CEST 2018\]; root of context hierarchy  
19-Jun-2018 13:48:16.361 INFO \[-startStop-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\]  
2018-06-19 13:48:16,562 INFO \[-startStop-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.9.1 \[build 7701 based on commit hash 88819522251e178b5cc83bc1e3ddc18a884c1aed\] - synchrony version 2.1.0-master-ed94c233  
19-Jun-2018 13:48:16.933 INFO \[-startStop-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'  
19-Jun-2018 13:48:16.971 INFO \[-startStop-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\]  
19-Jun-2018 13:48:17.255 INFO \[-startStop-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()  
19-Jun-2018 13:48:17.256 INFO \[-startStop-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)  
19-Jun-2018 13:48:17.284 INFO \[-startStop-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]  
19-Jun-2018 13:48:17.521 INFO \[-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Tue Jun 19 13:48:16 CEST 2018\]; root of context hierarchy  
19-Jun-2018 13:48:17.769 INFO \[-startStop-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647  
19-Jun-2018 13:48:17.796 INFO \[-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1548 ms  
2018-06-19 13:48:19,486 INFO \[-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$populateExistingClusterSetupConfig$1 Populating setup configuration if running with Cluster mode...  
2018-06-19 13:48:19,487 WARN \[-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$populateExistingClusterSetupConfig$1 Could not find shared config file.  
19-Jun-2018 13:48:30.275 WARNING \[main\] org.apache.catalina.mapper.MapperListener.findDefaultHost Unknown default host \[localhost\] for service \[StandardService\[Tomcat-Standalone\]\]  
19-Jun-2018 13:48:30.276 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
19-Jun-2018 13:48:30.287 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 15880 ms

jira server is in /home/users/default/public_html/jira/jira

jira home /home/users/default/public_html/home

confluence server is in /home/users/default/public_html/jira/confluence

confluence hom /home/users/default/public_html/jira/homeconfluence

What am I doing wrong ? When in each case server confluence displays the same warnings even when it is run first


Answers:
author: Alexis Robert
body: Hello Matt,

I don't see any errors in this log, what are you referring to when you say "r it receives the following errors" ?

What exactly is the problem after you start Confluence ? is it inaccessible ? can you see the java process using the *ps* command ?

Cheers,

--Alexis

comments: author: Matt
body: Forgive me was not about mistakes but about warnings. Running start-counfluence.sh does not cause anything. The page does not display


author: Alexis Robert
body: Do you see a confluence java process on your server ? It's weird because you don't have any errors on your logs so confluence should be up and running.