Installing Confluence with MSSQL not successful
Asked by Roland Frigo:

Hi i'm trying to install Confluence 6.11.0 with MS SQL Server. The connection Test to the database was successful. When Tomcat starts, i get an ERROR. In the CMD Log i see: 01-Sep-2018 15:43:27.387 SCHWERWIEGEND \[http-nio-8090-exec-6\] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage\[errorCode=500, location=/500page.jsp\]  
org.apache.jasper.JasperException: An exception occurred processing \[/500page.jsp\] at line \[120\]

Please Help


Answers:
author: AhmadDanial
body: Hi there, Roland.

To help us understand the installation error that you are running into with SQL Server, can you provide more information here?

* What version of SQL Server are you using on your end?
* Can you provide a more detailed log message after the line you shared so we can understand it better?
* Any other information that you can share about the environment that you are running on? The OS Confluence is installed, how you installed Confluence, etc.

Looking forward to hear from you soon.

comments: author: Roland Frigo
body: Hi Ahmad,

I'm using

* MS SQL Server 2017 Express
* Windows 10 Home Version 1803, on Intel Core i7-7500 CPU@2.7GHz, 16 GB RAM

I hope you can help. Thank you very much.

Roland

Hier the Logs from today:

```
03-Sep-2018 21:06:10.732 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
03-Sep-2018 21:06:10.810 WARNUNG [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
03-Sep-2018 21:06:10.920 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
03-Sep-2018 21:06:10.920 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
03-Sep-2018 21:06:10.951 WARNUNG [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.
03-Sep-2018 21:06:10.982 WARNUNG [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.
03-Sep-2018 21:06:11.232 INFORMATION [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
03-Sep-2018 21:06:11.357 INFORMATION [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Sep-2018 21:06:11.373 INFORMATION [main] org.apache.catalina.startup.Catalina.load Initialization processed in 749 ms
03-Sep-2018 21:06:11.388 INFORMATION [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat-Standalone]
03-Sep-2018 21:06:11.388 INFORMATION [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.10
03-Sep-2018 21:06:13.232 INFORMATION [localhost-startStop-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.
03-Sep-2018 21:06:13.575 INFORMATION [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: [com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@48c3bf0c]
03-Sep-2018 21:06:13.888 INFORMATION [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'
03-Sep-2018 21:06:13.888 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started
03-Sep-2018 21:06:13.888 INFORMATION [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Mon Sep 03 21:06:13 CEST 2018]; root of context hierarchy
03-Sep-2018 21:06:13.982 INFORMATION [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]
03-Sep-2018 21:06:14.716 INFORMATION [localhost-startStop-2] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService? 'defaultSockJsTaskScheduler'
03-Sep-2018 21:06:14.778 INFORMATION [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]
03-Sep-2018 21:06:14.981 INFORMATION [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()
03-Sep-2018 21:06:14.981 INFORMATION [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)
03-Sep-2018 21:06:15.450 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler]
03-Sep-2018 21:06:15.497 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Mon Sep 03 21:06:13 CEST 2018]; root of context hierarchy
03-Sep-2018 21:06:15.669 INFORMATION [localhost-startStop-2] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647
03-Sep-2018 21:06:15.716 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1828 ms
03-Sep-2018 21:06:25.438 INFORMATION [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
03-Sep-2018 21:06:25.438 INFORMATION [main] org.apache.catalina.startup.Catalina.start Server startup in 14071 ms
03-Sep-2018 21:11:14.971 SCHWERWIEGEND [http-nio-8090-exec-4] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage[errorCode=500, location=/500page.jsp]
?org.apache.jasper.JasperException: An exception occurred processing [500page.jsp] at line [120]117:
118:???????? ?if (sysInfoService != null)
119:???????? ?{
120: ???????? ?confluenceInfo = sysInfoService.getConfluenceInfo();
121: ???????? ?memoryInfo = sysInfoService.getMemoryInfo();
122: ???????? ?dbInfo = sysInfoService.getSafeDatabaseInfo();
123:???????????????? sysinfo = GeneralUtil.convertBeanToMap(sysInfoService.getSystemProperties());
Stacktrace:
?at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:593)
?at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:482)
?at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
?at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
?at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
?at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
?at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
?at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
?at com.atlassian.confluence.util.profiling.ProfilingSiteMeshFilter.doFilter(ProfilingSiteMeshFilter.java:50)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
?at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:88)
?at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.applyFilter(ConfluenceSecurityFilter.java:39)
?at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:29)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
?at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:64)
?at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)
?at com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter.doFilter(JohnsonServletFilterModuleContainerFilter.java:50)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:65)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:54)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)
?at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
?at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
?at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
?at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
?at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
?at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394)
?at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253)
?at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:348)
?at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)
?at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
?at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
?at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
?at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
?at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
?at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
?at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
?at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
?at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
?at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
?at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
?at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.CompletionException: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException] is not allowed.
?at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
?at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
?at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:824)
?at java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:834)
?at java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2155)
?at java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:110)
?at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.foldResult(CompletionStageUtils.java:19)
?at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.get(SynchronousExternalCache.java:236)
?at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:78)
?at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:71)
?at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)
?at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)
?at com.atlassian.confluence.setup.settings.DefaultSettingsManager.getGlobalSettings(DefaultSettingsManager.java:40)
?at com.atlassian.confluence.status.service.DefaultSystemInformationService.getConfluenceInfo(DefaultSystemInformationService.java:109)
?at org.apache.jsp._500page_jsp._jspService(_500page_jsp.java:309)
?at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
?at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
?at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:444)
?... 72 more
Caused by: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException] is not allowed.
?at com.atlassian.confluence.tenant.TenantGate$1.lambda$create$0(TenantGate.java:43)
?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
?at com.sun.proxy.$Proxy150.getCurrentSession(Unknown Source)
?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
?at java.lang.reflect.Method.invoke(Method.java:498)
?at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
?at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
?at com.sun.proxy.$Proxy150.getCurrentSession(Unknown Source)
?at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:344)
?at org.springframework.orm.hibernate5.HibernateTemplate.execute(HibernateTemplate.java:313)
?at com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao.getRecord(HibernateConfluenceBandanaRecordDao.java:42)
?at com.atlassian.confluence.setup.bandana.ConfluenceDaoBandanaPersister.retrieve(ConfluenceDaoBandanaPersister.java:29)
?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
?at java.lang.reflect.Method.invoke(Method.java:498)
?at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
?at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
?at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
?at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
?at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
?at com.sun.proxy.$Proxy151.retrieve(Unknown Source)
?at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.lambda$retrieve$0(ConfluenceCachingBandanaPersister.java:80)
?at com.atlassian.confluence.impl.vcache.SynchronousExternalCache.lambda$get$11(SynchronousExternalCache.java:239)
?at com.atlassian.confluence.impl.concurrency.CompletionStageUtils.lambda$foldResult$0(CompletionStageUtils.java:19)
?at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822)
?... 87 more
```


author: AhmadDanial
body: Hi there, Roland.

Pardon me for the radio silence. For now, let us go through a KB that is written specifically addresses the Caused by error that we are seeing in the log snippet you shared:

* [Confluence generates Confluence is vacant error on install](https://confluence.atlassian.com/confkb/confluence-generates-confluence-is-vacant-error-on-install-779164449.html)

Please go through the diagnosis section first before applying the resolution. If you need any clarification on any of the steps, please let me know. Thanks.


author: Roland Frigo
body: Hi Ahnad,

No Problem, i was also on vacation. I tried the KB Tip. Host Name was not avaiable with ping. The i changed the host file (diffrent Location then Linux in Windows). The check with ping was ok.

Then i retryed the Installation, but again an ERROR. I think now a diffrent. See log below.

Can you help on this too? Thank you!

```
11-Sep-2018 20:11:37.996 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.074 WARNUNG [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.183 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.183 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.230 WARNUNG [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.
11-Sep-2018 20:11:38.246 WARNUNG [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.
11-Sep-2018 20:11:38.496 INFORMATION [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
11-Sep-2018 20:11:38.621 INFORMATION [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Sep-2018 20:11:38.637 INFORMATION [main] org.apache.catalina.startup.Catalina.load Initialization processed in 769 ms
11-Sep-2018 20:11:38.637 INFORMATION [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat-Standalone]
11-Sep-2018 20:11:38.637 INFORMATION [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.10
11-Sep-2018 20:11:40.527 INFORMATION [localhost-startStop-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.
11-Sep-2018 20:11:40.886 INFORMATION [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: [com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@6a9957b1]
11-Sep-2018 20:11:41.199 INFORMATION [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'
11-Sep-2018 20:11:41.214 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started
11-Sep-2018 20:11:41.214 INFORMATION [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Sep 11 20:11:41 CEST 2018]; root of context hierarchy
11-Sep-2018 20:11:41.308 INFORMATION [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]
11-Sep-2018 20:11:42.030 INFORMATION [localhost-startStop-2] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService? 'defaultSockJsTaskScheduler'
11-Sep-2018 20:11:42.092 INFORMATION [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]
2018-09-11 20:11:42,561 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.11.0 [build 7801 based on commit hash 0ac8ad8167063a2d16fb426a10b9044cf4bf1b17] - synchrony version 2.1.0-master-cdbe2074
11-Sep-2018 20:11:42.702 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Sep 11 20:11:41 CEST 2018]; root of context hierarchy
11-Sep-2018 20:11:42.827 INFORMATION [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()
11-Sep-2018 20:11:42.842 INFORMATION [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)
11-Sep-2018 20:11:42.858 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler]
11-Sep-2018 20:11:42.967 INFORMATION [localhost-startStop-2] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647
11-Sep-2018 20:11:43.014 INFORMATION [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1800 ms
11-Sep-2018 20:11:52.859 INFORMATION [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
11-Sep-2018 20:11:52.874 INFORMATION [main] org.apache.catalina.startup.Catalina.start Server startup in 14239 ms
11-Sep-2018 20:14:53.257 WARNUNG [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio-8090-exec-2] (id=[35]) has been active for [62,574] milliseconds (since [9/11/18 8:13 PM]) to serve the same request for [http://localhost:8090/setup/setupdbtype.action] and may be stuck (configured threshold for this StuckThreadDetectionValve is [60] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.
?java.lang.Throwable
??????? at java.io.WinNTFileSystem.getLastModifiedTime(Native Method)
??????? at java.io.File.lastModified(File.java:943)
??????? at java.util.zip.ZipFile.<init>(ZipFile.java:225)
??????? at java.util.zip.ZipFile.<init>(ZipFile.java:155)
??????? at java.util.jar.JarFile.<init>(JarFile.java:166)
??????? at java.util.jar.JarFile.<init>(JarFile.java:130)
??????? at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance

```


author: AhmadDanial
body: Hi, Roland.

No worries. I just got back from a week off as well. Thanks for attaching the log snippet here for review. What we are seeing here is a WARNING rather than an ERROR actually. Looking at the specific lines that you shared:

```
11-Sep-2018 20:11:37.996 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.074 WARNUNG [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.183 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.183 WARNUNG [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
11-Sep-2018 20:11:38.230 WARNUNG [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.
11-Sep-2018 20:11:38.246 WARNUNG [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.
```

This seems to be related to the [CONFSERVER-35172: WARNING: \[SetPropertiesRule\] {Server} Setting property 'debug' to '0' did not find a matching property.](https://jira.atlassian.com/browse/CONFSERVER-35172) which should not affect the installation of Confluence Server. May I know if you have gone through the steps listed in the following KB to ensure that Confluence is running and accessible?

* [How to check the Confluence application is running](https://confluence.atlassian.com/confkb/how-to-check-the-confluence-application-is-running-830153179.html?_ga=2.265627143.964104600.1537141007-575207737.1536291842)

Moving forward with the next WARNING you are seeing:

```
11-Sep-2018 20:14:53.257 WARNUNG [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio-8090-exec-2] (id=[35]) has been active for [62,574] milliseconds (since [9/11/18 8:13 PM]) to serve the same request for [http://localhost:8090/setup/setupdbtype.action] and may be stuck (configured threshold for this StuckThreadDetectionValve is [60] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.
?java.lang.Throwable
??????? at java.io.WinNTFileSystem.getLastModifiedTime(Native Method)
??????? at java.io.File.lastModified(File.java:943)
??????? at java.util.zip.ZipFile.<init>(ZipFile.java:225)
??????? at java.util.zip.ZipFile.<init>(ZipFile.java:155)
??????? at java.util.jar.JarFile.<init>(JarFile.java:166)
??????? at java.util.jar.JarFile.<init>(JarFile.java:130)
??????? at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance
```

This warning indicates that there is a *StuckThreadDetectionValve* thread with the id-35 has been running for more than the default threshold (62.574 vs 60 seconds). While this does not indicate any specific issues with Confluence, can you please explain in detail on the issue that you observe in Confluence? Is the any error messages when you try to set it up from the web browser?

Any other concerning ERRORs that you observe from the **atlassian-confluence.log**that you noticed that might be of help to determine the actual problem that you are facing here?


author: Roland Frigo
body: Hi Ahnad,

It is a little bit frustrating. but i like to bring it up and running.

When i start http://localhost:8090/setup/setupdbchoice-start.action

Enter the data to connet database, test connetion successful, Continue.... after a while...

i get :

HTTP Status 500 -- Internal Server Error {#toc-hId-1845193808}
--------------------------------------------------------------

*** ** * ** ***

**Type** Exception Report

**Message** Cannot call sendError() after the response has been committed

**Description** The server encountered an unexpected condition that prevented it from fulfilling the request.

The atlassian-confluence.log says 6 ERRORS

2018-10-03 21:47:33,529 ERROR \[http-nio-8090-exec-6\] \[atlassian.confluence.setup.DefaultHibernateConfigurator\] createConfluenceSchema Error while creating database schema

2018-10-03 21:47:33,556 ERROR \[http-nio-8090-exec-6\] \[confluence.setup.actions.SetupDBTypeAction\] setupDatabase Unable to bootstrap standard database

2018-10-03 21:47:33,643 ERROR \[http-nio-8090-exec-6\] \[engine.jdbc.spi.SqlExceptionHelper\] logExceptions The SELECT permission was denied on the object 'BANDANA', database 'confluence', schema 'dbo'.

2018-10-03 21:47:33,707 ERROR \[http-nio-8090-exec-6\] \[confluence.util.profiling.ProfilingSiteMeshFilter\] doFilter Application context has not been initialized:

2018-10-03 21:47:33,727 ERROR \[http-nio-8090-exec-6\] \[\[Standalone\].\[localhost\].\[/\].\[action\]\] log Servlet.service() for servlet \[action\] in context with path \[\] threw exception  
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed

<br />

2018-10-03 21:47:33,926 ERROR \[http-nio-8090-exec-1\] \[atlassian.confluence.util.AbstractBootstrapHotSwappingFilter\] doFilter Could not get swap target filter

Thank you for your Support

Roland


Tags: confluence-server

server