Projet

Général

Profil

Actions

Support #3152

fermé

Erreur lors du démarrage

Ajouté par Nicolas Eysseric il y a plus de 12 ans. Mis à jour il y a plus de 12 ans.

Statut:
Closed
Priorité:
Urgent
Assigné à:
Catégorie:
Serveur
Version cible:
-
Début:
12/04/2012
Echéance:
% réalisé:

0%

Temps estimé:
Temps passé:
Navigateur:
Tous
Votre version de Silverpeas:
5.9
Système d'exploitation:
Livraison en TEST:
Livraison en PROD:

Description

Si la machine n'a pas de connexion internet lors du démarrage de Silverpeas, l'application ne démarre pas.
Ci-dessous, l'erreur :

Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/
config/spring-hibernate.xml]: Invocation of init method failed; nested exception
 is org.hibernate.InvalidMappingException: Unable to read XML
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) [:3.1.1.REL
EASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [:3.1.1.RELEAS
E]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:456) [:3.1.1.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:294) [:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:225) [:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:291) [:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:197) [:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
getBeansOfType(DefaultListableBeanFactory.java:400) [:3.1.1.RELEASE]
        at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludi
ngAncestors(BeanFactoryUtils.java:275) [:3.1.1.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterc
eptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInter
ceptor.java:139) [:3.1.1.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterc
eptor.<init>(PersistenceExceptionTranslationInterceptor.java:79) [:3.1.1.RELEASE
]
        at org.springframework.dao.annotation.PersistenceExceptionTranslationAdv
isor.<init>(PersistenceExceptionTranslationAdvisor.java:70) [:3.1.1.RELEASE]
        at org.springframework.dao.annotation.PersistenceExceptionTranslationPos
tProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:103)
 [:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1475) [:3.1.1
.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1443) [:3.1.1.REL
EASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [:3.1.1.RELEAS
E]
        ... 92 more
Caused by: org.hibernate.InvalidMappingException: Unable to read XML
        at org.hibernate.util.xml.MappingReader.readMappingDocument(MappingReade
r.java:101) [:3.6.6.Final]
        at org.hibernate.cfg.Configuration.add(Configuration.java:513) [:3.6.6.F
inal]
        at org.hibernate.cfg.Configuration.add(Configuration.java:509) [:3.6.6.F
inal]
        at org.hibernate.cfg.Configuration.addFile(Configuration.java:504) [:3.6
.6.Final]
        at org.hibernate.cfg.Configuration.addDirectory(Configuration.java:929)
[:3.6.6.Final]
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:710) [:3.1.1.RELEASE]
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:188) [:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [:3.1.1.
RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [:3.1.1.REL
EASE]
        ... 107 more
Caused by: org.dom4j.DocumentException: www.jboss.org Nested exception: www.jboss.org
        at org.dom4j.io.SAXReader.read(SAXReader.java:484) [:1.6.1]
        at org.hibernate.util.xml.MappingReader.readMappingDocument(MappingReade
r.java:75) [:3.6.6.Final]
        ... 115 more


Fichiers

mappings.zip (11,2 ko) mappings.zip fichiers de configurations corrects Emmanuel Hugonnet, 13/04/2012 16:38
Actions

Formats disponibles : Atom PDF