confluence not available
Asked by zaklampert:

i've installed confluence on my linux server but when I connect to <http://myip:8090> i'm getting "the webpage is not available"

```
Please wait a few moments while Confluence starts up.Launching Confluence ...Installation of Confluence 5.9.4 is completeYour installation of Confluence 5.9.4 is now ready and can be accessed viayour browser.Confluence 5.9.4 can be accessed at http://localhost:8090Finishing installation ...
```

Any reason why this wouldn't be working?


Answers:
author: Nic Brough -Adaptavist-
body: Does it say anything after that in the log? Do you have any firewalls running that might block it?

comments: author: zaklampert
body: ```
tail /opt/atlassian/confluence/logs/catalina.2016-01-22.log -f22-Jan-2016 15:08:57.454 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.22-Jan-2016 15:08:57.527 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.22-Jan-2016 15:08:57.541 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.22-Jan-2016 15:08:57.548 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.22-Jan-2016 15:08:57.593 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.22-Jan-2016 15:08:58.070 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]22-Jan-2016 15:08:58.096 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read22-Jan-2016 15:08:58.099 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 743 ms22-Jan-2016 15:08:58.112 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone22-Jan-2016 15:08:58.112 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.2822-Jan-2016 15:50:07.445 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]22-Jan-2016 15:50:07.453 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2469353 ms
```


author: zaklampert
body: as far as firewall goes, i also can't connect over my phones LTE signal, so that's probably ruled out.


author: Nic Brough -Adaptavist-
body: Ok, that says Confluence is running within Tomcat, but what does the Confluence log say?


author: zaklampert
body: ```
tail atlassian-confluence.log -f?2016-01-22 15:08:48,119 WARN [localhost-startStop-2] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextDestroyed Failed to shut down plugin system during ServletContext shutdown: Spring Application context has not been set2016-01-22 15:08:48,119 INFO [localhost-startStop-2] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence2016-01-22 15:08:48,128 INFO [localhost-startStop-2] [atlassian.plugin.manager.DefaultPluginManager] shutdown Preparing to shut down the plugin system2016-01-22 15:08:48,129 INFO [localhost-startStop-2] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system2016-01-22 15:09:07,331 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.9.4 [build 6211 based on commit hash 3938a2601e8fc8d1decf2078567a8651fae8f539]2016-01-22 15:09:09,586 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup begun2016-01-22 15:09:13,376 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup finished in 0:00:03.7882016-01-22 15:09:13,377 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup begun2016-01-22 15:09:14,760 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup finished in 0:00:01.3832016-01-22 15:50:07,428 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
```


author: Nic Brough -Adaptavist-
body: There should be a lot more than that in the log, it looks like it's not starting in full.


author: zaklampert
body: did find some more errors

```
2016-01-22 17:21:07,728 FATAL [ContainerBackgroundProcessor[StandardEngine[Standalone]]] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set2016-01-22 17:21:07,734 ERROR [ContainerBackgroundProcessor[StandardEngine[Standalone]]] [confluence.user.listeners.UserSessionExpiryListener] sessionDestroyed Application server does not give us access to expired sessions. Listeners that depend on receiving LogoutEvent will not be reliable.  This web server is probably unsupported.java.lang.IllegalStateException: Spring Application context has not been set        at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)        at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.getEventPublisher(UserSessionExpiryListener.java:57)        at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:33)        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:839)        at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:697)        at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:570)        at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:555)        at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5551)        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1377)        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1349)        at java.lang.Thread.run(Thread.java:745)
```


author: Nic Brough -Adaptavist-
body: Ok spring errors like that are usually caused by incompatible versions of java, JIRA, and/or tomcat.

Could you explain what you've installed it from and on what hardware/os?


author: zaklampert
body: i'm installing atlassian-confluence-5.9.4-x64.bin on a fresh Ubuntu 14.04.3 x64 droplet on digital ocean.


author: Nic Brough -Adaptavist-
body: Ok, that should all be compatible. Can you have a look at what it has installed? Where has it all gone to and how are you running it? (What's the startup script?)


author: zaklampert
body: not exactly sure what you're asking me...

when i run start-confluence.sh -fg i get these logs

```
executing using dedicated user: confluenceIf you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+GuideServer startup logs are located in /opt/atlassian/confluence/logs/catalina.outUsing CATALINA_BASE:   /opt/atlassian/confluenceUsing CATALINA_HOME:   /opt/atlassian/confluenceUsing CATALINA_TMPDIR: /opt/atlassian/confluence/tempUsing JRE_HOME:        /opt/atlassian/confluence/jre/Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jarUsing CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid25-Jan-2016 14:21:19.974 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.25-Jan-2016 14:21:20.089 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.25-Jan-2016 14:21:20.104 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.25-Jan-2016 14:21:20.110 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.25-Jan-2016 14:21:20.155 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.25-Jan-2016 14:21:20.708 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]25-Jan-2016 14:21:20.739 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read25-Jan-2016 14:21:20.742 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 862 ms25-Jan-2016 14:21:20.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone25-Jan-2016 14:21:20.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.282016-01-25 14:21:32,947 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.9.4 [build 6211 based on commit hash 3938a2601e8fc8d1decf2078567a8651fae8f539]25-Jan-2016 14:21:42.381 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]25-Jan-2016 14:21:42.389 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 21647 ms
```


Tags: confluence-administration