Actions
Support #3152
ferméErreur lors du démarrage
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
Actions
#1
Mis à jour par Emmanuel Hugonnet il y a plus de 12 ans
- Fichier mappings.zip mappings.zip ajouté
- Statut changé de Assigned à Resolved
Il y a une erreur sur les namespaces des fichiers de mappings ($JBOSS_HOME/server/defautl/deploy/silverpeas/silverpeas.ear/war-ic.war/WEB-INF/mappings/*.xml)
Il faudrait http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd au lieu de http://www.jboss.org/dtd/hibernate/hibernate-mapping-3.0.dtd.
Utiliser les fichiers fournis dans le zip attaché.
Actions