After installation for confluence its not working and how do i merge it with jira?
Asked by eugene tang:

After the installation i have problems going into the website.

Also how can i merge into the system with the jira ?

<http://139.59.115.69:8090/>


Answers:
author: AnnWorley
body: Hi Eugene,

Please try:

1- Make sure Jira and Bitbucket are shut down. You may run:

```
ps aux | grep java
```

to find any processes that did not shut down gracefully.

2- Open a terminal window to tail the atlassian-confluence.log:

```
tail -f <your_confluence_home_dir>logs/atlassian-confluence.log
```

3- Start Confluence by running:

```
<confluence_install_dir>/bin/start-confluence.sh
```

The log you are tailing should say **Starting Confluence** and then show a system report and then a list of plugins as they load. At the end, it should say **Confluence is ready to serve.**

4- If nothing appears in the atlassian-confluence.log, check for start-up errors in the other log:

```
 <confluence_install_dir>/logs/catalina.out
```

Once we know what is stopping Confluence from serving content and get it running, we can install the other applications.

I look forward to hearing what you find.

comments: author: eugene tang
body: root@renolah:\~# ps aux \| grep java

root 19604 0.0 0.0 11988 2236 pts/0 S+ 07:07 0:00 grep --color=auto java

conflue+ 32681 0.3 12.3 4649412 1012592 ? Sl Oct12 12:21 /opt/atlassian/confluence/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dconfluence.context.path= -Datlassian.plugins.startup.options= -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms1024m -Xmx1024m -XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xloggc:/opt/atlassian/confluence/logs/gc-2017-10-12_19-17-03.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution -Djava.endorsed.dirs=/opt/atlassian/confluence/endorsed -classpath /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/confluence -Dcatalina.home=/opt/atlassian/confluence -Djava.io.tmpdir=/opt/atlassian/confluence/temp org.apache.catalina.startup.Bootstrap start


author: eugene tang
body: root@renolah:/opt/atlassian/confluence# tail -f /opt/atlassian/confluence/logs/

atlassian-synchrony-proxy.log catalina.out gc-2017-10-13_17-41-06.log.0.current host-manager.2017-10-14.log manager.2017-10-12.log

catalina.2017-10-12.log gc-2017-10-12_19-17-03.log.0.current gc-2017-10-14_15-53-19.log.0.current localhost.2017-10-12.log manager.2017-10-13.log

catalina.2017-10-13.log gc-2017-10-13_16-55-17.log.0.current host-manager.2017-10-12.log localhost.2017-10-13.log manager.2017-10-14.log

catalina.2017-10-14.log gc-2017-10-13_17-09-18.log.0.current host-manager.2017-10-13.log localhost.2017-10-14.log synchrony-proxy-watchdog.log

root@renolah:/opt/atlassian/confluence# tail -f /opt/atlassian/confluence/logs/

i could not find any on the folder

```
tail -f <your_confluence_home_dir>logs/atlassian-confluence.log
```


author: eugene tang
body: root@renolah:/opt/atlassian/confluence/bin# ./start-confluence.sh

To run Confluence in the foreground, start the server with start-confluence.sh -fg

executing using dedicated user: confluence

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 /opt/atlassian/confluence/logs/catalina.out

---------------------------------------------------------------------------

Using Java: /opt/atlassian/confluence/jre//bin/java

2017-10-15 07:10:00,454 INFO \[main\] \[atlassian.confluence.bootstrap.SynchronyProxyWatchdog\] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required

---------------------------------------------------------------------------

Using CATALINA_BASE: /opt/atlassian/confluence

Using CATALINA_HOME: /opt/atlassian/confluence

Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp

Using JRE_HOME: /opt/atlassian/confluence/jre/

Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar

Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid

Existing PID file found during start.

Tomcat appears to still be running with PID 32681. Start aborted.

If the following process is not a Tomcat process, remove the PID file and try again:

UID PID PPID C STIME TTY TIME CMD

conflue+ 32681 1 0 Oct12 ? 00:12:21 /opt/atlassian/confluence/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apach

root@renolah:/opt/atlassian/confluence/bin#


author: eugene tang
body: i have also echo the log out

root@renolah:/opt/atlassian/confluence/logs# more catalina.out

12-Oct-2017 19:17:04.556 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server} Setting property 'debug' to '0' did not find a matching property.

12-Oct-2017 19:17:04.858 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching propert

y.

12-Oct-2017 19:17:04.874 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.

12-Oct-2017 19:17:04.880 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching propert

y.

12-Oct-2017 19:17:04.929 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.

12-Oct-2017 19:17:04.951 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.

12-Oct-2017 19:17:05.290 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]

12-Oct-2017 19:17:05.310 INFO \[main\] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

12-Oct-2017 19:17:05.314 INFO \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 982 ms

12-Oct-2017 19:17:05.324 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone

12-Oct-2017 19:17:05.325 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.46

12-Oct-2017 19:17:08.705 INFO \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatch

erServletInitializer@3dc97a54\]

2017-10-12 19:17:09,349 INFO \[localhost-startStop-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 6.4.2 \[build 7401 based on commit hash e170a3915839da2821803843481d4419ff03b45

3\] - synchrony version 1.0.0-release-confluence_6.1-4020a123

12-Oct-2017 19:17:09.652 INFO \[localhost-startStop-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'

12-Oct-2017 19:17:09.653 INFO \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started

12-Oct-2017 19:17:09.663 INFO \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-s

ervlet': startup date \[Thu Oct 12 19:17:09 UTC 2017\]; root of context hierarchy

12-Oct-2017 19:17:09.813 INFO \[localhost-startStop-2\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: \[class com.atlassian.syn

chrony.proxy.websocket.WebSocketConfig,class com.atlassian.synchrony.proxy.web.SynchronyWebMvcConfig\]

12-Oct-2017 19:17:10.665 INFO \[localhost-startStop-2\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'

12-Oct-2017 19:17:11.007 INFO \[localhost-startStop-2\] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path \[/sockjs/v1/\*\*\] onto handler of type \[class org.spr

ingframework.web.socket.sockjs.support.SockJsHttpRequestHandler\]

12-Oct-2017 19:17:11.454 INFO \[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()

12-Oct-2017 19:17:11.456 INFO \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/reload\],methods=\[PUT\]}" onto public org.springfram

ework.http.ResponseEntity com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.reloadConfiguration(com.atlassian.synchrony.proxy.web.SynchronyProxyConfigPayload)

12-Oct-2017 19:17:11.495 INFO \[localhost-startStop-2\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web

.servlet.resource.DefaultServletHttpRequestHandler\]

12-Oct-2017 19:17:11.528 INFO \[localhost-startStop-2\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicatio

nContext for namespace 'dispatcher-servlet': startup date \[Thu Oct 12 19:17:09 UTC 2017\]; root of context hierarchy

12-Oct-2017 19:17:11.647 INFO \[localhost-startStop-2\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647

12-Oct-2017 19:17:11.673 INFO \[localhost-startStop-2\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 2020 ms

2017-10-12 19:17:14,544 INFO \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$populateExistingClusterSetupConfig$1 Populating setup configuration if running wit

h Cluster mode...

2017-10-12 19:17:14,546 WARN \[localhost-startStop-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$populateExistingClusterSetupConfig$1 Could not find shared config file.

12-Oct-2017 19:17:25.505 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]

12-Oct-2017 19:17:25.540 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 20226 ms


author: Nic Brough -Adaptavist-
body: There is no point looking at installation guides, or installing more applications if you don't know what the problem here is.

Step back. Stop all the applications you have installed.

Now, start Confluence. If you can't now use Confulence, read the logs to see what is failing. If you can, then start Jira and do the same - check if you can use it, and debug it if not.

comments: author: eugene tang
body: i tried running both its like both are dead...im using digital ocean account which im using the 8gb version it should work.

Also i have tried this link which only lets jira works only but not confluence and bitbucket

<https://community.spiceworks.com/how_to/62855-hosted-jira-in-15-minutes-for-20-per-month-on-digital-ocean-updated>


author: eugene tang
body: is there any guide to setup all in one server

i need confluence + jira + bit bucket

all in one


author: AnnWorley
body: Just now I followed your link again, and I can see you are getting the error addressed in this guide: [Confluence does not start due to Spring Application context has not been set](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html)

There are several possible resolutions in the guide.

comments: author: eugene tang
body: hi now both of them is not running


author: AnnWorley
body: Hi Eugene,

I followed your link and it led to a Confluence setup wizard. Are you having trouble completing the wizard or getting access to the instance afterward? Please let me know any errors you are seeing in the logs or the browser.

There are two types of Jira integration with Confluence. One is for Confluence user management via Jira: [Connecting to Crowd or JIRA for User Management](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html).

The other is for sharing content between the applications, for example displaying Jira issues macros on Confluence pages. That is achieved via application links: [Linking to Another Application](https://confluence.atlassian.com/doc/linking-to-another-application-360677690.html)  
Looking forward to hearing more about how I can help you get confluence installed and integrated with Jira. Here is another guide you may find interesting: [Use JIRA applications and Confluence together](https://confluence.atlassian.com/doc/use-jira-applications-and-confluence-together-427623543.html)