Bug #4825
ferméMise à jour v5.12.x
100%
Description
Bonjour,
Je n'arrive pas à mettre à jour Silverpeas vers la version 5.12.
J'ai un message étrange lors de l'exécution de SilverpeasSettings.sh et une erreur lors de l'exécution de dbBuilder.sh
Start Silverpeas Settings V 5.12.3 (Mon Aug 26 11:12:41 CEST 2013).
......................................................
No JCR workspace configuration
JCR is being configured for migration
JCR migration configuration update done
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Silverpeas has been successfuly configured (Mon Aug 26 11:12:49 CEST 2013).
silverpeas@vmi-test-30:~/bin$ sh dbBuilder.sh
Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.springframework.core.LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVisitor has interface org.springframework.asm.ClassVisitor as super class
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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.springframework.core.LocalVariableTableParameterNameDiscoverer.inspectClass(LocalVariableTableParameterNameDiscoverer.java:112)
at org.springframework.core.LocalVariableTableParameterNameDiscoverer.getParameterNames(LocalVariableTableParameterNameDiscoverer.java:72)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:459)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1031)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:927)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at org.silverpeas.dbbuilder.DBBuilder.main(DBBuilder.java:115)
Fichiers
Mis à jour par David Lesimple il y a plus de 11 ans
- Statut changé de New à Feedback
Bonjour,
Le message de SilverpeasSettings est normal.
Pour dbbuilder, avez-vous bien supprimé le repértoire $SILVERPEAS_HOME/bin/jar avant d'y extraire le nouveau package Silverpeas 5.12.3 ?
Mis à jour par François Cedelle il y a plus de 11 ans
Après la purge du /jar, voici le nouveau message d'erreur :
ERROR - failed to start Repository: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
ERROR - failed to start Repository: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
ERROR - failed to start Repository: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
ERROR - failed to start Repository: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
ERROR - failed to start Repository: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager.
ERROR - Error during migration of attachments java.util.concurrent.ExecutionException: org.silverpeas.migration.jcr.service.AttachmentException: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManagerjava.lang.Exception:
ERROR RETURNED BY THE JVM : null
at org.silverpeas.dbbuilder.DBBuilderPiece.executeJavaInvoke(DBBuilderPiece.java:299)
at org.silverpeas.dbbuilder.DBBuilderPiece.executeInstructions(DBBuilderPiece.java:179)
at org.silverpeas.dbbuilder.DBBuilder.processSQLFiles(DBBuilder.java:579)
at org.silverpeas.dbbuilder.DBBuilder.processDB(DBBuilder.java:458)
at org.silverpeas.dbbuilder.DBBuilder.main(DBBuilder.java:272)
Caused by: java.lang.reflect.InvocationTargetException
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.silverpeas.dbbuilder.DBBuilderPiece.executeJavaInvoke(DBBuilderPiece.java:297)
... 4 more
Caused by: java.util.concurrent.ExecutionException: org.silverpeas.migration.jcr.service.AttachmentException: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.silverpeas.migration.jcr.attachment.AttachmentMigrator.migrateAttachments(AttachmentMigrator.java:70)
... 9 more
Caused by: org.silverpeas.migration.jcr.service.AttachmentException: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
at org.silverpeas.migration.jcr.attachment.AttachmentMigration.openJCRSession(AttachmentMigration.java:382)
at org.silverpeas.migration.jcr.attachment.AttachmentMigration.migrateComponent(AttachmentMigration.java:104)
at org.silverpeas.migration.jcr.attachment.AttachmentMigration.call(AttachmentMigration.java:375)
at org.silverpeas.migration.jcr.attachment.AttachmentMigration.call(AttachmentMigration.java:70)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager
at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1353)
at org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:486)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:311)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:589)
at org.apache.jackrabbit.core.TransientRepository$3.getRepository(TransientRepository.java:250)
at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
at org.silverpeas.migration.jcr.service.RepositoryManager.getSession(RepositoryManager.java:107)
at org.silverpeas.migration.jcr.attachment.AttachmentMigration.openJCRSession(AttachmentMigration.java:380)
... 8 more
Caused by: java.lang.IllegalArgumentException: Invalid namespace index: 2
at org.apache.jackrabbit.core.NamespaceRegistryImpl.indexToString(NamespaceRegistryImpl.java:366)
at org.apache.jackrabbit.core.persistence.util.BundleReader.readBundleOld(BundleReader.java:219)
at org.apache.jackrabbit.core.persistence.util.BundleReader.readBundle(BundleReader.java:147)
at org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:152)
at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.readBundle(BundleDbPersistenceManager.java:927)
at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.getAllNodeInfos(BundleDbPersistenceManager.java:865)
at org.apache.jackrabbit.core.persistence.bundle.ConsistencyCheckerImpl.internalCheckConsistency(ConsistencyCheckerImpl.java:113)
at org.apache.jackrabbit.core.persistence.bundle.ConsistencyCheckerImpl.check(ConsistencyCheckerImpl.java:78)
at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.checkConsistency(AbstractBundlePersistenceManager.java:821)
at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:562)
at org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager.init(PostgreSQLPersistenceManager.java:57)
at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1349)
... 17 more
.
ERROR -
**ERROR RETURNED BY THE JVM : null.
ERROR - Database build FAILED (26/08/13 13:24).***************************************************************
Database build FAILED (26/08/13 13:24).
Mis à jour par David Lesimple il y a plus de 11 ans
Pour que je puisse regarder de plus près, est-ce sur votre plateforme de test ?
Mis à jour par David Lesimple il y a plus de 11 ans
Je ne parviens pas à me connecter en ssh sur le serveur de test, meme en rebond via le serveur de prod.
PS: j'enlève le nom de votre serveur de test pour raisons de confidentialité.
Mis à jour par François Cedelle il y a plus de 11 ans
Avez vous essayer de passer par le vpn : https://acces-vilvert.jouy.inra.fr
Mis à jour par David Lesimple il y a plus de 11 ans
impossible de passer le vpn...
les 2 comptes que nous possédons pour CAS et SP ne fonctionnent pas.
Mis à jour par François Cedelle il y a plus de 11 ans
Il semble que seul le compte ehugonnet existe sur la plateforme de test. L'avez-vous testé ?
Pouvez-vous me redonner votre adresse IP ?
Mis à jour par David Lesimple il y a plus de 11 ans
bonjour,
Je n'ai pas le compte d'Emmanuel Hugonnet.
Notre IP est 88.191.145.169
Mis à jour par François Cedelle il y a plus de 11 ans
- Fichier dbBuilder.log.zip dbBuilder.log.zip ajouté
J'ai fait la demande d'accès pour cette IP et pour le compte neysseric.
En attendant, voici le dbBuilder.log
Mis à jour par David Lesimple il y a plus de 11 ans
Bonjour,
Ce problème survient lors de la migration en JCR des fichiers joints, pour ceux qui sont réservés.
Nous sommes en train de réfléchir à la meilleure manière de résoudre ce problème.
Mis à jour par David Lesimple il y a plus de 11 ans
Pouvez-vous passer ces 2 requets SQL ? Elles donnent le détail des fichiers réservés de la plateforme.
select u.lastname, u.firstname, a.attachmentlogicalname, a.reservationdate from sb_attachment_attachment a, st_user u where reservationdate is not null
and a.workerid = cast(u.id as varchar)
order by u.lastname
select u.lastname, u.firstname, v.documentname, v.documentcheckoutdate, v.documentstatus from sb_version_document v,st_user u where v.documentstatus <> 0
and v.documentownerid=u.id
order by u.lastname,u.firstname
Mis à jour par François Cedelle il y a plus de 11 ans
"lastname","firstname","attachmentlogicalname","reservationdate"
"Authier","Carole","Bandeau.jpg","2009/04/16"
"Authier","Carole","Document word pour essais.doc","2009/04/16"
"Barbace","Christine","Notes de Services 2009.xls","2009/03/23"
"Baudet","Carine","ASEA_MISSIONS.pdf","2009/04/06"
"Bonnemaison","Marc","Report on the e-infrastructure.pdf","2009/01/27"
"Cedelle","Francois","Propriete_Intellectuelle_Informatique.doc","2011/09/22"
"Constant","Thiery","Collines.jpg","2009/04/17"
"Deleuze","Christine","Nénuphars.jpg","2009/04/17"
"Ducommun Dit Veron","Christophe","UCS 85.doc","2009/01/27"
"Ducommun Dit Veron","Christophe","page de garde 85.doc","2009/01/27"
"Ducommun Dit Veron","Christophe","UTS 85.doc","2009/01/27"
"Ducommun Dit Veron","Christophe","UCS 49.doc","2009/01/27"
"Eysseric","Nicolas","Off2007_Manu.docx","2012/05/30"
"Falck","Monique","ADRESSE IP.doc","2008/08/26"
"Fantone","Gilles","Conterendu_Installation_Mantis_Paris.rtf","2011/08/01"
"Faure","Marie-Colette","ovin_raiole2.jpg","2008/10/21"
"Gervais","Alain","P2I.C.2CD.002.1.1.DFX-ENT-CTR-AGT.xls","2008/10/03"
"Gervais","Alain","P2I.C.2CD.010.4.4.Transfos-AGT-S2I-RH-vers-Pivot.xls","2008/10/03"
"Hibrand-Saint Oyant","Laurence","Dossiers Jury - L. HIBRAND-ST OYAN-2.pdf","2009/05/29"
"Jolivet","Claudy","Silverpeas_AG_infosol_200109.ppt","2009/01/19"
"Laine","Beatrice","Bilan_financier_Angers_-_Nantes_au 15 09.xls","2008/09/24"
"Millox","Melina","Formation_INRA_Manageur.ppt","2009/02/26"
"Millox","Melina","Présentation-AQ_SA.pptx","2009/04/08"
"Penarguear","Chantal","EclipseLink_Dzone_intro.pdf","2009/03/04"
"Ribeyre","Karine","Texte-Olfacto-Patho2_v2.doc","2009/01/19"
"Ridel","Arnaud","Essai word.docx","2009/04/08"
"Rousselle","Jean-Marc","Collines.jpg","2009/04/16"
"Vialle","Anne-Marie","Angers Nantes IRHC 08 liste candidats.xls","2008/08/20"
"Vialle","Anne-Marie","Depot dossier candidatNANTES-ANGERS-1-1.xls","2009/01/08"
"Vielle","Jean-Luc","Silverpeas-14.doc","2009/05/04"
et
"lastname","firstname","documentname","documentcheckoutdate","documentstatus"
"Bluthe","Jean Pierre","PPT Restitution du 30 septembre 2008","2009/01/21","1"
"Bouchet","Jean-Paul","ReunionURGI-EFPA-271008.doc","2008/11/05","1"
"Bouchet","Jean-Paul","fiche_CATI_a_remplir_080929.doc","2008/11/05","1"
"Boulonne","Line","Equipe_GT_DoneSol3_cr_reunion_2008_08_21_non_valide.pdf","2008/12/16","1"
"Bourgait","Isabelle","fiche_reunion_IBourgait_081208.doc","2008/11/20","1"
"Brendel","Oliver","GeneticDiversity.doc","2009/05/22","1"
"Cedelle","Francois","Riz Rizière Riziculture AUDEBERT AHMADI JAMIN.doc","2011/07/19","1"
"Cedelle","Francois","Gemme_pas_les_elfes-4.4.zip","2011/07/19","1"
"Cedelle","Francois","Conférence & Soirée.odp","2011/09/22","1"
"Chavigny","Pascal","fiche de vie autoclave C212.doc","2008/12/12","1"
"Chavigny","Pascal","Word1.docx","2010/05/21","1"
"Dalmon","Anne","UserStorieAP2008_GEST-CFA-005","2009/03/05","1"
"Dalmon","Anne","UserSUsestorieAP2008_GEST-MC-004","2009/03/23","1"
"Delannoy","David","E-DOC-trame-notice-technique","2009/01/16","1"
"De Wouters","Tomas","test.ods","2008/09/12","1"
"De Wouters","Tomas","test.ods","2008/09/12","1"
"De Wouters","Tomas","suivi des échantillons.ods","2008/09/12","1"
"De Wouters","Tomas","suivi des échantillons.ods","2008/09/12","1"
"De Wouters","Tomas","suivi des échantillons.ods","2008/09/12","1"
"De Wouters","Tomas","suivi des échantillons.ods","2008/09/12","1"
"De Wouters","Tomas","test1.xls","2008/09/15","1"
"De Wouters","Tomas","Test2.ods","2008/09/15","1"
"De Wouters","Tomas","Meeting-Minutes ANR-MicroObes Kickoff 14-04-08 final.pdf","2008/09/12","1"
"De Wouters","Tomas","test.ods","2008/09/15","1"
"De Wouters","Tomas","suivi des échantillons.ods","2008/09/15","1"
"Doise","Severine","CR-20-04-09","2009/05/05","1"
"Dore","Joel","test.ods","2008/09/15","1"
"Dubois","Angeline","Planning_semaine_26.xls","2008/06/30","1"
"Etievant","Patrick","Diaporama introduction","2009/05/22","1"
"Fantone","Gilles","Fichiers de Specifications de la reprise","2009/05/28","1"
"Flick","Jean Daniel","inventaire total-3.xls","2009/05/13","1"
"Flick","Jean Daniel","Proposition-cahier-des-charges-V24.doc","2009/05/12","1"
"Foulhouze","Ines","budget_fpn-dsi-_2009_avril.xls","2009/04/29","1"
"Gaurut","Michael","Analyse sensibilité - Module Animale","2009/03/16","1"
"Gervais","Alain","UserStorieAP2008_GEST-MC-001 ","2009/03/19","1"
"Gomes","Nathalie","présentation infra mai 2009","2009/05/07","1"
"Guinet","Nicolas","test","2009/05/13","1"
"Haroutunian","Laetitia","Questions soulevées","2009/05/19","1"
"Invité","","test suivi","2008/09/17","1"
"Invité","","US-ANR-organigramme.pdf","2009/02/18","1"
"Kenkle","Bernard","Astuce pb Accès refusé","2008/03/26","1"
"Lallart","Thomas","WSDL Descripteurs Activités","2009/05/04","1"
"Laroche","Bertrand","requetes_jose ","2009/05/22","1"
"LEBONVALLET","Sophie","Livrable Tâche 2","2009/05/18","1"
"LEBONVALLET","Sophie","Livrable Tâche 3","2009/05/04","1"
"LEBONVALLET","Sophie","Livrable Tâche 4","2009/05/04","1"
"Lecomte","Philippe","resume_questionnaire.doc","2008/10/10","1"
"Lecomte","Philippe","UERI Gotheron.doc","2008/10/10","1"
"Lecomte","Philippe","Synthèse G1&G2.doc","2009/04/07","1"
"Lecomte","Philippe","Groupe1.doc","2009/04/06","1"
"Lecuona","Yohan","Project factsheets","2009/05/28","1"
"Lefebvre","Diane","Support B","2009/05/20","1"
"Le Helley Sutkus","Anne","GEST-MC-001","2009/03/18","1"
"Lemenant","Caroline","essai doc","2008/12/04","1"
"Longuemare","Valerie","FS01.doc","2009/04/08","1"
"Lucas","Gilbert","defaultLookSettings.properties","2010/06/30","1"
"Marchand","Frederic","pluvio_Cerisel_GDo.xls","2008/12/29","1"
"Marchand","Frederic","Eval_ U3E-ORE-Perspectives.ppt","2009/05/10","1"
"Minet","Vincent","Notice Ulysse","2008/12/10","1"
"Minet","Vincent","Cahier Acquisition 2009","2009/02/09","1"
"Nahm","Michael","Schweinle_2008_Aktuelle Situation KUP in D","2009/04/20","1"
"Nahm","Michael","Burger und Scholz_2004_Technik Ernte von Energiewäldern_HZB","2009/04/20","1"
"Papelier","Sylvie","Adonis-AO-CdC.doc","2008/09/29","1"
"Paris","Stephane","AOVisio2009V2.zip","2009/01/14","1"
"Philipps","Therese","politiquestockagesvg","2009/02/13","1"
"Philipps","Therese","politiquestockagesvg","2009/02/13","1"
"Philipps","Therese","cr_reunion23012009","2009/02/20","1"
"Philipps","Therese","CR audioconf 12/02/09 V2.1","2009/02/18","1"
"Riz Kalla","Salwa","suivi commun","2008/09/19","1"
"Rouillard","Yann","inst_sympa_S2L.doc","2009/02/26","1"
"Rouillard","Yann","Notation des soumissionnaires.odt","2009/05/11","1"
"Rouillard","Yann","Planning du projet infrastructure AP (obsolète)","2009/04/23","1"
"Teton","Sabrina","FS01","2009/04/08","1"
"Toutain","Benoit","tretdsfqsd","2009/02/05","1"
"Venet","Eric","implantation_capteurs","2009/03/16","1"
"Vertier","Agnes","Article N°1","2008/09/25","1"
Mis à jour par David Lesimple il y a plus de 11 ans
En théorie, avant la migration en prod, il faudra faire la même chose et leur demander de libérer leurs fichiers réservés, sinon leurs éventuelles modifications
seront perdues.
Si vous etes sur un serveur de test, c'est moins grave, il suffit de supprimer les 4 tables JCR* et les 4 tables VERSION_ avant de relancer le dbbuilder.
Mis à jour par François Cedelle il y a plus de 11 ans
- Fichier dbBuilder.log.zip dbBuilder.log.zip ajouté
J'avais déjà tenté cette manip, mais le dbBuilder se fini en erreur :
ERROR - Error during migration of attachments java.util.concurrent.ExecutionException: java.lang.NullPointerExceptionjava.lang.Exception:
ERROR RETURNED BY THE JVM : null
at org.silverpeas.dbbuilder.DBBuilderPiece.executeJavaInvoke(DBBuilderPiece.java:299)
at org.silverpeas.dbbuilder.DBBuilderPiece.executeInstructions(DBBuilderPiece.java:179)
at org.silverpeas.dbbuilder.DBBuilder.processSQLFiles(DBBuilder.java:579)
at org.silverpeas.dbbuilder.DBBuilder.processDB(DBBuilder.java:458)
at org.silverpeas.dbbuilder.DBBuilder.main(DBBuilder.java:272)
Caused by: java.lang.reflect.InvocationTargetException
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.silverpeas.dbbuilder.DBBuilderPiece.executeJavaInvoke(DBBuilderPiece.java:297)
... 4 more
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.silverpeas.migration.jcr.version.VersioningMigrator.migrateDocuments(VersioningMigrator.java:65)
... 9 more
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:116)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.copyContent(VersionedDocumentMigration.java:257)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.createVersionNodeInJCR(VersionedDocumentMigration.java:208)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.migrateDocumentVersion(VersionedDocumentMigration.java:243)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.migrateAllDocumentVersions(VersionedDocumentMigration.java:129)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.migrateComponent(VersionedDocumentMigration.java:105)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.call(VersionedDocumentMigration.java:327)
at org.silverpeas.migration.jcr.version.VersionedDocumentMigration.call(VersionedDocumentMigration.java:68)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
.
ERROR -
**ERROR RETURNED BY THE JVM : null.
ERROR - Database build FAILED (29/08/13 15:41).***************************************************************
Database build FAILED (29/08/13 15:41).
je joins le nouveau fichier de log
Mis à jour par David Lesimple il y a plus de 11 ans
- Tracker changé de Support à Bug
- Votre base de données mis à PostgreSQL
A priori, il y a un bug dans dbbuilder sur un cas bien précis.
Nous vous fournirons une nouvelle version de dbbuilder.jar lorsque ce bug ara été corrigé.
Mis à jour par François Cedelle il y a plus de 11 ans
Ok.
Sinon, l'accès SSH pour votre IP a été ouvert.
Le compte neysseric est présent sur la machine avec les droits qui vont bien.
Mis à jour par Nicolas Eysseric il y a plus de 11 ans
- Projet changé de Silverpeas Core à Silverpeas Setup
- Statut changé de Feedback à Assigned
- Assigné à mis à Miguel Moquillon
Mis à jour par Miguel Moquillon il y a plus de 11 ans
- Fichier configuration.jar configuration.jar ajouté
J'ai pu détecter d'où venait le problème. Il semble que cela vient de cas où un document versionné a été dupliqué ; dans ce cas, les deux documents, l'original et la copie peuvent référencer une même version ! Le pb est que la migration des documents réarrange leur emplacement sur le système de fichier, ce qui fait que le fichier correspondant à la version à migrer n'existe plus pour la copie.
J'ai modifié le code de migration pour tenir compte de ce cas. Cf. en pièce jointe le jar configuration.jar à placer dans $SILVERPEAS_HOME/bin/jar.
Attention, il est nécessaire de recommencer la mise à jour. En effet, une erreur dans la migration avec la JCR peut mettre les données dans un état incohérent. Il est donc nécessaire de restaurer l'environnement initial, avant le passage à la version 5.12.3, puis de réitérer les étapes de la mises à jour sans oublier de remplacer le jar configuration.jar de la version 5.12.3 par celui joint.
Dites moi si cette version corrigée résout le problème.
Mis à jour par Nicolas Eysseric il y a plus de 11 ans
- Statut changé de Assigned à Feedback
- Version cible mis à Version 5.12.4
- % réalisé changé de 0 à 90
Mis à jour par Miguel Moquillon il y a environ 11 ans
Est-ce que la bibliothèque configuration.jar jointe à cette demande a bien résolu votre problème ?
Est-ce que je peux clore cette demande ?
Mis à jour par Nicolas Eysseric il y a environ 11 ans
- Statut changé de Feedback à Closed
- % réalisé changé de 90 à 100