iceScrum | [RESOLVED] Context initialization failed – iceScrum

iceScrum Forums Discuss on iceScrum

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • #17328

    webmasterPasstime
    Participant

    Bonjour,

    J’ai un problème en ce qui concerne le lancement de Icescrum sur un serveur Synology Rackstation.

    Pouvez vous me dire ce qui ne va pas?

    Voici le log du fichier icescrum.log :

    2016-01-21 09:54:39,616 [http-bio-7070-exec-4] INFO  grails.spring.BeanBuilder  - [RuntimeConfiguration] Configuring data source for environment: PRODUCTION
    2016-01-21 09:54:42,030 [http-bio-7070-exec-4] DEBUG org.icescrum.core.support.ApplicationSupport  - Retrieving appID...
    2016-01-21 09:54:42,042 [http-bio-7070-exec-4] DEBUG org.icescrum.core.support.ApplicationSupport  - Retrieved appID: 60f7884b-0300-aa08-0c3b-3edc031dc524
    2016-01-21 09:54:47,272 [http-bio-7070-exec-4] ERROR org.springframework.web.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 'lobHandlerDetector' while setting bean property 'lobHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lobHandlerDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:745)
    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 'lobHandlerDetector' while setting bean property 'lobHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lobHandlerDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
    	... 3 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'lobHandlerDetector' while setting bean property 'lobHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lobHandlerDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
    	... 3 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lobHandlerDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
    	... 3 more
    Caused by: org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
    	... 3 more
    Caused by: java.sql.SQLException: com.mysql.jdbc.Driver
    	at com.sun.proxy.$Proxy52.getMetaData(Unknown Source)
    	... 3 more
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:274)
    	... 4 more
    #17329

    Vincent Barrier
    Keymaster

    Bonjour,

    Avez vous suivi le guide d’installation ? je doute 🙁 Car la configuration Tomcat n’est pas correcte.

    Dans le fichier server.xml il y a des modifications à effectuer. Je vous invite à lire le guide ici : https://www.icescrum.com/documentation/application-server/

    Ensuite concernant l’erreur affichée, c’est aussi indiqué dans le guide, dans Troubleshooting.

    java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver (or com.mysql.jdbc.Driver)
    If you use Tomcat 7, you should remove the tomcat-jdbc.jar library from the tomcatDir/lib folder.

    Pouvez vous nous tenir au courant si le problème est résolu après ces corrections ?

    #17334

    webmasterPasstime
    Participant

    Merci beaucoup vous êtes vraiment très efficace.
    Effectivement le problème venait bien du fichier server.xml

    J’espère que ce topic aidera les personnes dans le même cas que moi.

    #17335

    Vincent Barrier
    Keymaster

    Ok merci du retour 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Installation’ is closed to new topics and replies.