Good afternoon Guys,
I have been evaluating your package for a long time. For some time I put it aside. I'm taking it up today.
Well, what I am finding, repeated issue, is difficulty connecting to SQLSERVER database.
At the beginning, when I started trying it, the attempts to connect to this database became "heavy", but not against ORACLE.
The same thing is happening today !!!!! ...
When accessing for the first instance, after decompressing, the driver class is implemented, I create my new datasource pointing to the SQLSERVER 2008R2 server, the connection is satisfactory, I save that definition, it gives me the message that I must wait for everything to restart, and here we have the problem ... STOP EVERYTHING ... the server throws error 404 "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists." ... and it Everything goes to hell. Nothing works.
What I do to retest is to unzip the zip of the evaluation package, overwriting all files and retest ... and so on.
It is absolutely anomalous that when creating a new data source everything stops working.
Additionally, I wanted to define a default data source other than HIBERNATE and everything also went to hell ... it stopped working, so I guess, TOMCAT.
Please indicate that I can send you (the server notes) to help with the solution.
VERSION: SmartClient_v120p_2020-02-13_Evaluation
BROWSER: FIREFOX 72.0.2(64 BITS)
VMWARE WORKSTATION 12.0
SO: WINDOWS 10 PRO RETAIL
DATABASE: SQLSEVER 2008 R2
JDBC: mssql-jdbc-8.2.0.jre11.jar
SERVER-SIDE PROBLEM: === 2020-02-18 22:56:47,311 [at]]] INFO Logger - Logging system started.
=== 2020-02-18 22:56:47,336 [at]]] WARN ISCInit - Failed to populate JNDI context with JDBC connections configured in server.properties - impacted databases: [Mysql, GoogleCloudSQL, Cache, PostgreSQL, Firebird, DB2, HSQLDB, Oracle, Informix, SQLServer, defaultDatabase]
javax.naming.NameAlreadyBoundException: Name [defaultDatabase] is already bound in this Context
at org.apache.naming.NamingContext.bind(NamingContext.java:913)
at org.apache.naming.NamingContext.bind(NamingContext.java:192)
at org.apache.naming.NamingContext.bind(NamingContext.java:905)
at org.apache.naming.NamingContext.bind(NamingContext.java:192)
at org.apache.naming.NamingContext.bind(NamingContext.java:905)
at org.apache.naming.NamingContext.bind(NamingContext.java:192)
at org.apache.naming.NamingContext.bind(NamingContext.java:209)
at org.apache.naming.SelectorContext.bind(SelectorContext.java:201)
at java.naming/javax.naming.InitialContext.bind(InitialContext.java:417)
at com.isomorphic.base.ISCInit.bindJDBCViaJNDI(ISCInit.java:409)
at com.isomorphic.base.ISCInit.go(ISCInit.java:123)
at com.isomorphic.base.ISCInit.go(ISCInit.java:75)
at com.isomorphic.messaging.MessagingWebSocketEndpoint.<clinit>(MessagingWebSocketEndpoint.java:52)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:80)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3759)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:291)
at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5537)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
at java.base/java.lang.Thread.run(Thread.java:835)
=== 2020-02-18 22:56:47,340 [at]]] INFO ISCInit - No ServletContext available yet - using container IO for now
=== 2020-02-18 22:56:47,340 [at]]] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v12.0p_2020-02-13/EVAL Deployment 2020-02-13) - Initialization Complete
=== 2020-02-18 22:56:47,348 [at]]] INFO MessagingWebSocketEndpoint - Registering Realtime Messaging endpoint at: /isomorphic/websocket
feb. 18, 2020 10:56:47 P. M. org.apache.jasper.servlet.TldScanner scanJars
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.
=== 2020-02-18 22:56:47,829 [at]]] INFO ISCInit - Auto-detected webRoot - using: C:\Temp\SmartClient_v120p_2020-02-13_Evaluation\SmartClient_v120p_2020-02-13_Evaluation\smartclientSDK
feb. 18, 2020 10:56:47 P. M. org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
=== 2020-02-18 22:56:49,282 [at]]] DEBUG SQLConnectionManager - Borrowed connection '551773355'
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'supplyItemDaoTarget' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'hibernateSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to query java.sql.DatabaseMetaData
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:1534)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1281)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3759)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:291)
at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5537)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to query java.sql.DatabaseMetaData
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 26 more
Caused by: org.hibernate.exception.JDBCConnectionException: Unable to query java.sql.DatabaseMetaData
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)
at org.hibernate.dialect.resolver.BasicSQLExceptionConverter.convert(BasicSQLExceptionConverter.java:50)
at org.hibernate.dialect.resolver.AbstractDialectResolver.resolveDialect(AbstractDialectResolver.java:56)
at org.hibernate.dialect.resolver.DialectResolverSet.resolveDialect(DialectResolverSet.java:57)
at org.hibernate.dialect.resolver.DialectFactory.determineDialect(DialectFactory.java:127)
at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:96)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:795)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:717)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:191)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627)
... 33 more
Caused by: java.sql.SQLNonTransientConnectionException: connection exception: closed
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
at org.hsqldb.jdbc.JDBCDatabaseMetaData.execute(Unknown Source)
at org.hsqldb.jdbc.JDBCDatabaseMetaData.getDatabaseMajorVersion(Unknown Source)
at org.apache.commons.dbcp.DelegatingDatabaseMetaData.getDatabaseMajorVersion(DelegatingDatabaseMetaData.java:249)
at org.hibernate.dialect.resolver.StandardDialectResolver.resolveDialectInternal(StandardDialectResolver.java:63)
at org.hibernate.dialect.resolver.AbstractDialectResolver.resolveDialect(AbstractDialectResolver.java:53)
... 45 more
Caused by: org.hsqldb.HsqlException: connection exception: closed
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
... 52 more
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [] is completed
Regards,
Charles
I have been evaluating your package for a long time. For some time I put it aside. I'm taking it up today.
Well, what I am finding, repeated issue, is difficulty connecting to SQLSERVER database.
At the beginning, when I started trying it, the attempts to connect to this database became "heavy", but not against ORACLE.
The same thing is happening today !!!!! ...
When accessing for the first instance, after decompressing, the driver class is implemented, I create my new datasource pointing to the SQLSERVER 2008R2 server, the connection is satisfactory, I save that definition, it gives me the message that I must wait for everything to restart, and here we have the problem ... STOP EVERYTHING ... the server throws error 404 "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists." ... and it Everything goes to hell. Nothing works.
What I do to retest is to unzip the zip of the evaluation package, overwriting all files and retest ... and so on.
It is absolutely anomalous that when creating a new data source everything stops working.
Additionally, I wanted to define a default data source other than HIBERNATE and everything also went to hell ... it stopped working, so I guess, TOMCAT.
Please indicate that I can send you (the server notes) to help with the solution.
VERSION: SmartClient_v120p_2020-02-13_Evaluation
BROWSER: FIREFOX 72.0.2(64 BITS)
VMWARE WORKSTATION 12.0
SO: WINDOWS 10 PRO RETAIL
DATABASE: SQLSEVER 2008 R2
JDBC: mssql-jdbc-8.2.0.jre11.jar
SERVER-SIDE PROBLEM: === 2020-02-18 22:56:47,311 [at]]] INFO Logger - Logging system started.
=== 2020-02-18 22:56:47,336 [at]]] WARN ISCInit - Failed to populate JNDI context with JDBC connections configured in server.properties - impacted databases: [Mysql, GoogleCloudSQL, Cache, PostgreSQL, Firebird, DB2, HSQLDB, Oracle, Informix, SQLServer, defaultDatabase]
javax.naming.NameAlreadyBoundException: Name [defaultDatabase] is already bound in this Context
at org.apache.naming.NamingContext.bind(NamingContext.java:913)
at org.apache.naming.NamingContext.bind(NamingContext.java:192)
at org.apache.naming.NamingContext.bind(NamingContext.java:905)
at org.apache.naming.NamingContext.bind(NamingContext.java:192)
at org.apache.naming.NamingContext.bind(NamingContext.java:905)
at org.apache.naming.NamingContext.bind(NamingContext.java:192)
at org.apache.naming.NamingContext.bind(NamingContext.java:209)
at org.apache.naming.SelectorContext.bind(SelectorContext.java:201)
at java.naming/javax.naming.InitialContext.bind(InitialContext.java:417)
at com.isomorphic.base.ISCInit.bindJDBCViaJNDI(ISCInit.java:409)
at com.isomorphic.base.ISCInit.go(ISCInit.java:123)
at com.isomorphic.base.ISCInit.go(ISCInit.java:75)
at com.isomorphic.messaging.MessagingWebSocketEndpoint.<clinit>(MessagingWebSocketEndpoint.java:52)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:80)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3759)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:291)
at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5537)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
at java.base/java.lang.Thread.run(Thread.java:835)
=== 2020-02-18 22:56:47,340 [at]]] INFO ISCInit - No ServletContext available yet - using container IO for now
=== 2020-02-18 22:56:47,340 [at]]] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v12.0p_2020-02-13/EVAL Deployment 2020-02-13) - Initialization Complete
=== 2020-02-18 22:56:47,348 [at]]] INFO MessagingWebSocketEndpoint - Registering Realtime Messaging endpoint at: /isomorphic/websocket
feb. 18, 2020 10:56:47 P. M. org.apache.jasper.servlet.TldScanner scanJars
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.
=== 2020-02-18 22:56:47,829 [at]]] INFO ISCInit - Auto-detected webRoot - using: C:\Temp\SmartClient_v120p_2020-02-13_Evaluation\SmartClient_v120p_2020-02-13_Evaluation\smartclientSDK
feb. 18, 2020 10:56:47 P. M. org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
=== 2020-02-18 22:56:49,282 [at]]] DEBUG SQLConnectionManager - Borrowed connection '551773355'
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'supplyItemDaoTarget' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'hibernateSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to query java.sql.DatabaseMetaData
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:1534)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1281)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3759)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:291)
at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5537)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to query java.sql.DatabaseMetaData
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 26 more
Caused by: org.hibernate.exception.JDBCConnectionException: Unable to query java.sql.DatabaseMetaData
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)
at org.hibernate.dialect.resolver.BasicSQLExceptionConverter.convert(BasicSQLExceptionConverter.java:50)
at org.hibernate.dialect.resolver.AbstractDialectResolver.resolveDialect(AbstractDialectResolver.java:56)
at org.hibernate.dialect.resolver.DialectResolverSet.resolveDialect(DialectResolverSet.java:57)
at org.hibernate.dialect.resolver.DialectFactory.determineDialect(DialectFactory.java:127)
at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:96)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:795)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:717)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:191)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627)
... 33 more
Caused by: java.sql.SQLNonTransientConnectionException: connection exception: closed
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
at org.hsqldb.jdbc.JDBCDatabaseMetaData.execute(Unknown Source)
at org.hsqldb.jdbc.JDBCDatabaseMetaData.getDatabaseMajorVersion(Unknown Source)
at org.apache.commons.dbcp.DelegatingDatabaseMetaData.getDatabaseMajorVersion(DelegatingDatabaseMetaData.java:249)
at org.hibernate.dialect.resolver.StandardDialectResolver.resolveDialectInternal(StandardDialectResolver.java:63)
at org.hibernate.dialect.resolver.AbstractDialectResolver.resolveDialect(AbstractDialectResolver.java:53)
... 45 more
Caused by: org.hsqldb.HsqlException: connection exception: closed
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
... 52 more
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
feb. 18, 2020 10:56:49 P. M. org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [] is completed
Regards,
Charles
Comment