Erreur lors de l'upgrade 3.3 => 3.4

cancel
Showing results for 
Search instead for 
Did you mean: 
ruman
Member II

Erreur lors de l'upgrade 3.3 => 3.4

Bonjour,

J'essai d'upgrader Alfresco Community de 3.3 en 3.4. Les etapes que j'ai suivi sont les suivantes:
- creation DB vide
- donner au user alfresco les droits sur cette DB
- suppression des repertoires alfresco et share de webapps de Tomcat 6
- suppression de alfresco.war et share.war de webapps de Tomacat 6
- copie des nouvelles versions de alfresco.war et share.war dans le repertoire webapps de Tomacat 6
- remplacement du repertoire shared/classes/alfresco par celui de la version 3.4
- remplacement du fichier shared/classes/alfresco-global.properties par celui de la version 3.4
- creation d'un repertoire de stockage des documents vierge
- configuration de shared/classes/alfresco-global.properties pour:
    => acces a la DB
    => mise a jour schema
    => verification des index
- configuration de web-client-config-custom.xml pour prise en compte de la langue FR
- copie des fichiers langue FR dans shared/classes/alfresco/messages et web-extension
- demarrage Tomcat 6 ==> OK, pas d'erreur et navigation possible
- arret de Tomcat 6
- import de la DB 3.3 dans la DB creee au debut
- copie des donnees 3.3 (hors indexes) dans le repertoire de stockage 3.4
- demarrage de Tomcat 6
    => upgrade schema DB OK
    => regeneration des index OK
    => ERROR [web.context.ContextLoader] Context initialization failed
         java.lang.IllegalArgumentException: nodeRef is a mandatory parameter

Le log complet:
4 nov. 2010 14:04:50 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: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
4 nov. 2010 14:04:50 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
4 nov. 2010 14:04:50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1486 ms
4 nov. 2010 14:04:50 org.apache.catalina.core.StandardService start
INFO: D�marrage du service Catalina
4 nov. 2010 14:04:50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
4 nov. 2010 14:04:54 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
14:05:14,561  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
14:05:14,570  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
14:05:14,572  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/usr/share/apache-tomcat-6.0.18/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
14:05:14,573  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/usr/share/apache-tomcat-6.0.18/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
14:05:14,573  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/usr/share/apache-tomcat-6.0.18/shared/classes/alfresco-global.properties]
14:05:14,722  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:06:05,354  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
14:06:05,364  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
14:06:26,297  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
14:06:28,980  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-4482060737081621736.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.MySQLInnoDBDialect/modify-index-permission_id.sql).
14:06:30,059  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-2723783002885599380.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.MySQLInnoDBDialect/fix-Repo-seqs.sql).
14:06:30,092  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-555493759984742801.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.MySQLInnoDBDialect/fix-AVM-seqs.sql).
14:06:30,162  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-7075029205219969489.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-JBPM-Extra.sql).
14:06:30,181  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-5516342387105762120.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.3/org.hibernate.dialect.MySQLInnoDBDialect/node-prop-serializable.sql).
14:06:30,196  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-434803659453011991.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.4/org.hibernate.dialect.MySQLInnoDBDialect/property-unique-ctx-value.sql).
14:06:30,269  INFO  [domain.schema.SchemaBootstrap] Executing database script /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-7354995483964077079.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.4/org.hibernate.dialect.MySQLInnoDBDialect/child-assoc-indexes.sql).
14:06:30,648  INFO  [domain.schema.SchemaBootstrap] All executed statements:  /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-All_Statements-3738837761422561472.sql.
14:06:32,572  INFO  [domain.schema.SchemaBootstrap] Normalized schema (pre-bootstrap)  dumped to file /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-6484592159066246936-Startup.xml.
14:06:32,572  INFO  [domain.schema.SchemaBootstrap] Normalized schema (post-bootstrap) dumped to file /usr/share/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-1583687123120080305.xml.
14:06:32,602  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
14:06:32,644  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:06:32,682  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
14:06:41,527  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
14:06:41,568  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:06:42,104  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
14:06:42,105  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
14:06:42,142  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:06:43,818  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
14:06:45,146  INFO  [node.index.FullIndexRecoveryComponent] Index recovery started: 808 transactions.
14:06:45,164  INFO  [node.index.FullIndexRecoveryComponent] 10 % complete.
14:06:45,168  INFO  [node.index.FullIndexRecoveryComponent] 20 % complete.
14:06:45,177  INFO  [node.index.FullIndexRecoveryComponent] 30 % complete.
14:06:45,180  INFO  [node.index.FullIndexRecoveryComponent] 40 % complete.
14:06:45,182  INFO  [node.index.FullIndexRecoveryComponent] 50 % complete.
14:06:45,188  INFO  [node.index.FullIndexRecoveryComponent] 60 % complete.
14:06:45,190  INFO  [node.index.FullIndexRecoveryComponent] 70 % complete.
14:06:45,192  INFO  [node.index.FullIndexRecoveryComponent] 80 % complete.
14:06:45,199  INFO  [node.index.FullIndexRecoveryComponent] 90 % complete.
14:06:45,204  INFO  [node.index.FullIndexRecoveryComponent] 100 % complete.
14:08:50,229  INFO  [node.index.FullIndexRecoveryComponent] Index recovery completed.
14:08:50,397  WARN  [node.index.AVMFullIndexRecoveryComponent]     Index for avm store sitestore is out of date
14:08:50,496  WARN  [node.index.AVMFullIndexRecoveryComponent]     Index for avm store alfrescosample is out of date
14:08:50,806  INFO  [node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 2 AVM Stores
14:08:50,807  INFO  [node.index.AVMFullIndexRecoveryComponent]     Auto recovering index for sitestore
14:08:50,833  INFO  [node.index.AVMFullIndexRecoveryComponent]         Rebuilding index for snapshots -1 to 1
14:08:51,450 User:System INFO  [node.index.AVMFullIndexRecoveryComponent]   Reindex   50% complete
14:08:51,450 User:System INFO  [node.index.AVMFullIndexRecoveryComponent]     Auto recovering index for alfrescosample
14:08:51,463 User:System INFO  [node.index.AVMFullIndexRecoveryComponent]         Rebuilding index for snapshots -1 to 2
14:08:51,596 User:System INFO  [node.index.AVMFullIndexRecoveryComponent]   Reindex   100% complete
14:08:51,596 User:System INFO  [node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores
14:08:52,312  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/alfresco/alf_data
14:08:52,463  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
14:08:53,541  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.fixAuthoritiesCrcValues' (Fixes authority CRC32 values to match UTF-8 encoding.).
14:08:53,617 User:System INFO  [patch.impl.FixAuthoritiesCrcValuesPatch] FixAuthorityCrcValuesPatch: Commencing batch of 0 entries
14:08:53,624 User:System INFO  [patch.impl.FixAuthoritiesCrcValuesPatch] FixAuthorityCrcValuesPatch: Completed batch of 0 entries
14:08:53,634  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.updateMimetypes1' (Fix mimetypes for Excel and Powerpoint.).
14:08:53,856  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.migrateAttrTenants' (Migrate old Tenant attributes).
14:08:53,879  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.migrateAttrAVMLocks' (Migrate old AVM Lock attributes).
14:08:57,916 User:System INFO  [patch.impl.MigrateAttrAVMLocksPatch] Processed 159 AVM Lock attrs in 4 secs
14:08:57,931  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.migrateAttrPropBackedBeans' (Migrate old Property-Backed Bean component attributes).
14:08:57,952  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.migrateAttrChainingURS' (Migrate old Chaining User Registry Synchronizer attributes).
14:08:58,029  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.migrateAttrDelete' (Delete old attributes (if any) after they have been migrated).
14:08:58,049 User:System INFO  [patch.ibatis.PatchDAOImpl] Deleted 159 rows from alf_list_attribute_entries
14:08:58,257 User:System INFO  [patch.ibatis.PatchDAOImpl] Deleted 956 rows from alf_map_attribute_entries
14:08:58,259 User:System INFO  [patch.ibatis.PatchDAOImpl] Deleted 1 rows from alf_global_attributes
14:08:58,506 User:System INFO  [patch.ibatis.PatchDAOImpl] Deleted 1116 rows from alf_attributes
14:08:58,526  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.replication.replication_actions' (Creates the Replication Actions folder.).
14:08:59,138  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.transfer.targetrulefolder' (Creates the transfer target rule folder for the default transfer group.).
14:08:59,648  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.transfer.targetrule' (Creates the transfer target rule for the default transfer group.).
14:09:00,845  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.actions.scheduledfolder' (Creates the scheduled actions folder in the Data Dictionary.).
14:09:04,173  INFO  [admin.patch.PatchExecuter] Applying patch 'patch.updateMimetypes2' (null).
14:09:04,181  WARN  [admin.patch.PatchExecuter] Patch description is not available: Patch[ id=patch.updateMimetypes2, description=patch.updateMimetypes2.description, fixesFromSchema=0, fixesToSchema=4110, targetSchema=4111]
14:09:04,244  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.fixAuthoritiesCrcValues
RESULT:
Fixed CRC32 values for UTF-8 encoding for 0 authorities.  See file /usr/share/tomcat6/temp/Alfresco/longLife_patches/FixAuthorityCrcValuesPatch.log for details.
=====================================
14:09:04,244  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.updateMimetypes1
RESULT:
Updating mimetypes.
   Updated 1 content references with mimetype 'application/vnd.excel' to use 'application/vnd.ms-excel'.
   Indexed 1 nodes in store 'workspace://SpacesStore'.
   Indexed 1 nodes in store 'archive://SpacesStore'.
   Finished updating mimetypes.
=====================================
14:09:04,244  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.3-modify-index-permission_id
RESULT:
Script completed
=====================================
14:09:04,245  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.3-Fix-AVM-Seqs
RESULT:
Script completed
=====================================
14:09:04,245  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.3-Fix-Repo-Seqs
RESULT:
Script completed
=====================================
14:09:04,245  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.4-child-assoc-indexes
RESULT:
Script completed
=====================================
14:09:04,245  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.4-property-unique-ctx-value
RESULT:
Script completed
=====================================
14:09:04,249  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.3-JBPM-Extra
RESULT:
Script completed
=====================================
14:09:04,249  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V3.3-Node-Prop-Serializable
RESULT:
Script completed
=====================================
14:09:04,250  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.migrateAttrDelete
RESULT:
Old attributes were deleted (if any)
=====================================
14:09:04,250  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.migrateAttrTenants
RESULT:
Processed 0 attributes
=====================================
14:09:04,250  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.migrateAttrAVMLocks
RESULT:
Processed 159 attributes
=====================================
14:09:04,250  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.migrateAttrChainingURS
RESULT:
Processed 0 attributes
=====================================
14:09:04,250  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.migrateAttrPropBackedBeans
RESULT:
Processed 0 attributes (0 properties)
=====================================
14:09:04,251  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.replication.replication_actions
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary (workspace://SpacesStore/eebf17ec-7016-4b7c-88c8-76480e344a43)
=====================================
14:09:04,252  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.transfer.targetrule
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:transfers/app:transfer_groups/cm:default/rule:ruleFolder (workspace://SpacesStore/eebf17ec-7016-4b7c-88c8-76480e344a43)
=====================================
14:09:04,252  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.transfer.targetrulefolder
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:transfers/app:transfer_groups/cm:default (workspace://SpacesStore/eebf17ec-7016-4b7c-88c8-76480e344a43)
=====================================
14:09:04,252  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.actions.scheduledfolder
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary (workspace://SpacesStore/eebf17ec-7016-4b7c-88c8-76480e344a43)
=====================================
14:09:04,252  INFO  [admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.updateMimetypes2
RESULT:
Updating mimetypes.
   Finished updating mimetypes.
=====================================
14:09:04,295 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
14:09:04,377 User:System WARN  [repo.module.ModuleServiceImpl] A previously-installed module 'thumbnails' (version 1.0) is not present in your distribution.
14:09:04,380  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
14:09:04,467  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:05,461  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
14:09:05,557  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:05,963  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
14:09:10,705  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
14:09:10,705  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
14:09:10,920  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:11,162  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
14:09:11,163  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
14:09:11,203  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:11,427  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
14:09:11,428  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
14:09:11,484  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:11,672  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
14:09:11,673  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
14:09:11,853  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
14:09:11,854  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
14:09:11,928  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:13,186  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
14:09:13,198  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
14:09:13,255  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
14:09:13,255  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
14:09:13,255  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
14:09:13,392  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:09:13,834  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
14:09:14,636  ERROR [web.context.ContextLoader] Context initialization failed
java.lang.IllegalArgumentException: nodeRef is a mandatory parameter
   at org.alfresco.util.ParameterCheck.mandatory(ParameterCheck.java:42)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodePairNotNull(DbNodeServiceImpl.java:137)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getChildByName(DbNodeServiceImpl.java:1674)
   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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy7.getChildByName(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.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy8.getChildByName(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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:303)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:303)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:269)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:269)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy7.getChildByName(Unknown Source)
   at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl.locatePersistanceFolder(ScheduledPersistedActionServiceImpl.java:131)
   at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap$1$1.execute(ScheduledPersistedActionServiceImpl.java:481)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:232)
   at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap$1.doWork(ScheduledPersistedActionServiceImpl.java:486)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
   at org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl$ScheduledPersistedActionServiceBootstrap.onBootstrap(ScheduledPersistedActionServiceImpl.java:473)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:78)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   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:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
4 nov. 2010 14:09:14 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
4 nov. 2010 14:09:14 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de d�marrage du contexte [/alfresco] suite aux erreurs pr�c�dentes
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
4 nov. 2010 14:09:24 org.apache.catalina.startup.HostConfig deployWAR
INFO: D�ploiement de l'archive share.war de l'application web
log4j:WARN No appenders could be found for logger (org.quartz.core.QuartzSchedulerThread).
log4j:WARN Please initialize the log4j system properly.
14:09:50,310  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 256 Web Scripts (+0 failed), 264 URLs
14:09:50,316  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
14:09:50,316  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
14:09:50,598  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 7345.0483ms)
14:09:50,904  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
14:09:55,034  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
14:09:55,381  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
14:09:55,405  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
14:09:55,784  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
14:09:55,801  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
4 nov. 2010 14:09:59 org.apache.coyote.http11.Http11Protocol start
INFO: D�marrage de Coyote HTTP/1.1 sur http-8080
4 nov. 2010 14:10:00 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
4 nov. 2010 14:10:00 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/90  config=null
4 nov. 2010 14:10:00 org.apache.catalina.startup.Catalina start
INFO: Server startup in 309631 ms
Est-ce que quelqu'un peut m'expliquer la source de ce pb?
5 Replies
rguinot
Customer

Re: Erreur lors de l'upgrade 3.3 => 3.4

org.alfresco.repo.action.scheduled.ScheduledPersistedActionServiceImpl.locatePersistanceFolder(ScheduledPersistedActionServiceImpl.java:131)
   at

Vers quelle version faites vous la migration ? 3.4.a ou 3.4.b ? Avez vous installé en 3.3 le pack de langue français avant le bootstrap initial ?
Si oui, probable que ce problème soit celui-ci : https://issues.alfresco.com/jira/browse/ALF-4720
ruman
Member II

Re: Erreur lors de l'upgrade 3.3 => 3.4

Bonjour,

Je migre vers 3.4.a.
En 3.3 j'avais installe le pack de langue francais avant le bootstrap initial… de meme que dans les versions anterieures. Cette procedure de migration est celle que j'applique depuis la version 2.1.
De ce que je comprends, je devrais essayer d'upgrader en version 3.4.b, version pour laquelle le probleme est resolu. Seulement cette version n'est pas encore mise a disposition sur le wiki non plus que sur sourceforge.
Du coup, j'ai tente la modification manuelle des noms des dossiers par defaut en 3.3 puis upgrade en 3.4. Cela fonctionne.
Si apres le premier demarrage le modifie a nouveau l'un de ces dossiers, le demarrage suivant plante a nouveau.
Je vais donc attendre la mise a dispo de la 3.4.b avant d'upgrader.

Merci pour votre aide.
jayjayecl
Active Member II

Re: Erreur lors de l'upgrade 3.3 => 3.4

A savoir que les nightly builds sont toujours disponibles.
Biensûr, ce ne sont pas pas des releases officielles, donc à ne pas utiliser en production :

http://dev.alfresco.com/downloads/nightly/dist/

Smiley Very Happy
ruman
Member II

Re: Erreur lors de l'upgrade 3.3 => 3.4

OK, alors j'essai un upgrade en 3.4.b pour verifier que mon probleme est resolu de cette maniere.
ruman
Member II

Re: Erreur lors de l'upgrade 3.3 => 3.4

Upgrade effectue avec succes en 3.4.b avec des nommages de dossiers par defaut non standard.

Merci pour votre aide.