I have seen a couple people had this problem, but a solution did not come to me.
I installed confluence on an aws instance ( ubuntu 16.04 ) and as far as i read the logs, i do not see an error.
i followed the instructions on https://confluence.atlassian.com/doc/installing-confluence-on-linux-from-archive-file-255362363.html
When i start the process i geht following lines in Terminal:
To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing as current user
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 /var/www/html/confluence/logs/catalina.out
---------------------------------------------------------------------------
Using Java: /usr/bin/java
2018-06-14 12:22:56,969 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /var/www/html/confluence/conf/server.xml. No further action is required
---------------------------------------------------------------------------
Using CATALINA_BASE: /var/www/html/confluence
Using CATALINA_HOME: /var/www/html/confluence
Using CATALINA_TMPDIR: /var/www/html/confluence/temp
Using JRE_HOME: /usr
Using CLASSPATH: /var/www/html/confluence/bin/bootstrap.jar:/var/www/html/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /var/www/html/confluence/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
And the log file looks like this:
14-Jun-2018 12:18:03.571 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
14-Jun-2018 12:18:03.585 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 10382 ms
14-Jun-2018 12:21:56.844 INFO [Thread-16] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8090"]
14-Jun-2018 12:21:56.849 INFO [Thread-16] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat-Standalone
14-Jun-2018 12:21:56.859 INFO [localhost-startStop-4] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'
14-Jun-2018 12:21:56.860 INFO [localhost-startStop-4] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.doClose Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Thu Jun 14 12:17:55 UTC 2018]; root of context hierarchy
14-Jun-2018 12:21:56.860 INFO [localhost-startStop-4] org.springframework.context.support.DefaultLifecycleProcessor.stop Stopping beans in phase 2147483647
14-Jun-2018 12:21:56.862 INFO [localhost-startStop-4] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.shutdown Shutting down ExecutorService 'defaultSockJsTaskScheduler'
14-Jun-2018 12:21:57.121 WARNING [localhost-startStop-3] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
14-Jun-2018 12:21:57.137 INFO [Thread-16] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8090"]
14-Jun-2018 12:21:57.162 INFO [Thread-16] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8090"]
14-Jun-2018 12:22:57.322 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
14-Jun-2018 12:22:57.401 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
14-Jun-2018 12:22:57.420 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
14-Jun-2018 12:22:57.425 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.
14-Jun-2018 12:22:57.466 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.
14-Jun-2018 12:22:57.493 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.
14-Jun-2018 12:22:57.812 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
14-Jun-2018 12:22:57.842 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
14-Jun-2018 12:22:57.844 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 603 ms
14-Jun-2018 12:22:57.853 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone
14-Jun-2018 12:22:57.854 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.51
14-Jun-2018 12:22:59.736 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: [com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@2276f73]
2018-06-14 12:23:00,553 INFO [localhost-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
2018-06-14 12:23:01,862 WARN [localhost-startStop-2] [apache.catalina.util.SessionIdGeneratorBase] log Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,836] milliseconds.
14-Jun-2018 12:23:02.019 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'
14-Jun-2018 12:23:02.021 INFO [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started
14-Jun-2018 12:23:02.031 INFO [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Thu Jun 14 12:23:02 UTC 2018]; root of context hierarchy
14-Jun-2018 12:23:02.078 INFO [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]
14-Jun-2018 12:23:02.615 INFO [localhost-startStop-2] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'
14-Jun-2018 12:23:02.691 INFO [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]
14-Jun-2018 12:23:03.222 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]
14-Jun-2018 12:23:03.273 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Thu Jun 14 12:23:02 UTC 2018]; root of context hierarchy
14-Jun-2018 12:23:03.360 INFO [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)
14-Jun-2018 12:23:03.365 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()
14-Jun-2018 12:23:03.433 INFO [localhost-startStop-2] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647
14-Jun-2018 12:23:03.464 INFO [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1443 ms
2018-06-14 12:23:04,348 INFO [localhost-startStop-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$populateExistingClusterSetupConfig$1 Populating setup configuration if running with Cluster mode...
2018-06-14 12:23:04,349 WARN [localhost-startStop-1] [atlassian.confluence.cluster.DefaultClusterConfigurationHelper] lambda$populateExistingClusterSetupConfig$1 Could not find shared config file.
14-Jun-2018 12:23:09.933 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
14-Jun-2018 12:23:09.946 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 12101 ms
Port 8090 is allowed...
As is suppose, that is a beginners fail - where else can i find a source for this error?
I am not AWS expert but from the basics, Please check if you have set up Security Group, Inbound rules correctly. If you don't set Inbound traffic, you cant access it.
Thanx for your fast reply. i added port 80, 443 and 8090 for outbound and have no restrictions for inbound.
I will try to find other info in the server logs maybe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have also seen problems when having chosen wrong subnet, VPC or Availability zone. Make sure all components you are using correct ones and in the correct zone. It seems like it is not application issue but Infrastructure config. You should contact a local AWS expert, they can fix these issues quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i created from scratch another instance and used this installation guide:
https://wiki2.easycloudsolutions.com/display/ECW/How+to+Install+Atlassian+Confluence+on+Amazon+EC2
Now it works, i guess it was really an error in the aws configuration.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was surely AWS config error. Its very usual to encounter such problems when you are trying out for the first time. We often do small unnoticeable errors which results into spending hours or days to fix it. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.