Closed mzch closed 4 years ago
And I tried to login user panel and entered default credentials, but LinShare only pop-up 'Welcome Administrator' and keeps login form. In other word...I can't login.
Hi,
Are you trying to login into ui-admin with the account 'root@localhost.localdomain' and the default password 'adminlinshare' ?
Yes.
Did you look at the logs of Tomcat server ? By default logs are here /var/log/tomcat9/catalina.out
When trying login ui-user, NOT FOUND: The server is temporary not responding
shows.
and admin panel show blank page:
[2019-12-12 01:50:54] [info] Server version name: Apache Tomcat/9.0.16 (Debian)
[2019-12-12 01:50:54] [info] Server built: Jun 13 2019 21:26:12 UTC
[2019-12-12 01:50:54] [info] Server version number: 9.0.16.0
[2019-12-12 01:50:54] [info] OS Name: Linux
[2019-12-12 01:50:54] [info] OS Version: 4.19.0-6-amd64
[2019-12-12 01:50:54] [info] Architecture: amd64
[2019-12-12 01:50:54] [info] Java Home: /usr/lib/jvm/java-11-openjdk-amd64
[2019-12-12 01:50:54] [info] JVM Version: 11.0.5+10-post-Debian-1deb10u1
[2019-12-12 01:50:54] [info] JVM Vendor: Debian
[2019-12-12 01:50:54] [info] CATALINA_BASE: /var/lib/tomcat9
[2019-12-12 01:50:54] [info] CATALINA_HOME: /usr/share/tomcat9
[2019-12-12 01:50:54] [info] Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
[2019-12-12 01:50:54] [info] Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
[2019-12-12 01:50:54] [info] Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[2019-12-12 01:50:54] [info] Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
[2019-12-12 01:50:54] [info] Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[2019-12-12 01:50:54] [info] Command line argument: -Djava.awt.headless=true
[2019-12-12 01:50:54] [info] Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
[2019-12-12 01:50:54] [info] Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
[2019-12-12 01:50:54] [info] Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
[2019-12-12 01:50:54] [info] Command line argument: -Dignore.endorsed.dirs=
[2019-12-12 01:50:54] [info] Command line argument: -Dcatalina.base=/var/lib/tomcat9
[2019-12-12 01:50:54] [info] Command line argument: -Dcatalina.home=/usr/share/tomcat9
[2019-12-12 01:50:54] [info] Command line argument: -Djava.io.tmpdir=/tmp
[2019-12-12 01:50:54] [info] Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
[2019-12-12 01:50:54] [info] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
[2019-12-12 01:50:54] [info] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
[2019-12-12 01:50:54] [info] OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019]
[2019-12-12 01:50:54] [info] Initializing ProtocolHandler ["http-nio-8080"]
[2019-12-12 01:50:54] [crit] Failed to initialize component [Connector[HTTP/1.1-8080]]
[2019-12-12 01:50:54] [crit] org.apache.catalina.LifecycleException: Protocol handler initialization failed
[2019-12-12 01:50:54] [crit] at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.core.StandardService.initInternal(StandardService.java:535)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1055)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.startup.Catalina.load(Catalina.java:589)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.startup.Catalina.load(Catalina.java:612)
[2019-12-12 01:50:54] [crit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2019-12-12 01:50:54] [crit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2019-12-12 01:50:54] [crit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2019-12-12 01:50:54] [crit] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:306)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:491)
[2019-12-12 01:50:54] [crit] Caused by: java.net.BindException: Address already in use
[2019-12-12 01:50:54] [crit] at java.base/sun.nio.ch.Net.bind0(Native Method)
[2019-12-12 01:50:54] [crit] at java.base/sun.nio.ch.Net.bind(Net.java:455)
[2019-12-12 01:50:54] [crit] at java.base/sun.nio.ch.Net.bind(Net.java:447)
[2019-12-12 01:50:54] [crit] at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
[2019-12-12 01:50:54] [crit] at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)
[2019-12-12 01:50:54] [crit] at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:236)
[2019-12-12 01:50:54] [crit] at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210)
[2019-12-12 01:50:54] [crit] at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1085)
[2019-12-12 01:50:54] [crit] at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1098)
[2019-12-12 01:50:54] [crit] at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:557)
[2019-12-12 01:50:54] [crit] at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74)
[2019-12-12 01:50:54] [crit] at org.apache.catalina.connector.Connector.initInternal(Connector.java:980)
[2019-12-12 01:50:54] [crit] ... 13 more
[2019-12-12 01:50:54] [info] Server initialization in [1,270] milliseconds
[2019-12-12 01:50:54] [info] Starting service [Catalina]
[2019-12-12 01:50:54] [info] Starting Servlet engine: [Apache Tomcat/9.0.16 (Debian)]
[2019-12-12 01:50:54] [info] Deploying web application archive [/var/lib/tomcat9/webapps/linshare.war]
[2019-12-12 01:51:05] [info] 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.
[2019-12-12 01:51:05] [info] [INFO]:main:20191212.015105:org.springframework.web.context.ContextLoader:initWebApplicationContext:Root WebApplicationContext: initialization started
[2019-12-12 01:51:07] [info] [INFO]:main:20191212.015107:org.springframework.security.config.SecurityNamespaceHandler:<init>:Spring Security 'config' module version is 5.1.2.RELEASE
[2019-12-12 01:51:09] [info] [WARN]:main:20191212.015109:org.springframework.web.context.support.XmlWebApplicationContext:refresh:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 01:51:09] [info] [ERROR]:main:20191212.015109:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed
[2019-12-12 01:51:09] [info] org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:225)
[2019-12-12 01:51:09] [info] #011at org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:56)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
[2019-12-12 01:51:09] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:286)
[2019-12-12 01:51:09] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)
[2019-12-12 01:51:09] [info] #011at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691)
[2019-12-12 01:51:09] [info] #011at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528)
[2019-12-12 01:51:09] [info] #011at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
[2019-12-12 01:51:09] [info] #011at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
[2019-12-12 01:51:09] [info] #011at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1850)
[2019-12-12 01:51:09] [info] #011at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[2019-12-12 01:51:09] [info] #011at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2019-12-12 01:51:09] [info] #011at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
[2019-12-12 01:51:09] [info] #011at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
[2019-12-12 01:51:09] [info] #011at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2019-12-12 01:51:09] [info] #011at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
[2019-12-12 01:51:09] [info] #011at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.Catalina.start(Catalina.java:638)
[2019-12-12 01:51:09] [info] #011at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2019-12-12 01:51:09] [info] #011at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2019-12-12 01:51:09] [info] #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2019-12-12 01:51:09] [info] #011at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
[2019-12-12 01:51:09] [info] #011at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:496)
[2019-12-12 01:51:09] [info] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 01:51:09] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
[2019-12-12 01:51:09] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:160)
[2019-12-12 01:51:09] [info] #011at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:244)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
[2019-12-12 01:51:09] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225)
[2019-12-12 01:51:09] [info] #011... 51 more
[2019-12-12 01:51:09] [crit] One or more listeners failed to start. Full details will be found in the appropriate container log file
[2019-12-12 01:51:09] [crit] Context [/linshare] startup failed due to previous errors
[2019-12-12 01:51:09] [info] Deployment of web application archive [/var/lib/tomcat9/webapps/linshare.war] has finished in [14,992] ms
[2019-12-12 01:51:09] [info] Deploying web application directory [/var/lib/tomcat9/webapps/ROOT]
[2019-12-12 01:51:10] [info] 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.
[2019-12-12 01:51:10] [info] Deployment of web application directory [/var/lib/tomcat9/webapps/ROOT] has finished in [673] ms
[2019-12-12 01:51:10] [info] Server startup in [15,805] milliseconds
[2019-12-12 02:37:01] [info] Undeploying context [/linshare]
[2019-12-12 02:37:01] [info] Deploying web application archive [/var/lib/tomcat9/webapps/linshare.war]
[2019-12-12 02:37:10] [info] 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.
[2019-12-12 02:37:10] [info] [INFO]:Catalina-utility-1:20191212.023710:org.springframework.web.context.ContextLoader:initWebApplicationContext:Root WebApplicationContext: initialization started
[2019-12-12 02:37:12] [info] [INFO]:Catalina-utility-1:20191212.023712:org.springframework.security.config.SecurityNamespaceHandler:<init>:Spring Security 'config' module version is 5.1.2.RELEASE
[2019-12-12 02:37:13] [info] [WARN]:Catalina-utility-1:20191212.023713:org.springframework.web.context.support.XmlWebApplicationContext:refresh:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 02:37:13] [info] [ERROR]:Catalina-utility-1:20191212.023713:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed
[2019-12-12 02:37:13] [info] org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:225)
[2019-12-12 02:37:13] [info] #011at org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:56)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
[2019-12-12 02:37:13] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:286)
[2019-12-12 02:37:13] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)
[2019-12-12 02:37:13] [info] #011at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691)
[2019-12-12 02:37:13] [info] #011at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528)
[2019-12-12 02:37:13] [info] #011at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
[2019-12-12 02:37:13] [info] #011at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
[2019-12-12 02:37:13] [info] #011at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1850)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2019-12-12 02:37:13] [info] #011at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1621)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1144)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1346)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1350)
[2019-12-12 02:37:13] [info] #011at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1328)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[2019-12-12 02:37:13] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[2019-12-12 02:37:13] [info] #011at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[2019-12-12 02:37:13] [info] #011at java.base/java.lang.Thread.run(Thread.java:834)
[2019-12-12 02:37:13] [info] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 02:37:13] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
[2019-12-12 02:37:13] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:160)
[2019-12-12 02:37:13] [info] #011at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:244)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
[2019-12-12 02:37:13] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225)
[2019-12-12 02:37:13] [info] #011... 38 more
[2019-12-12 02:37:13] [crit] One or more listeners failed to start. Full details will be found in the appropriate container log file
[2019-12-12 02:37:13] [crit] Context [/linshare] startup failed due to previous errors
[2019-12-12 02:37:13] [info] Deployment of web application archive [/var/lib/tomcat9/webapps/linshare.war] has finished in [12,410] ms
[2019-12-12 02:37:34] [info] Undeploying context [/linshare]
[2019-12-12 02:37:34] [info] Deploying web application archive [/var/lib/tomcat9/webapps/linshare.war]
[2019-12-12 02:37:43] [info] 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.
[2019-12-12 02:37:43] [info] [INFO]:Catalina-utility-2:20191212.023743:org.springframework.web.context.ContextLoader:initWebApplicationContext:Root WebApplicationContext: initialization started
[2019-12-12 02:37:44] [info] [INFO]:Catalina-utility-2:20191212.023744:org.springframework.security.config.SecurityNamespaceHandler:<init>:Spring Security 'config' module version is 5.1.2.RELEASE
[2019-12-12 02:37:46] [info] [WARN]:Catalina-utility-2:20191212.023746:org.springframework.web.context.support.XmlWebApplicationContext:refresh:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 02:37:46] [info] [ERROR]:Catalina-utility-2:20191212.023746:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed
[2019-12-12 02:37:46] [info] org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:225)
[2019-12-12 02:37:46] [info] #011at org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:56)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
[2019-12-12 02:37:46] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:286)
[2019-12-12 02:37:46] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)
[2019-12-12 02:37:46] [info] #011at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691)
[2019-12-12 02:37:46] [info] #011at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528)
[2019-12-12 02:37:46] [info] #011at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
[2019-12-12 02:37:46] [info] #011at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
[2019-12-12 02:37:46] [info] #011at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1850)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2019-12-12 02:37:46] [info] #011at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1621)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1144)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1346)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1350)
[2019-12-12 02:37:46] [info] #011at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1328)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[2019-12-12 02:37:46] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[2019-12-12 02:37:46] [info] #011at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[2019-12-12 02:37:46] [info] #011at java.base/java.lang.Thread.run(Thread.java:834)
[2019-12-12 02:37:46] [info] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 02:37:46] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
[2019-12-12 02:37:46] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:160)
[2019-12-12 02:37:46] [info] #011at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:244)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
[2019-12-12 02:37:46] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225)
[2019-12-12 02:37:46] [info] #011... 38 more
[2019-12-12 02:37:46] [crit] One or more listeners failed to start. Full details will be found in the appropriate container log file
[2019-12-12 02:37:46] [crit] Context [/linshare] startup failed due to previous errors
[2019-12-12 02:37:46] [info] Deployment of web application archive [/var/lib/tomcat9/webapps/linshare.war] has finished in [12,318] ms
[2019-12-12 03:41:53] [info] Pausing ProtocolHandler ["http-nio-8080"]
[2019-12-12 03:41:53] [info] Stopping service [Catalina]
[2019-12-12 03:41:53] [info] Stopping ProtocolHandler ["http-nio-8080"]
[2019-12-12 03:41:53] [info] Destroying ProtocolHandler ["http-nio-8080"]
[2019-12-12 03:41:53] [info] 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
[2019-12-12 03:41:54] [info] Server version name: Apache Tomcat/9.0.16 (Debian)
[2019-12-12 03:41:54] [info] Server built: Jun 13 2019 21:26:12 UTC
[2019-12-12 03:41:54] [info] Server version number: 9.0.16.0
[2019-12-12 03:41:54] [info] OS Name: Linux
[2019-12-12 03:41:54] [info] OS Version: 4.19.0-6-amd64
[2019-12-12 03:41:54] [info] Architecture: amd64
[2019-12-12 03:41:54] [info] Java Home: /usr/lib/jvm/java-11-openjdk-amd64
[2019-12-12 03:41:54] [info] JVM Version: 11.0.5+10-post-Debian-1deb10u1
[2019-12-12 03:41:54] [info] JVM Vendor: Debian
[2019-12-12 03:41:54] [info] CATALINA_BASE: /var/lib/tomcat9
[2019-12-12 03:41:54] [info] CATALINA_HOME: /usr/share/tomcat9
[2019-12-12 03:41:54] [info] Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
[2019-12-12 03:41:54] [info] Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
[2019-12-12 03:41:54] [info] Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[2019-12-12 03:41:54] [info] Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
[2019-12-12 03:41:54] [info] Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[2019-12-12 03:41:54] [info] Command line argument: -Djava.awt.headless=true
[2019-12-12 03:41:54] [info] Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
[2019-12-12 03:41:54] [info] Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
[2019-12-12 03:41:54] [info] Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
[2019-12-12 03:41:54] [info] Command line argument: -Dignore.endorsed.dirs=
[2019-12-12 03:41:54] [info] Command line argument: -Dcatalina.base=/var/lib/tomcat9
[2019-12-12 03:41:54] [info] Command line argument: -Dcatalina.home=/usr/share/tomcat9
[2019-12-12 03:41:54] [info] Command line argument: -Djava.io.tmpdir=/tmp
[2019-12-12 03:41:54] [info] Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
[2019-12-12 03:41:54] [info] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
[2019-12-12 03:41:54] [info] APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
[2019-12-12 03:41:54] [info] OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019]
[2019-12-12 03:41:54] [info] Initializing ProtocolHandler ["http-nio-28080"]
[2019-12-12 03:41:54] [info] Server initialization in [862] milliseconds
[2019-12-12 03:41:54] [info] Starting service [Catalina]
[2019-12-12 03:41:54] [info] Starting Servlet engine: [Apache Tomcat/9.0.16 (Debian)]
[2019-12-12 03:41:54] [info] Deploying web application archive [/var/lib/tomcat9/webapps/linshare.war]
[2019-12-12 03:42:03] [info] 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.
[2019-12-12 03:42:03] [info] [INFO]:main:20191212.034203:org.springframework.web.context.ContextLoader:initWebApplicationContext:Root WebApplicationContext: initialization started
[2019-12-12 03:42:05] [info] [INFO]:main:20191212.034205:org.springframework.security.config.SecurityNamespaceHandler:<init>:Spring Security 'config' module version is 5.1.2.RELEASE
[2019-12-12 03:42:07] [info] [WARN]:main:20191212.034207:org.springframework.web.context.support.XmlWebApplicationContext:refresh:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 03:42:07] [info] [ERROR]:main:20191212.034207:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed
[2019-12-12 03:42:07] [info] org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:225)
[2019-12-12 03:42:07] [info] #011at org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:56)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
[2019-12-12 03:42:07] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:286)
[2019-12-12 03:42:07] [info] #011at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)
[2019-12-12 03:42:07] [info] #011at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691)
[2019-12-12 03:42:07] [info] #011at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528)
[2019-12-12 03:42:07] [info] #011at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
[2019-12-12 03:42:07] [info] #011at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
[2019-12-12 03:42:07] [info] #011at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1850)
[2019-12-12 03:42:07] [info] #011at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[2019-12-12 03:42:07] [info] #011at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2019-12-12 03:42:07] [info] #011at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
[2019-12-12 03:42:07] [info] #011at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
[2019-12-12 03:42:07] [info] #011at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[2019-12-12 03:42:07] [info] #011at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
[2019-12-12 03:42:07] [info] #011at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.Catalina.start(Catalina.java:638)
[2019-12-12 03:42:07] [info] #011at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2019-12-12 03:42:07] [info] #011at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2019-12-12 03:42:07] [info] #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2019-12-12 03:42:07] [info] #011at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
[2019-12-12 03:42:07] [info] #011at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:496)
[2019-12-12 03:42:07] [info] Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
[2019-12-12 03:42:07] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
[2019-12-12 03:42:07] [info] #011at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:160)
[2019-12-12 03:42:07] [info] #011at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:244)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
[2019-12-12 03:42:07] [info] #011at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225)
[2019-12-12 03:42:07] [info] #011... 51 more
[2019-12-12 03:42:07] [crit] One or more listeners failed to start. Full details will be found in the appropriate container log file
[2019-12-12 03:42:07] [crit] Context [/linshare] startup failed due to previous errors
[2019-12-12 03:42:08] [info] Deployment of web application archive [/var/lib/tomcat9/webapps/linshare.war] has finished in [13,082] ms
[2019-12-12 03:42:08] [info] Deploying web application directory [/var/lib/tomcat9/webapps/ROOT]
[2019-12-12 03:42:08] [info] 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.
[2019-12-12 03:42:08] [info] Deployment of web application directory [/var/lib/tomcat9/webapps/ROOT] has finished in [577] ms
[2019-12-12 03:42:08] [info] Starting ProtocolHandler ["http-nio-28080"]
[2019-12-12 03:42:08] [info] Server startup in [13,812] milliseconds
Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
It means the linshare.properties file is not read. So you should look at the /etc/default/tomcatx file to see if added the following key:
JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true -Xms512m -Xmx2048m" JAVA_OPTS="${JAVA_OPTS} -Dlinshare.config.path=file:/etc/linshare/" JAVA_OPTS="${JAVA_OPTS} -Dlog4j.configuration=file:/etc/linshare/log4j.properties" JAVA_OPTS="${JAVA_OPTS} -Dspring.profiles.active=default,jcloud,batches"
cf the sample file.
You can get it properly here .
Thanks, @fred49 ! It worked!
Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
It means the linshare.properties file is not read. So you should look at the /etc/default/tomcatx file to see if added the following key:
JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true -Xms512m -Xmx2048m" JAVA_OPTS="${JAVA_OPTS} -Dlinshare.config.path=file:/etc/linshare/" JAVA_OPTS="${JAVA_OPTS} -Dlog4j.configuration=file:/etc/linshare/log4j.properties" JAVA_OPTS="${JAVA_OPTS} -Dspring.profiles.active=default,jcloud,batches"
cf the sample file.
You can get it properly here .
Dear Fred, I changed the Linshare.properties file.
Could you please explain the error in catalina.out:
Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat9/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
in this file : springContext-datasource.xml there is no definition for "LINSHARE_HOME"
sorry I posted many in the topics related to my problem.
Hi,
I setup LinShare on tomcat9 and java11. (Debian 10) I tried to login to admin panel, only login form repeatedly appears and can't login.
Anyone can help me?