Anzeige:
Seite 3 von 3 ErsteErste 123
Ergebnis 31 bis 41 von 41

Thema: Debian Lenny auf Raid System Umzug in Virtualbox

  1. #31
    Registrierter Benutzer Avatar von Huhn Hur Tu
    Registriert seit
    Nov 2003
    Ort
    Karlsruhe
    Beiträge
    2.091
    Code:
    oracle java 6 runter laden
     - nach ~/tools/ entpacken
    
    Go to https://archive.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/
    
    Download apache-tomcat-6.0.32.tar.gz
    
    entpacken
     - configs anpassen (Java_home vor allen )
    
    Hibernate runterladen und ins lib verzeichniss reinpacken
    Damit ist der Tomcat auf jedem Linux lauffaehig, da muss nix gebaut werden. Im Anschluss die Logs loeschen und alles mit Tar zusammenpacken und fertiig ist das Backup
    Zwischen anonym sein wollen und seine Daten nicht verkaufen wollen, liegen zwei Welten. Wenn man sich einen kostenpflichtigen Dienst sucht, dann meist, weil man für diese Dienstleistung zahlt und nicht selbst das Produkt sein will.


  2. #32
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    So, habe deine Anleitung abgearbeitet, hibernate-core-5.2.17.Final.jar (6,4 MB) heruntergeladen und ins lib Verzeichnis kopiert. TC startet ohne Fehler, wenn ich jedoch die bei .war Dateien ins webapp verzeichniss kopiere, geht es wieder los:

    Code:
    14.04.2020 15:55:14 org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    14.04.2020 15:55:14 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    14.04.2020 15:55:14 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 828 ms
    14.04.2020 15:55:14 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    14.04.2020 15:55:14 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
    14.04.2020 15:55:14 org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor host-manager.xml
    14.04.2020 15:55:14 org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor manager.xml
    14.04.2020 15:55:14 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory docs
    14.04.2020 15:55:14 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory examples
    14.04.2020 15:55:15 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory ROOT
    14.04.2020 15:55:15 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    14.04.2020 15:55:15 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    14.04.2020 15:55:15 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/66  config=null
    14.04.2020 15:55:15 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1206 ms
    14.04.2020 15:56:05 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive lager.war
    loading security config ...
    2020-04-14 15:56:31,903 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR context.ContextLoader  - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at java.lang.Thread.run(Thread.java:662)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
    	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    	at com.sun.proxy.$Proxy7.getMetaData(Unknown Source)
    	... 1 more
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    	at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420)
    	... 4 more
    14.04.2020 15:56:31 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    14.04.2020 15:56:31 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/lager] startup failed due to previous errors
    log4j:WARN No appenders could be found for logger (net.sf.ehcache.Cache).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
    14.04.2020 15:56:33 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive zahlen.war
    loading security config ...
    2020-04-14 15:56:46,710 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR context.ContextLoader  - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at java.lang.Thread.run(Thread.java:662)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	... 1 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
    	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    	at com.sun.proxy.$Proxy11.getMetaData(Unknown Source)
    	... 1 more
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:171)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    	... 3 more
    14.04.2020 15:56:46 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    14.04.2020 15:56:46 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/zahlen] startup failed due to previous errors
    14.04.2020 15:56:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SCHWERWIEGEND: The web application [/zahlen] created a ThreadLocal with key of type [org.codehaus.groovy.runtime.GroovyCategorySupport.MyThreadLocal] (value [org.codehaus.groovy.runtime.GroovyCategorySupport$MyThreadLocal@4c708d30]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@71457184]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    log4j:WARN No appenders could be found for logger (net.sf.ehcache.Cache).
    log4j:WARN Please initialize the log4j system properly.
    log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
    Auf dem alten server ist die Anwendung unter https://10.52.100.98/lager/login/aut...1DDD3BFF30A67B erreichbar, obwohl die logs dort voll von Fehlern sind. Kann es sein dass das normal ist und ich einfach noch irgendwas im Linux einstellen muss?

    auf dem alten Server sehen die logs so aus:

    Code:
    Mar 31, 2020 4:06:32 PM org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    Mar 31, 2020 4:06:33 PM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    2020-03-31 16:06:35,278 [Thread-13] ERROR context.GrailsContextLoader  - Error occurred shutting down plug-in manager: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    Last packet sent to the server was 0 ms ago.)
    org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    Last packet sent to the server was 0 ms ago.)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:95)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
    	at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1067)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
    	at groovy.lang.Closure.call(Closure.java:276)
    	at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.callEvent(DefaultGrailsPlugin.java:1036)
    	at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.invokeOnShutdownEventListener(DefaultGrailsPlugin.java:1026)
    	at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.notifyOfEvent(DefaultGrailsPlugin.java:1013)
    	at org.codehaus.groovy.grails.plugins.AbstractGrailsPluginManager.shutdown(AbstractGrailsPluginManager.java:234)
    	at org.codehaus.groovy.grails.web.context.GrailsContextLoader.closeWebApplicationContext(GrailsContextLoader.java:106)
    	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:78)
    	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
    	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
    	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    	at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
    	at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    	at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
    	at org.apache.catalina.core.StandardService.stop(StandardService.java:587)
    	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    	at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
    	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    Last packet sent to the server was 0 ms ago.)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
    	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    	at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    	at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:214)
    	at $Proxy12.getMetaData(Unknown Source)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1603)
    	at groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1095)
    	at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3303)
    	at groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1107)
    	at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:161)
    	at org.codehaus.groovy.runtime.callsite.PojoMetaClassGetPropertySite.getProperty(PojoMetaClassGetPropertySite.java:33)
    	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
    	at org.codehaus.groovy.grails.plugins.datasource.DataSourceGrailsPlugin$_closure3.doCall(DataSourceGrailsPlugin.groovy:175)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
    	... 25 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.GeneratedConstructorAccessor865.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor1166.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    	at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
    	at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
    	... 48 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.GeneratedConstructorAccessor865.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 60 more
    Caused by: java.net.ConnectException: Connection refused
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at java.net.Socket.connect(Socket.java:478)
    	at java.net.Socket.<init>(Socket.java:375)
    	at java.net.Socket.<init>(Socket.java:218)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    	... 61 more
    Mar 31, 2020 4:06:35 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    SEVERE: A web application appears to have started a thread named [Compass Scheduled Executor Thread] but has failed to stop it. This is very likely to create a memory leak.
    Mar 31, 2020 4:06:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SEVERE: A web application created a ThreadLocal with key of type [org.codehaus.groovy.runtime.GroovyCategorySupport.MyThreadLocal] (value [org.codehaus.groovy.runtime.GroovyCategorySupport$MyThreadLocal@4401c0a2]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@4f0dee8f]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
    Mar 31, 2020 4:06:35 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SEVERE: A web application created a ThreadLocal with key of type [org.codehaus.groovy.runtime.GroovyCategorySupport.MyThreadLocal] (value [org.codehaus.groovy.runtime.GroovyCategorySupport$MyThreadLocal@4401c0a2]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@54d4f8c5]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
    log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
    2020-03-31 16:06:37,451 [Thread-13] ERROR context.GrailsContextLoader  - Error occurred shutting down plug-in manager: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    Last packet sent to the server was 0 ms ago.)
    org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    Last packet sent to the server was 0 ms ago.)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:95)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
    	at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
    	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
    	at groovy.lang.Closure.call(Closure.java:276)
    	at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.callEvent(DefaultGrailsPlugin.java:1057)
    	at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.invokeOnShutdownEventListener(DefaultGrailsPlugin.java:1047)
    	at org.codehaus.groovy.grails.plugins.DefaultGrailsPlugin.notifyOfEvent(DefaultGrailsPlugin.java:1034)
    	at org.codehaus.groovy.grails.plugins.AbstractGrailsPluginManager.shutdown(AbstractGrailsPluginManager.java:259)
    	at org.codehaus.groovy.grails.web.context.GrailsContextLoader.closeWebApplicationContext(GrailsContextLoader.java:113)
    	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:78)
    	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
    	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
    	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    	at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)
    	at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    	at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    	at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
    	at org.apache.catalina.core.StandardService.stop(StandardService.java:587)
    	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    	at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)
    	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:692)
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    Last packet sent to the server was 0 ms ago.)
    	at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    	at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
    	at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:224)
    	at $Proxy7.getMetaData(Unknown Source)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
    	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    	at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1602)
    	at groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1099)
    	at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:3311)
    	at groovy.lang.ExpandoMetaClass.getProperty(ExpandoMetaClass.java:1111)
    	at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:161)
    	at org.codehaus.groovy.runtime.callsite.PojoMetaClassGetPropertySite.getProperty(PojoMetaClassGetPropertySite.java:33)
    	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:235)
    	at org.codehaus.groovy.grails.plugins.datasource.DataSourceGrailsPlugin$_closure3.doCall(DataSourceGrailsPlugin.groovy:175)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
    	... 25 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.GeneratedConstructorAccessor865.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
    	at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:723)
    	at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    	at sun.reflect.GeneratedConstructorAccessor1166.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    	at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    	at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    	at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    	at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    	... 49 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    Last packet sent to the server was 0 ms ago.
    	at sun.reflect.GeneratedConstructorAccessor865.newInstance(Unknown Source)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335)
    	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
    	... 61 more
    Caused by: java.net.ConnectException: Connection refused
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at java.net.Socket.connect(Socket.java:478)
    	at java.net.Socket.<init>(Socket.java:375)
    	at java.net.Socket.<init>(Socket.java:218)
    	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
    	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    	... 62 more

  3. #33
    Registrierter Benutzer Avatar von Huhn Hur Tu
    Registriert seit
    Nov 2003
    Ort
    Karlsruhe
    Beiträge
    2.091
    Cannot load JDBC driver class 'com.mysql.jdbc.Driver', --> Download https://mvnrepository.com/artifact/m...connector-java -> copy yo lib folder, dann nochmal schaun Und achte auf den jdbc path in deiner Applikation. Aber das Ding laeuft schon mal, das ist mehr als bisher
    Zwischen anonym sein wollen und seine Daten nicht verkaufen wollen, liegen zwei Welten. Wenn man sich einen kostenpflichtigen Dienst sucht, dann meist, weil man für diese Dienstleistung zahlt und nicht selbst das Produkt sein will.


  4. #34
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    Ich habe mal diese https://mkyong.com/tomcat/how-to-con...e-in-tomcat-6/ Anleitung abgearbeitet, bin mir aber nicht sicher dass ich die Configs richtig angepasst habe... läuft auch noch nicht. Von deinem Link habe ich die Version 8.0.19 runtergeladen und ins lib Verzeichnis kopiert.


    Code:
    15.04.2020 11:48:37 org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    15.04.2020 11:48:37 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    15.04.2020 11:48:37 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1065 ms
    15.04.2020 11:48:37 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    15.04.2020 11:48:37 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
    15.04.2020 11:48:37 org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor host-manager.xml
    15.04.2020 11:48:38 org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor manager.xml
    15.04.2020 11:48:38 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive zahlen.war
    15.04.2020 11:48:57 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    15.04.2020 11:48:57 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/zahlen] startup failed due to previous errors
    15.04.2020 11:48:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    SCHWERWIEGEND: The web application [/zahlen] created a ThreadLocal with key of type [org.codehaus.groovy.runtime.GroovyCategorySupport.MyThreadLocal] (value [org.codehaus.groovy.runtime.GroovyCategorySupport$MyThreadLocal@2e9e53ed]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@1c980484]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    15.04.2020 11:49:02 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive lager.war
    15.04.2020 11:49:16 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    15.04.2020 11:49:16 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/lager] startup failed due to previous errors
    15.04.2020 11:49:17 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory docs
    15.04.2020 11:49:17 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory examples
    15.04.2020 11:49:18 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory ROOT
    15.04.2020 11:49:18 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    15.04.2020 11:49:18 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    15.04.2020 11:49:18 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/11  config=null
    15.04.2020 11:49:18 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 40280 ms
    15.04.2020 11:50:57 org.apache.coyote.http11.Http11Protocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8080
    15.04.2020 11:50:57 org.apache.catalina.connector.Connector pause
    SCHWERWIEGEND: Protocol handler pause failed
    java.net.UnknownHostException: linux-d7ki: linux-d7ki
    	at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
    	at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:490)
    	at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:288)
    	at org.apache.jk.server.JkMain.pause(JkMain.java:726)
    	at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
    	at org.apache.catalina.connector.Connector.pause(Connector.java:1037)
    	at org.apache.catalina.core.StandardService.stop(StandardService.java:578)
    	at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
    	at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
    	at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:706)
    15.04.2020 11:50:58 org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    15.04.2020 11:50:58 org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    Code:
    15.04.2020 11:48:41 org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring root WebApplicationContext
    15.04.2020 11:48:57 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    	at org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:732)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:411)
    	at org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext.refresh(GrailsWebApplicationContext.java:153)
    	at org.codehaus.groovy.grails.commons.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:154)
    	at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.configure(GrailsRuntimeConfigurator.java:170)
    	at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.configure(GrailsRuntimeConfigurator.java:129)
    	at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.configureWebApplicationContext(GrailsConfigUtils.java:114)
    	at org.codehaus.groovy.grails.web.context.GrailsContextLoader.createWebApplicationContext(GrailsContextLoader.java:70)
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.codehaus.groovy.grails.orm.support.TransactionManagerPostProcessor.postProcessAfterInstantiation(TransactionManagerPostProcessor.java:81)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1026)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	... 40 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
    	... 53 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:383)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
    	... 64 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
    	... 75 more
    Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:296)
    	at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)
    	at org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean.afterPropertiesSet(HibernateDialectDetectorFactoryBean.java:77)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
    	... 83 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
    	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    	at com.sun.proxy.$Proxy7.getMetaData(Unknown Source)
    Caused by: java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:171)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    	... 2 more
    15.04.2020 11:48:57 org.apache.catalina.core.StandardContext listenerStop
    SCHWERWIEGEND: Exception sending context destroyed event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    	at org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:732)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:411)
    	at org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext.refresh(GrailsWebApplicationContext.java:153)
    	at org.codehaus.groovy.grails.commons.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:154)
    	at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.configure(GrailsRuntimeConfigurator.java:170)
    	at org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator.configure(GrailsRuntimeConfigurator.java:129)
    	at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.configureWebApplicationContext(GrailsConfigUtils.java:114)
    	at org.codehaus.groovy.grails.web.context.GrailsContextLoader.createWebApplicationContext(GrailsContextLoader.java:70)
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.codehaus.groovy.grails.orm.support.TransactionManagerPostProcessor.postProcessAfterInstantiation(TransactionManagerPostProcessor.java:81)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1026)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	... 40 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
    	... 53 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:383)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
    	... 64 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    	at org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(ReloadAwareAutowireCapableBeanFactory.java:126)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
    	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
    	... 75 more
    Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:296)
    	at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)
    	at org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean.afterPropertiesSet(HibernateDialectDetectorFactoryBean.java:77)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
    	... 83 more
    Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
    	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    	at com.sun.proxy.$Proxy7.getMetaData(Unknown Source)
    Caused by: java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:171)
    	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    	... 2 more
    Geändert von m4rtin (15.04.20 um 11:00 Uhr)

  5. #35
    Registrierter Benutzer Avatar von Huhn Hur Tu
    Registriert seit
    Nov 2003
    Ort
    Karlsruhe
    Beiträge
    2.091
    Da ist wohl der FQDN des Systemes falsch konfiguriert, dein System soll wohl nicht
    linux-d7ki heissen, evtl. linux-d7ki.mycompany.intern.lan, oder so. Wenn der Hostname in der Konfig vergraben ist, muss der Host auch so heissen.

    Code:
    java.net.UnknownHostException: linux-d7ki: linux-d7ki
    Uuuund, wo sind deine hibernateProperties?

    Code:
    Cannot resolve reference to bean 'hibernateProperties'
    Zwischen anonym sein wollen und seine Daten nicht verkaufen wollen, liegen zwei Welten. Wenn man sich einen kostenpflichtigen Dienst sucht, dann meist, weil man für diese Dienstleistung zahlt und nicht selbst das Produkt sein will.


  6. #36
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    Den Fehler mit dem Hostname konnte ich beseitigen, die hibernate-core ist im Verzeichnis...

    Code:
    ls -l lib/     
    insgesamt 14156
    -rwxrwxrwx 1 user users   15239 14. Apr 15:42 annotations-api.jar
    -rwxrwxrwx 1 user users   53756 14. Apr 15:42 catalina-ant.jar
    -rwxrwxrwx 1 user users  129895 14. Apr 15:42 catalina-ha.jar
    -rwxrwxrwx 1 user users 1216210 14. Apr 15:42 catalina.jar
    -rwxrwxrwx 1 user users    9322 14. Apr 15:37 catalina-jmx-remote.jar
    -rwxrwxrwx 1 user users  237317 14. Apr 15:42 catalina-tribes.jar
    -rwxrwxrwx 1 user users   12363 14. Apr 15:37 catalina-ws.jar
    -rwxrwxrwx 1 user users 1563059 14. Apr 15:42 ecj-3.3.1.jar
    -rwxrwxrwx 1 user users   33410 14. Apr 15:42 el-api.jar
    -rwxrwxrwx 1 user users 6739203 14. Apr 16:02 hibernate-core-5.2.17.Final.jar
    -rwxrwxrwx 1 user users  112550 14. Apr 15:42 jasper-el.jar
    -rwxrwxrwx 1 user users  526946 14. Apr 15:42 jasper.jar
    -rwxrwxrwx 1 user users   76692 14. Apr 15:42 jsp-api.jar
    -rwxrwxrwx 1 user users 2356711 15. Apr 11:35 mysql-connector-java-8.0.19.jar
    -rwxrwxrwx 1 user users   88210 14. Apr 15:42 servlet-api.jar
    -rwxrwxrwx 1 user users  764743 14. Apr 15:42 tomcat-coyote.jar
    -rwxrwxrwx 1 user users  253526 14. Apr 15:42 tomcat-dbcp.jar
    -rwxrwxrwx 1 user users   70034 14. Apr 15:42 tomcat-i18n-es.jar
    -rwxrwxrwx 1 user users   51971 14. Apr 15:42 tomcat-i18n-fr.jar
    -rwxrwxrwx 1 user users   55036 14. Apr 15:42 tomcat-i18n-ja.jar
    -rwxrwxrwx 1 user users   22995 14. Apr 15:37 tomcat-juli-adapters.jar
    -rwxrwxrwx 1 user users   63438 14. Apr 15:37 tomcat-juli.jar

  7. #37
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    so sieht es auf dem alten Server aus:
    Code:
    wdex9292:~# find /opt/apache-tomcat-6.0.26/ | grep hibernate
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/plugins/hibernate-1.3.6
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/plugins/hibernate-1.3.6/plugin.xml
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/lib/hibernate-validator-3.1.0.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/lib/hibernate-commons-annotations-3.1.0.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/lib/hibernate-core-3.3.1.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/lib/hibernate-annotations-3.4.0.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/lager/WEB-INF/lib/hibernate-ehcache-3.3.1.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/plugins/hibernate-1.3.1
    /opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/plugins/hibernate-1.3.1/plugin.xml
    /opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/lib/hibernate-commons-annotations-3.1.0.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/lib/hibernate-core-3.3.1.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/lib/hibernate-annotations-3.4.0.GA.jar
    /opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/lib/hibernate-ehcache-3.3.1.GA.jar
    /opt/apache-tomcat-6.0.26/temp/org.hibernate.cache.StandardQueryCache.data
    /opt/apache-tomcat-6.0.26/temp/org.hibernate.cache.UpdateTimestampsCache.data
    ich habe auch noch ein
    Code:
    wdex9292:~# grep -rni /opt/apache-tomcat-6.0.26/ -e 'wdex9292'
    ausgeführt, ohne Ergebnis. Der Hostname ist also auf dem alten Server nirgends in einer Config hinterlegt, ebenso die IP
    Geändert von m4rtin (15.04.20 um 12:06 Uhr)

  8. #38
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    Die beiden Configs die ich angepasst habe sehen so aus:

    context.xml
    Code:
    <Context>
    <Resource name="jdbc/lager" auth="Container" type="javax.sql.DataSource"
    maxActive="50" maxIdle="30" maxWait="10000"
    username="root" password="............"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://LDEX1057:3306/lager"/>
    </Context>
    web.xml (der Block resource-ref ist von mir)
    Code:
    .
    .
    .
    http://www.springframework.org/tags</taglib-uri>
    			<taglib-location>/WEB-INF/tld/spring.tld</taglib-location>
    		</taglib>
    		<taglib>
    			<taglib-uri>http://grails.codehaus.org/tags</taglib-uri>
    			<taglib-location>/WEB-INF/tld/grails.tld</taglib-location>
    		</taglib>
    	</jsp-config>
        <resource-ref>
    <description>MySQL Datasource example</description>
    <res-ref-name>jdbc/lager</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    
    </web-app>
    Geändert von m4rtin (15.04.20 um 12:38 Uhr)

  9. #39
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    Ich habe übrigens gestern auch mal die hibernate-core-3.3.1.GA.jar ins lib Verzeichnis kopiert, die auf dem Server unter opt/apache-tomcat-6.0.26/webapps/zahlen/WEB-INF/lib/ vergraben war. Hat aber nichts genützt... kann es sein dass der Fehler woanders liegt? Und Ich kopiere zur Zeit ein dd vom alten Server in eine Virtualbox, für den Fall dass ich das unter opensuse nicht hinbekomme...

  10. #40
    Registrierter Benutzer Avatar von Huhn Hur Tu
    Registriert seit
    Nov 2003
    Ort
    Karlsruhe
    Beiträge
    2.091
    hm.. welche Version von Hibernate ist denn auf dem alten Server mit drin, evtl. kannst du die reinkopieren, mysql Treiber, andere Libs, untersuche mal den alten Server, der Diff neue Libs und altes Artfakt bringt mir nichts.
    Und bitte bleib erst mal bei den alten Versionen der Libs
    Zwischen anonym sein wollen und seine Daten nicht verkaufen wollen, liegen zwei Welten. Wenn man sich einen kostenpflichtigen Dienst sucht, dann meist, weil man für diese Dienstleistung zahlt und nicht selbst das Produkt sein will.


  11. #41
    Registrierter Benutzer
    Registriert seit
    Apr 2020
    Beiträge
    24
    So, ich habe es geschafft den Inhalt des Servers als tar verpackt in eine virtuelle Maschine zu kopieren und mit der debian rescue cd bootbar zu machen. auch wenn die pfade teilweise falsch sind (catalina_home ist ...tomcat//bin/bootstrap...) läuft es so. Naja das ganze ist sowieso nur eine Notlösung. Danke trotzdem für deine Hilfe! Hast du irgendwo ne Kaffeekasse wo ich was reinwerfen kann?

Ähnliche Themen

  1. VirtualBox 4 unter Lenny
    Von Shadow im Forum Virtuelle Maschinen und Emulatoren
    Antworten: 5
    Letzter Beitrag: 09.01.11, 12:43
  2. Startproblem unter Debian Lenny, System stoppt bei "loading initial ramdisk"
    Von playersons im Forum System installieren und konfigurieren
    Antworten: 6
    Letzter Beitrag: 21.02.10, 20:27
  3. Virtualbox: USB-Stick nutzen; Host=Lenny, Guest=XP
    Von E.coli im Forum Virtuelle Maschinen und Emulatoren
    Antworten: 17
    Letzter Beitrag: 14.05.09, 17:53
  4. Umzug - System klonen
    Von Sebu im Forum System installieren und konfigurieren
    Antworten: 8
    Letzter Beitrag: 12.06.08, 21:28
  5. Debian auf Raid System zum laufen bekommen
    Von Naba im Forum System installieren und konfigurieren
    Antworten: 5
    Letzter Beitrag: 23.02.06, 16:47

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •