Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

confluence not available

zaklampert January 22, 2016

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 complete
Your installation of Confluence 5.9.4 is now ready and can be accessed via
your browser.
Confluence 5.9.4 can be accessed at http://localhost:8090
Finishing installation ...

 

Any reason why this wouldn't be working?

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2016

Does it say anything after that in the  log?  Do you have any firewalls running that might block it?

zaklampert January 22, 2016
tail /opt/atlassian/confluence/logs/catalina.2016-01-22.log -f

22-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/read

22-Jan-2016 15:08:58.099 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 743 ms

22-Jan-2016 15:08:58.112 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone

22-Jan-2016 15:08:58.112 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.28

22-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
zaklampert January 22, 2016

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

 

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2016

Ok, that says Confluence is running within Tomcat, but what does the Confluence log say?

zaklampert January 22, 2016
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 set

2016-01-22 15:08:48,119 INFO [localhost-startStop-2] [com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence

2016-01-22 15:08:48,128 INFO [localhost-startStop-2] [atlassian.plugin.manager.DefaultPluginManager] shutdown Preparing to shut down the plugin system

2016-01-22 15:08:48,129 INFO [localhost-startStop-2] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system

2016-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 begun

2016-01-22 15:09:13,376 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup finished in 0:00:03.788

2016-01-22 15:09:13,377 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup begun

2016-01-22 15:09:14,760 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup finished in 0:00:01.383

2016-01-22 15:50:07,428 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2016

There should be a lot more than that in the log, it looks like it's not starting in full.

zaklampert January 25, 2016

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 set

2016-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)
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2016

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?

zaklampert January 25, 2016

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

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2016

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?)

 

zaklampert January 25, 2016

not exactly sure what you're asking me...

 

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

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 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

25-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/read

25-Jan-2016 14:21:20.742 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 862 ms

25-Jan-2016 14:21:20.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone

25-Jan-2016 14:21:20.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.28

2016-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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events