Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-79081

BeanLocator is null, portal failed to start with MS SQL 2016

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:

      Description

      Configuration with MS SQL 2016 is saved successfully, in console isn't any problem. But after restart portal failed.

      Requirements

      I tried both, using integrated authentication, and using auth with username and password, both have same result.

      Steps to reproduce:

      • Download and run liferay-portal-tomcat bundle (don't configure db)
      • Basic configuration page is opened
      • To connector set jdbc:sqlserver://localhost;databaseName=lportal
      • Write username and password
      • Save configuration, it should be ok and configuration is saved
      • Restart tomcat

      Actual Result:
      Portal failed in start up, logs:

      14-Mar-2018 11:04:58.090 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28\lib\ext\global], exists: [false], isDirectory: [false], canRead: [false]
      14-Mar-2018 11:04:58.136 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28\lib\ext\global], exists: [false], isDirectory: [false], canRead: [false]
                                                                                                            14-Mar-2018 11:05:00.998 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.28
      14-Mar-2018 11:05:00.999 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 6 2018 23:10:25 UTC
      14-Mar-2018 11:05:01.000 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.28.0
      14-Mar-2018 11:05:01.001 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows Server 2016
      14-Mar-2018 11:05:01.002 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
      14-Mar-2018 11:05:01.002 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
      14-Mar-2018 11:05:01.003 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk1.8.0_161\jre
      14-Mar-2018 11:05:01.003 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_161-b12
      14-Mar-2018 11:05:01.004 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
      14-Mar-2018 11:05:01.004 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28
      14-Mar-2018 11:05:01.004 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28
      14-Mar-2018 11:05:01.006 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28\conf\logging.properties
      14-Mar-2018 11:05:01.007 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
      14-Mar-2018 11:05:01.007 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
      14-Mar-2018 11:05:01.008 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
      14-Mar-2018 11:05:01.008 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
      14-Mar-2018 11:05:01.008 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28
      14-Mar-2018 11:05:01.011 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28
      14-Mar-2018 11:05:01.016 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28\temp
      14-Mar-2018 11:05:01.017 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3].
      14-Mar-2018 11:05:01.018 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
      14-Mar-2018 11:05:01.018 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
      14-Mar-2018 11:05:02.268 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m  2 Nov 2017]
      14-Mar-2018 11:05:03.908 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
      14-Mar-2018 11:05:04.899 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
      14-Mar-2018 11:05:04.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
      14-Mar-2018 11:05:04.947 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
      14-Mar-2018 11:05:04.948 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 6429 ms
      14-Mar-2018 11:05:05.103 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
      14-Mar-2018 11:05:05.104 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.28
      14-Mar-2018 11:05:05.138 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28\conf\Catalina\localhost\ROOT.xml]
      14-Mar-2018 11:05:48.087 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
      Loading jar:file:/C:/Users/Administrator/Downloads/Liferay/apache-tomcat-8.5.28/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      Loading jar:file:/C:/Users/Administrator/Downloads/Liferay/apache-tomcat-8.5.28/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      Loading jar:file:/C:/Users/Administrator/Downloads/Liferay/apache-tomcat-8.5.28/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading file:/C:/Users/Administrator/Downloads/Liferay/portal-setup-wizard.properties
      2018-03-14 11:05:56.582 INFO  [localhost-startStop-1][HikariDataSource:95] HikariPool-1 - Starting...
      2018-03-14 11:05:57.698 INFO  [localhost-startStop-1][HikariDataSource:107] HikariPool-1 - Start completed.
      2018-03-14 11:05:57.724 INFO  [localhost-startStop-1][DialectDetector:77] Determine dialect for Microsoft SQL Server 13.0
      2018-03-14 11:05:58.344 INFO  [localhost-startStop-1][DialectDetector:155] Found dialect org.hibernate.dialect.SQLServerDialect
      2018-03-14 11:05:58.986 INFO  [localhost-startStop-1][HikariDataSource:317] HikariPool-1 - Shutdown initiated...
      2018-03-14 11:05:58.998 INFO  [localhost-startStop-1][HikariDataSource:319] HikariPool-1 - Shutdown completed.
      14-Mar-2018 11:05:58.999 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.liferay.portal.spring.context.PortalContextLoaderListener]
       java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.util.InfrastructureUtil' defined in class path resource [META-INF/infrastructure-spring.xml]: Cannot resolve reference to bean 'liferayTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unsupported database type sqlserver
              at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:262)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4753)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.util.InfrastructureUtil' defined in class path resource [META-INF/infrastructure-spring.xml]: Cannot resolve reference to bean 'liferayTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unsupported database type sqlserver
              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
              at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
              at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
              at com.liferay.portal.spring.context.ArrayApplicationContext.<init>(ArrayApplicationContext.java:31)
              at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:247)
              ... 13 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unsupported database type sqlserver
              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
              at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
              at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
              ... 29 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unsupported database type sqlserver
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
              ... 41 more
      Caused by: java.lang.IllegalArgumentException: Unsupported database type sqlserver
              at com.liferay.portal.dao.db.DBManagerImpl.getDB(DBManagerImpl.java:117)
              at com.liferay.portal.kernel.dao.db.DBManagerUtil.setDB(DBManagerUtil.java:78)
              at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.newConfiguration(PortalHibernateConfiguration.java:151)
              at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:505)
              at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:79)
              at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:189)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1631)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)
              ... 48 more
      
      14-Mar-2018 11:05:59.039 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
      14-Mar-2018 11:05:59.300 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
      2018-03-14 11:05:59.430 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:27)
              at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:135)
              at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4800)
              at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5437)
              at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      2018-03-14 11:05:59.441 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:53)
              at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:142)
              at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4800)
              at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5437)
              at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      2018-03-14 11:05:59.451 ERROR [localhost-startStop-1][PortalBeanLocatorUtil:109] BeanLocator is null
      14-Mar-2018 11:05:59.452 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class [com.liferay.portal.spring.context.PortalContextLoaderListener]
       com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set
              at com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate(PortalBeanLocatorUtil.java:74)
              at com.liferay.portal.spring.context.PortalContextLoaderListener.closeDataSource(PortalContextLoaderListener.java:381)
              at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:155)
              at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4800)
              at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5437)
              at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
              at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      
      14-Mar-2018 11:05:59.467 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [mssql-jdbc-TimeoutTimer-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
       sun.misc.Unsafe.park(Native Method)
       java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
       java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
       java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
       java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
       java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
       java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
       java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       java.lang.Thread.run(Thread.java:748)
      14-Mar-2018 11:05:59.503 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor [C:\Users\Administrator\Downloads\Liferay\apache-tomcat-8.5.28\conf\Catalina\localhost\ROOT.xml] has finished in [54,363] ms
      14-Mar-2018 11:05:59.517 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
      14-Mar-2018 11:05:59.542 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
      14-Mar-2018 11:05:59.549 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 54601 ms
      

      Expected result

      • Throw some error if configuration is saved, or
      • Start liferay successfully

      Environment:

      • MS server 2016
      • Oracle jdk 8.161
      • Liferay portal nightly 12-Mar-2018, 63becb8353e57714bf179233e4b54ad73d6919b1

      Priority: S4 + L3 = 4

        Attachments

          Activity

            People

            Assignee:
            hong.zhao Hong Zhao (Inactive)
            Reporter:
            michal.kalita Michal Kalita
            Participants of an Issue:
            Recent user:
            JR Houn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 44 weeks, 4 days ago

                Packages

                Version Package