Confluence Server installation for Windows fails
Asked by Robert Lauriston:

Ran the installer as administrator. Did not install as a service. It completed successfully but Confluence won't start. I've installed Confluence Server a hundred times in the past, but this is the first time in maybe three years.

atlassian-confluence-7.4.1-x64.exe, Windows 10 Pro 1909

First several errors in atlassian-confluence.log:

018-06-28 15:20:15,632 WARN \[http-nio-8090-exec-6\] \[webresource\] findItChangesArguments cyclic plugin resource dependency has been detected with: com.atlassian.confluence.editor:editor-resources, stack trace: \[_context:editor-v3, confluence.extra.jira:jiraAnalytics, com.atlassian.confluence.editor:editor-resources, com.atlassian.confluence.editor:editor-resources-v4, com.atlassian.confluence.plugins.confluence-link-browser:link-browser-conf-frontend, com.atlassian.confluence.plugins.confluence-link-browser:link-browser-resources\]  
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ds \| url: /rest/webResources/1.0/resources \| traceId: 9f6dca096a6fd32a \| userName: admin  
2018-06-28 15:20:15,634 WARN \[http-nio-8090-exec-6\] \[webresource\] findItChangesArguments cyclic plugin resource dependency has been detected with: com.atlassian.confluence.editor:editor-resources, stack trace: \[_context:editor-v3, confluence.extra.jira:jiraAnalytics, com.atlassian.confluence.editor:editor-resources, com.atlassian.confluence.editor:editor-resources-v4, com.atlassian.confluence.plugins.confluence-link-browser:link-browser-conf-frontend, com.atlassian.confluence.plugins.confluence-link-browser:link-browser-resources\]  
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ds \| url: /rest/webResources/1.0/resources \| traceId: 9f6dca096a6fd32a \| userName: admin  
2018-06-28 15:20:21,392 WARN \[http-nio-8090-exec-7\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:  
-\>\[null\]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1517039151)  
-- referer: http://localhost:8090/pages/resumedraft.action?draftId=65583\&draftShareId=a9038c6b-29b5-48d6-8a5e-b5d390fc28b8 \| url: /json/deletedraft.action \| traceId: d47d4c8e1a85d11b \| userName: admin  
2018-06-28 15:20:21,404 ERROR \[http-nio-8090-exec-7\] \[atlassian.confluence.servlet.ConfluenceServletDispatcher\] sendError Could not execute action  
-- referer: http://localhost:8090/pages/resumedraft.action?draftId=65583\&draftShareId=a9038c6b-29b5-48d6-8a5e-b5d390fc28b8 \| url: /json/deletedraft.action \| traceId: d47d4c8e1a85d11b \| userName: admin  
com.atlassian.confluence.core.service.NotValidException: No draft found for id : 65583  
at com.atlassian.confluence.content.service.DefaultDraftService.getDraft(DefaultDraftService.java:238)

...

2018-06-28 15:20:35,299 ERROR \[http-nio-8090-exec-9\] \[\[Standalone\].\[localhost\].\[/\].\[file-server\]\] log Servlet.service() for servlet file-server threw exception  
-- referer: http://localhost:8090/pages/createpage.action?useDraft=true\&spaceKey=SCRAT\&draftId=65594\&draftShareId=\&\& \| url: /s/967929466b9378a0c21bac061e751fc5-CDN/en_GB/7701/88819522251e178b5cc83bc1e3ddc18a884c1aed/6fa48ee2246d68ccf2fc6fb1447ff1bd/_/download/contextbatch/css/editor-v3,atl.general,editor,macro-browser,main,page,-_super/batch.css \| traceId: c0bf6f95289eaaf4 \| userName: admin  
java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine  
at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:140)

...

2018-06-28 15:20:35,308 ERROR \[http-nio-8090-exec-9\] \[\[Standalone\].\[localhost\].\[/\].\[noop\]\] log Servlet.service() for servlet \[noop\] in context with path \[\] threw exception  
java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine  
at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:140)

...

2018-06-28 15:24:05,655 ERROR \[http-nio-8090-exec-3\] \[\[Standalone\].\[localhost\].\[/\].\[file-server\]\] log Servlet.service() for servlet file-server threw exception  
-- referer: http://localhost:8090/plugins/servlet/upm/marketplace \| url: /s/09bc020e9ac3352be3da5f701feca4b1-CDN/en_GB/7701/88819522251e178b5cc83bc1e3ddc18a884c1aed/9b857e15bf89e93a26bd103111e96f03/_/download/contextbatch/css/admin,atl.admin,-_super/batch.css \| traceId: 10fe7498985c19f2 \| userName: admin  
java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine  
at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:140)

No errors in atlassian-synchrony.log:

2020-07-08 10:43:03,622 DEBUG \[503:StdOutHandler \[C:\\Program Files\\Atlassian\\Confluence\\jre\\bin\\java.exe\]\] Synchrony server started.  
2020-07-08 10:43:04,861 DEBUG \[503:StdOutHandler \[C:\\Program Files\\Atlassian\\Confluence\\jre\\bin\\java.exe\]\] 2020-07-08 17:43:04,861 INFO \[async-dispatch-4\] \[synchrony.middleware.logging\] {:request {:remote-addr "127.0.0.1", :uri "/synchrony/heartbeat", :request-method :get, :query-string nil}, :response {:status 200}}  
2020-07-08 10:43:04,904 DEBUG \[503:StdOutHandler \[C:\\Program Files\\Atlassian\\Confluence\\jre\\bin\\java.exe\]\] 2020-07-08 17:43:04,904 INFO \[async-dispatch-3\] \[synchrony.middleware.logging\] {:request {:remote-addr "127.0.0.1", :uri "/synchrony/jwt-key", :request-method :get, :query-string nil}, :response {:status 200}}

Tomcat output:

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED  
\[0.005s\]\[warning\]\[gc\] -Xloggc is deprecated. Will use -Xlog:gc:C:\\Program Files\\Atlassian\\Confluence\\bin\\..\\logs\\gc-2020.07.08_10.35.27.log instead.  
08-Jul-2020 10:35:28.404 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server\] failed to set property \[debug\] to \[0\]  
08-Jul-2020 10:35:28.489 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.  
08-Jul-2020 10:35:28.520 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine\] failed to set property \[debug\] to \[0\]  
08-Jul-2020 10:35:28.520 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host\] failed to set property \[debug\] to \[0\]  
08-Jul-2020 10:35:28.567 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
08-Jul-2020 10:35:28.605 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
08-Jul-2020 10:35:28.990 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]  
08-Jul-2020 10:35:29.307 INFO \[main\] org.apache.catalina.startup.Catalina.load Server initialization in \[1,033\] milliseconds  
08-Jul-2020 10:35:29.307 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Tomcat-Standalone\]  
08-Jul-2020 10:35:29.307 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: \[Apache Tomcat/9.0.33\]  
08-Jul-2020 10:35:33.113 INFO \[Catalina-utility-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.  
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".  
SLF4J: Defaulting to no-operation (NOP) logger implementation  
SLF4J: See <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.  
08-Jul-2020 10:35:33.383 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath  
08-Jul-2020 10:35:33.859 WARNING \[Catalina-utility-2\] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using \[SHA1PRNG\] took \[304\] milliseconds.  
08-Jul-2020 10:35:34.263 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'  
2020-07-08 10:35:35,009 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 7.4.1 \[build 8401 based on commit hash 758836457240a7983be3b3db3463da30107b780e\] - synchrony version 3.1.0-master-022ca438  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.atlassian.hibernate.adapter.proxy.BytecodeProviderImpl_ImplementV2Proxy (file:/C:/Program%20Files/Atlassian/Confluence/confluence/WEB-INF/lib/hibernate.adapter-1.0.3.jar) to field java.lang.reflect.Field.modifiers  
WARNING: Please consider reporting this to the maintainers of com.atlassian.hibernate.adapter.proxy.BytecodeProviderImpl_ImplementV2Proxy  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release


Answers:
author: Robert Lauriston
body: It eventually started with a different problem.


Tags: confluence-server

server