Jira and confluence using same server
Asked by noeal:

i am jira user and i installed the jira at our company server.

now our company try to use confluence.

so i try to install confluence at jira server(same hardware.)

i use both way using bin and tar.gz package.

but after installed... confluence start failed.

i was searched internet

i found some links and i try it again.

<https://community.atlassian.com/t5/Jira-questions/Installing-JIRA-and-Confluence-on-the-same-server/qaq-p/6105>

and

<https://community.atlassian.com/t5/Jira-questions/Confluence-and-Jira-on-same-machine/qaq-p/650576>

but also failed......

is there any other way install jira and confluence at same server?


Answers:
author: Nic Brough -Adaptavist-
body: No, there is no "other" way, because the way you do it is immensely simple and there's no need for other methods.

All you need to do is install the two services separately - make sure they use different directories, different database areas and ports, and that should work fine. The defaults generally work ok for this.

So, the question really is "have you installed anything that might clash", and more importantly, "what does the Confluence log file say the problem is?"

comments: author: noeal
body: after install and start confluence i got errors like below in catalina.out

**04-Apr-2018 17:43:52.082 ?? \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
04-Apr-2018 17:43:52.115 ?? \[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.
04-Apr-2018 17:43:52.137 ?? \[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.
04-Apr-2018 17:43:52.410 ?? \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]
04-Apr-2018 17:43:52.429 ?? \[main\] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Apr-2018 17:43:52.432 ?? \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 510 ms
04-Apr-2018 17:43:52.441 ?? \[main\] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone
04-Apr-2018 17:43:52.441 ?? \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.50
04-Apr-2018 17:43:53.906 ?? \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@c47b706\]
2018-04-04 17:43:54,102 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.7.2 \[build 7601 based on commit hash 2b9cef12215b66d36aac7298ee6598161e5b8cbb\] - synchrony version 2.1.0-release-confluence_6.5-1a01ab2d
04-Apr-2018 17:43:54.323 ?? \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'
04-Apr-2018 17:43:54.323 ?? \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started
04-Apr-2018 17:43:54.328 ?? \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Wed Apr 04 17:43:54 KST 2018\]; root of context hierarchy
04-Apr-2018 17:43:54.379 ?? \[localhost-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\]
04-Apr-2018 17:43:54.780 ?? \[localhost-startStop-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'
04-Apr-2018 17:43:54.817 ?? \[localhost-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\]
04-Apr-2018 17:43:55.207 ?? \[localhost-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()
04-Apr-2018 17:43:55.208 ?? \[localhost-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)
04-Apr-2018 17:43:55.234 ?? \[localhost-startStop-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]
04-Apr-2018 17:43:55.267 ?? \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Wed Apr 04 17:43:54 KST 2018\]; root of context hierarchy
04-Apr-2018 17:43:55.368 ?? \[localhost-startStop-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647
04-Apr-2018 17:43:55.394 ?? \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1071 ms
2018-04-04 17:43:56,932 ERROR \[localhost-startStop-1\] \[atlassian.confluence.setup.ConfluenceConfigurationListener\] contextInitialized An error was encountered while bootstrapping Confluence (see below):
null
java.lang.NullPointerException
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:43)
at com.atlassian.confluence.impl.health.analytics.HealthCheckAnalyticsSenderSupplier.getProductionHealthCheckAnalyticsSender(HealthCheckAnalyticsSenderSupplier.java:28)
at com.atlassian.confluence.impl.health.analytics.HealthCheckAnalyticsSenderSupplier.get(HealthCheckAnalyticsSenderSupplier.java:34)
at com.atlassian.confluence.impl.health.analytics.HealthCheckAnalyticsSenderSupplier.get(HealthCheckAnalyticsSenderSupplier.java:16)
at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.sendHealthCheckResult(DefaultHealthCheckRunner.java:120)
at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.recordResult(DefaultHealthCheckRunner.java:109)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.executeChecksAndRecordResults(DefaultHealthCheckRunner.java:103)
at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.runHealthChecks(DefaultHealthCheckRunner.java:70)
at com.atlassian.confluence.setup.DefaultBootstrapManager.init(DefaultBootstrapManager.java:177)
at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:36)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:130)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:64)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-04-04 17:43:57,497 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] init Confluence is ready to serve
04-Apr-2018 17:43:57.517 ?? \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]
04-Apr-2018 17:43:57.529 ?? \[main\] org.apache.catalina.startup.Catalina.start Server startup in 5096 ms**

what can i do more? im installed based on this doc.

<https://confluence.atlassian.com/doc/installing-confluence-on-linux-from-archive-file-255362363.html>


author: noeal
body: and also i saw below errors after mysql jdbc driver added and start again

**04-Apr-2018 17:59:49.997 ?? \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 523 ms**   
**04-Apr-2018 17:59:50.006 ?? \[main\] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone**   
**04-Apr-2018 17:59:50.007 ?? \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.50**   
**04-Apr-2018 17:59:50.297 ?? \[Standalone-startStop-1\] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start**   
**java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\].StandardHost\[localhost\].StandardContext\[\]\]**   
**at java.util.concurrent.FutureTask.report(FutureTask.java:122)**   
**at java.util.concurrent.FutureTask.get(FutureTask.java:192)**   
**at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)**   
**at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)**   
**at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)**   
**at java.util.concurrent.FutureTask.run(FutureTask.java:266)**   
**at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)**   
**at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)**   
**at java.lang.Thread.run(Thread.java:748)**   
**Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\].StandardHost\[localhost\].StandardContext\[\]\]**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)**   
**... 6 more**   
**Caused by: org.apache.catalina.LifecycleException: Failed to start component \[org.apache.catalina.webresources.StandardRoot@4fe4e8eb\]**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)**   
**at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4977)**   
**at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5110)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**... 6 more**   
**Caused by: org.apache.catalina.LifecycleException: Failed to initialize component \[org.apache.catalina.webresources.JarResourceSet@3b014dad\]**   
**at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:135)**   
**at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:722)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**... 9 more**   
**Caused by: java.lang.IllegalArgumentException: java.io.FileNotFoundException: /opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/mysql-connector-java-5.1.46.jar (?? ??)**   
**at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:142)**   
**at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)**   
**... 12 more**   
**Caused by: java.io.FileNotFoundException: /opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/mysql-connector-java-5.1.46.jar (?? ??)**   
**at java.util.zip.ZipFile.open(Native Method)**   
**at java.util.zip.ZipFile.\<init\>(ZipFile.java:225)**   
**at java.util.zip.ZipFile.\<init\>(ZipFile.java:155)**   
**at java.util.jar.JarFile.\<init\>(JarFile.java:166)**   
**at java.util.jar.JarFile.\<init\>(JarFile.java:130)**   
**at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:170)**   
**at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:155)**   
**at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:139)**   
**... 13 more**

**04-Apr-2018 17:59:51.477 ?? \[localhost-startStop-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.**   
**04-Apr-2018 17:59:51.502 ?? \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@2a975c7f\]**   
**04-Apr-2018 17:59:51.877 ?? \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'**   
**04-Apr-2018 17:59:51.877 ?? \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started**   
**04-Apr-2018 17:59:51.883 ?? \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Wed Apr 04 17:59:51 KST 2018\]; root of context hierarchy**   
**04-Apr-2018 17:59:51.940 ?? \[localhost-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\]**   
**04-Apr-2018 17:59:52.389 ?? \[localhost-startStop-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'**   
**04-Apr-2018 17:59:52.430 ?? \[localhost-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\]**   
**04-Apr-2018 17:59:52.941 ?? \[localhost-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()**   
**04-Apr-2018 17:59:52.942 ?? \[localhost-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)**   
**04-Apr-2018 17:59:52.964 ?? \[localhost-startStop-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]**   
**04-Apr-2018 17:59:52.996 ?? \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Wed Apr 04 17:59:51 KST 2018\]; root of context hierarchy**   
**04-Apr-2018 17:59:53.086 ?? \[localhost-startStop-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647**   
**04-Apr-2018 17:59:53.108 ?? \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1231 ms**   
**04-Apr-2018 17:59:53.118 ?? \[main\] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start**   
**java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\].StandardHost\[localhost\]\]**   
**at java.util.concurrent.FutureTask.report(FutureTask.java:122)**   
**at java.util.concurrent.FutureTask.get(FutureTask.java:192)**   
**at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)**   
**at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**at org.apache.catalina.startup.Catalina.start(Catalina.java:641)**   
**at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**   
**at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)**   
**at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)**   
**at java.lang.reflect.Method.invoke(Method.java:498)**   
**at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:349)**   
**at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)**   
**Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\].StandardHost\[localhost\]\]**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)**   
**at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)**   
**at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)**   
**at java.util.concurrent.FutureTask.run(FutureTask.java:266)**   
**at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)**   
**at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)**   
**at java.lang.Thread.run(Thread.java:748)**   
**Caused by: org.apache.catalina.LifecycleException: A child container failed during start**   
**at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)**   
**at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**... 6 more**

**04-Apr-2018 17:59:53.119 ?? \[main\] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start.**   
**org.apache.catalina.LifecycleException: Failed to start component \[StandardServer\[8000\]\]**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)**   
**at org.apache.catalina.startup.Catalina.start(Catalina.java:641)**   
**at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**   
**at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)**   
**at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)**   
**at java.lang.reflect.Method.invoke(Method.java:498)**   
**at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:349)**   
**at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)**   
**Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardService\[Tomcat-Standalone\]\]**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)**   
**at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:789)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**... 7 more**   
**Caused by: org.apache.catalina.LifecycleException: Failed to start component \[StandardEngine\[Standalone\]\]**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)**   
**at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**... 9 more**   
**Caused by: org.apache.catalina.LifecycleException: A child container failed during start**   
**at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:951)**   
**at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**... 11 more**

**04-Apr-2018 17:59:53.120 ?? \[main\] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler \["http-nio-8090"\]**   
**04-Apr-2018 17:59:53.120 ?? \[main\] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat-Standalone**   
**04-Apr-2018 17:59:53.121 ?? \[main\] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler \["http-nio-8090"\]**   
**04-Apr-2018 17:59:53.124 ?? \[main\] org.apache.coyote.AbstractProtocol.destroy Failed to destroy end point associated with ProtocolHandler \["http-nio-8090"\]**   
**java.lang.NullPointerException**   
**at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315)**   
**at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491)**   
**at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:896)**   
**at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551)**   
**at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)**   
**at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)**   
**at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)**   
**at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)**   
**at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)**   
**at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)**   
**at org.apache.catalina.startup.Catalina.start(Catalina.java:645)**   
**at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**   
**at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)**   
**at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)**   
**at java.lang.reflect.Method.invoke(Method.java:498)**   
**at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:349)**   
**at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)**

**04-Apr-2018 17:59:53.132 ?? \[localhost-startStop-4\] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'**   
**04-Apr-2018 17:59:53.135 ?? \[localhost-startStop-4\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.doClose Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Wed Apr 04 17:59:51 KST 2018\]; root of context hierarchy**   
**04-Apr-2018 17:59:53.137 ?? \[localhost-startStop-4\] org.springframework.context.support.DefaultLifecycleProcessor.stop Stopping beans in phase 2147483647**   
**04-Apr-2018 17:59:53.142 ?? \[localhost-startStop-4\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.shutdown Shutting down ExecutorService 'defaultSockJsTaskScheduler'**


author: Minh Tran
body: [@noeal](/t5/user/viewprofilepage/user-id/1205056) It seems you selected to use MySQL jdbc driver when setting up Confluence

```
Caused by: java.lang.IllegalArgumentException: java.io.FileNotFoundException: /opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/mysql-connector-java-5.1.46.jar
```

You need to place the driver at the location above

Then restart Confluence again


author: noeal
body: i found about the MySql driver error.

it happened cos the jar files owner was root. not a exact user.

so i changed the owner..

and then i start confluence again but there still got error like below.\\

its still same error

plz somebody help me\~\~\~

06-Apr-2018 09:13:42.342 ?? \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 524 ms  
06-Apr-2018 09:13:42.351 ?? \[main\] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone  
06-Apr-2018 09:13:42.351 ?? \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.50  
06-Apr-2018 09:13:43.705 ?? \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@3dd7b88f\]  
2018-04-06 09:13:44,062 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.7.2 \[build 7601 based on commit hash 2b9cef12215b66d36aac7298ee6598161e5b8cbb\] - synchrony version 2.1.0-release-confluence_6.5-1a01ab2d  
06-Apr-2018 09:13:44.117 ?? \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'  
06-Apr-2018 09:13:44.118 ?? \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started  
06-Apr-2018 09:13:44.123 ?? \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Fri Apr 06 09:13:44 KST 2018\]; root of context hierarchy  
06-Apr-2018 09:13:44.176 ?? \[localhost-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\]  
06-Apr-2018 09:13:44.574 ?? \[localhost-startStop-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'  
06-Apr-2018 09:13:44.610 ?? \[localhost-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\]  
06-Apr-2018 09:13:44.907 ?? \[localhost-startStop-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]  
06-Apr-2018 09:13:44.995 ?? \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Fri Apr 06 09:13:44 KST 2018\]; root of context hierarchy  
06-Apr-2018 09:13:45.080 ?? \[localhost-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()  
06-Apr-2018 09:13:45.081 ?? \[localhost-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)  
06-Apr-2018 09:13:45.151 ?? \[localhost-startStop-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647  
06-Apr-2018 09:13:45.177 ?? \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1059 ms  
2018-04-06 09:13:46,877 ERROR \[localhost-startStop-1\] **\[atlassian.confluence.setup.ConfluenceConfigurationListener\] contextInitialized An error was encountered while bootstrapping Confluence (see below):**   
**null**   
**java.lang.NullPointerException**   
**at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:43)**   
**at com.atlassian.confluence.impl.health.analytics.HealthCheckAnalyticsSenderSupplier.getProductionHealthCheckAnalyticsSender(HealthCheckAnalyticsSenderSupplier.java:28)**   
**at com.atlassian.confluence.impl.health.analytics.HealthCheckAnalyticsSenderSupplier.get(HealthCheckAnalyticsSenderSupplier.java:34)**   
**at com.atlassian.confluence.impl.health.analytics.HealthCheckAnalyticsSenderSupplier.get(HealthCheckAnalyticsSenderSupplier.java:16)**   
**at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.sendHealthCheckResult(DefaultHealthCheckRunner.java:120)**   
**at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.recordResult(DefaultHealthCheckRunner.java:109)**   
**at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)**   
**at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)**   
**at java.util.Iterator.forEachRemaining(Iterator.java:116)**   
**at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)**   
**at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)**   
**at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)**   
**at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)**   
**at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)**   
**at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)**   
**at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)**   
**at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.executeChecksAndRecordResults(DefaultHealthCheckRunner.java:103)**   
**at com.atlassian.confluence.impl.health.DefaultHealthCheckRunner.runHealthChecks(DefaultHealthCheckRunner.java:70)**   
**at com.atlassian.confluence.setup.DefaultBootstrapManager.init(DefaultBootstrapManager.java:177)**   
**at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:36)**   
**at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:130)**   
**at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:64)**   
**at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4861)**   
**at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)**   
**at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)**   
**at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)**   
**at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)**   
**at java.util.concurrent.FutureTask.run(FutureTask.java:266)**   
**at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)**   
**at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)**   
**at java.lang.Thread.run(Thread.java:748)**   
2018-04-06 09:13:47,484 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] init Confluence is ready to serve  
06-Apr-2018 09:13:47.506 ?? \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
06-Apr-2018 09:13:47.519 ?? \[main\] org.apache.catalina.startup.Catalina.start Server startup in 5176 ms


author: noeal
body: finally.. i found the reason...

after renew installation...

i didnt use the user confluence... it must be used.

i change the user and owner to confluence.

and also check the firewall....

and then.. finally.. it works..

thanks guys.


author: Minh Tran
body: [@noeal](/t5/user/viewprofilepage/user-id/1205056) It is good to hear you fixed the problem. Cheers


Tags: jira-software