cancel
Showing results for 
Search instead for 
Did you mean: 

Problème de tag après migration de données 3.4.8 -> 4.0.1

gthomazon
Champ in-the-making
Champ in-the-making
Bonjour,

Je suis actuellement sur une installation d'Alfresco 4.0.1 qui fonctionne parfaitement.
Lors de la création d'un site je peux avec un utilisateur administrateur et un autre collaborateur ajouter, supprimer des tags dans l’espace documentaire sur n’importe quel document.

Je fais une installation de 3.4.8 dans laquelle je crée 3 sites basiques avec quelques documents dans l’espace documentaire de chaque site.

J'essaie de faire une migration de mes données de la précédente version (3.4.8) vers celle-ci.

Pour cela, j’enregistre ma base de données de 3.4.8, j’efface ma base de données actuelle de 4.0.1, puis la recrée.
 mysql -u alfresco_db -palfresco_db alfresco401 < alfresco348.sql
J’ajoute à mon alfresco-global.properties :
## FULL for temporary for reindexation, AUTO for normal use
index.recovery.mode=FULL
Je supprime les données existantes dans mon repertoire alfresco :
rm -rf /projet/alfresco/4.0.1/alf_data/contentstore
rm -rf /projet/alfresco/4.0.1/alf_data/contentstore.deleted
rm -rf /projet/alfresco/4.0.1/alf_data/lucene-indexes
rm -rf /projet/alfresco/4.0.1/solr/workspace
rm -rf /projet/alfresco/4.0.1/solr/archive
rm -rf /projet/alfresco/4.0.1/solr/archive-SpacesStore/alfrescoModels
rm -rf /projet/alfresco/4.0.1/solr/workspace-SpacesStore/alfrescoModels

cd /projet/alfresco/4.0.1/
J’ajoute à ma base de données les données de 3.4.8 :
tar -xzvf / alfresco348_data.tgz
Du coup j’ai mes données de 3.4.8 dans le répertoire alf_data.
Je démarre et me connecte avec l’administrateur, log :
 6 juin 2012 10:35:38 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: /projet/alfresco/4.0.1/app/java/jre/lib/amd64/server:/projet/alfresco/4.0.1/app/java/jre/lib/amd64:/projet/alfresco/4.0.1/app/java/jre/../lib/amd64:/projet/alfresco/4.0.1/app/postgresql/lib:/projet/alfresco/4.0.1/app/common/lib::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
6 juin 2012 10:35:39 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
6 juin 2012 10:35:39 org.apache.coyote.http11.Http11Protocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8443
6 juin 2012 10:35:39 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1390 ms
6 juin 2012 10:35:39 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
6 juin 2012 10:35:39 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
6 juin 2012 10:35:39 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration host-manager.xml
6 juin 2012 10:35:40 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration alfresco.xml
6 juin 2012 10:35:42 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.
2012-06-06 10:35:58,993  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-06-06 10:35:59,093  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2012-06-06 10:36:08,482  WARN  [alfresco.util.AbstractTriggerBean] [main] Job ehCacheTracerJob is not active/enabled
2012-06-06 10:36:14,523  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor Repository Template Processor for extension ftl
2012-06-06 10:36:14,525  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor Repository Script Processor for extension js
2012-06-06 10:36:22,011  INFO  [domain.schema.SchemaBootstrap] [main] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
2012-06-06 10:36:22,428  WARN  [domain.schema.SchemaBootstrap] [main] Schema validation found 43 potential problems, results written to: /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-alf_-2559489879722918512.txt
2012-06-06 10:36:22,434  WARN  [domain.schema.SchemaBootstrap] [main] Schema validation found 10 potential problems, results written to: /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-avm_-8378916048069825228.txt
2012-06-06 10:36:22,768  INFO  [domain.schema.SchemaBootstrap] [main] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-JBPM.xml]
2012-06-06 10:36:22,776  WARN  [domain.schema.SchemaBootstrap] [main] Schema validation found 19 potential problems, results written to: /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-act_-7212187552297451867.txt
2012-06-06 10:36:24,245  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-pre-upgrade-alf_-3943466770632301388.xml.
2012-06-06 10:36:24,245  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-pre-upgrade-avm_-528787135013749702.xml.
2012-06-06 10:36:24,245  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-pre-upgrade-jbpm_-7216136388223640777.xml.
2012-06-06 10:36:24,245  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-pre-upgrade-act_-6952441481150965172.xml.
2012-06-06 10:36:24,268  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-4803218375672712002.sql (Copied from classpath:alfresco/dbscripts/upgrade/3.4/org.hibernate.dialect.MySQLInnoDBDialect/AVM-index-child-entries-lower.sql).
2012-06-06 10:36:24,454  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-8428149461324762467.sql (Copied from classpath:alfresco/dbscripts/upgrade/4.0/org.hibernate.dialect.MySQLInnoDBDialect/AclChangeSet-Tracking.sql).
2012-06-06 10:36:24,493  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-4972329864086567650.sql (Copied from classpath:alfresco/dbscripts/upgrade/4.0/org.hibernate.dialect.MySQLInnoDBDialect/NodeAssoc-Ordering.sql).
2012-06-06 10:36:24,528  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-5237513745592340809.sql (Copied from classpath:alfresco/dbscripts/upgrade/4.0/org.hibernate.dialect.MySQLInnoDBDialect/Node-Locale.sql).
2012-06-06 10:36:24,616  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-7272007136586251863.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-SubscriptionTables.sql).
2012-06-06 10:36:24,632  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-3692649983116076868.sql (Copied from classpath:alfresco/dbscripts/upgrade/4.0/org.hibernate.dialect.MySQLInnoDBDialect/Solr-Tracking.sql).
2012-06-06 10:36:25,665  INFO  [domain.schema.SchemaBootstrap] [main] All executed statements:  /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-All_Statements-6533157144006493576.sql.
2012-06-06 10:36:25,711  WARN  [domain.schema.SchemaBootstrap] [main] Schema validation found 43 potential problems, results written to: /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Post-Upgrade-alf_-4778244575561141333.txt
2012-06-06 10:36:25,718  WARN  [domain.schema.SchemaBootstrap] [main] Schema validation found 10 potential problems, results written to: /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Post-Upgrade-avm_-2440320773615421110.txt
2012-06-06 10:36:25,873  INFO  [domain.schema.SchemaBootstrap] [main] Compared database schema with reference schema (all OK): class path resource [alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/Schema-Reference-JBPM.xml]
2012-06-06 10:36:26,049  WARN  [domain.schema.SchemaBootstrap] [main] Schema validation found 6 potential problems, results written to: /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Post-Upgrade-act_-2532892032440427599.txt
2012-06-06 10:36:26,633  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-post-upgrade-alf_-1977518217108903808.xml.
2012-06-06 10:36:26,633  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-post-upgrade-avm_-4218344709981607039.xml.
2012-06-06 10:36:26,633  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-post-upgrade-jbpm_-5625101458333145247.xml.
2012-06-06 10:36:26,633  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/Alfresco-schema-MySQLInnoDBDialect-post-upgrade-act_-7506334947324405216.xml.
2012-06-06 10:36:26,633  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema (pre-bootstrap)  dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-8776082836302686030-Startup.xml.
2012-06-06 10:36:26,633  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema (post-bootstrap) dumped to file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-1251622372640650602.xml.
2012-06-06 10:36:26,780  DEBUG [alfresco.repo.module] [main] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2e0ece65, name=log4j:logger=org.alfresco.repo.module
2012-06-06 10:36:26,788  DEBUG [repo.module.ModuleComponentHelper] [main] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2e0ece65, name=log4j:logger=org.alfresco.repo.module.ModuleComponentHelper
2012-06-06 10:36:27,790  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Search' subsystem, ID: [Search, managed, solr]
2012-06-06 10:36:28,066  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
2012-06-06 10:36:28,240  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2012-06-06 10:36:28,558  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2012-06-06 10:36:28,558  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-06-06 10:36:29,571  WARN  [alfresco.util.OpenOfficeConnectionTester] [main] An initial OpenOffice connection could not be established.
2012-06-06 10:36:29,575  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2012-06-06 10:36:29,575  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
2012-06-06 10:36:29,640  INFO  [jodconverter.office.OfficeProcess] [OfficeProcessThread-0] profile dir '/projet/alfresco/4.0.1/app/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100' already exists; deleting
2012-06-06 10:36:29,652  WARN  [jodconverter.office.OfficeProcess] [OfficeProcessThread-0] Unable to delete file: /projet/alfresco/4.0.1/app/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100/.lock
2012-06-06 10:36:33,289  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] complete
2012-06-06 10:36:33,554  INFO  [repo.admin.ConfigurationChecker] [main] The Alfresco root data directory ('dir.root') is: /projet/alfresco/4.0.1/alf_data
2012-06-06 10:36:33,562  INFO  [admin.patch.PatchExecuter] [main] Checking for patches to apply …
2012-06-06 10:36:34,190  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.imapSpacesLocaleTemplates' (A placeholder patch; usually marks a superceded patch.).
2012-06-06 10:36:34,215  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.activitiesEmailTemplate' (null).
2012-06-06 10:36:34,714  WARN  [admin.patch.PatchExecuter] [main] Patch description is not available: Patch[ id=patch.activitiesEmailTemplate, description=patch.activitiesEmailTemplate.description, fixesFromSchema=0, fixesToSchema=5005, targetSchema=5006]
2012-06-06 10:36:34,717  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.newUserEmailTemplates' (Adds the email templates for notifying new users of their accounts).
2012-06-06 10:36:35,082  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.inviteEmailTemplates' (Adds the email templates for inviting users to a Site).
2012-06-06 10:36:35,391  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.htmlNotificationMailTemplates' (Adds HTML email templates for notifying users of new content).
2012-06-06 10:36:35,871  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.imapSpacesTemplates2' (Replaces content templates for IMAP clients).
2012-06-06 10:36:36,645  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.migrateAttrDropOldTables' (Drops old alf_*attribute* tables and sequence).
2012-06-06 10:36:36,664  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.activitiesTemplatesUpdate' (Updates activities email templates.).
2012-06-06 10:36:37,697  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.followingMailTemplates' (Adds email templates for following notifications).
2012-06-06 10:36:37,962  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.avmToAdmRemoteStore' (Migrates Share Surf config from AVM sitestore to DM Sites folder.).
2012-06-06 10:36:37,963  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] Retrieving paths from AVM store: sitestore:/alfresco/site-data
2012-06-06 10:36:38,043  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] Found: 36 AVM files nodes to migrate
2012-06-06 10:36:38,044  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] Retrieved: 36 AVM paths in 80ms
2012-06-06 10:36:38,137  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] AVMToADMRemoteStorePatch: Commencing batch of 3 entries
2012-06-06 10:36:38,423  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] AVMToADMRemoteStorePatch: Processed 3 entries out of 3. 100 % complete. Rate: 10 per second. 0 failures detected.
2012-06-06 10:36:38,423  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] AVMToADMRemoteStorePatch: Completed batch of 3 entries
2012-06-06 10:36:38,424  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] Created 'surf-config' folders for: 3 sites in 287ms
2012-06-06 10:36:38,428  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] AVMToADMRemoteStorePatch: Commencing batch of 36 entries
2012-06-06 10:36:38,495  INFO  [management.subsystems.ChildApplicationContextFactory] [AVMToADMRemoteStorePatch1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-06-06 10:36:38,748  INFO  [management.subsystems.ChildApplicationContextFactory] [AVMToADMRemoteStorePatch1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2012-06-06 10:36:39,426  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] AVMToADMRemoteStorePatch: Processed 36 entries out of 36. 100 % complete. Rate: 36 per second. 0 failures detected.
2012-06-06 10:36:39,426  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] AVMToADMRemoteStorePatch: Completed batch of 36 entries
2012-06-06 10:36:39,426  INFO  [patch.impl.AVMToADMRemoteStorePatch] [main] Migrated: 36 AVM nodes to DM in 1289ms
2012-06-06 10:36:39,430  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.copiedFromAspect' (Adds peer associations for cm:copiedfrom and cm:workingcopy (new model) and removes cm:source property).
2012-06-06 10:36:39,451  INFO  [admin.patch.PatchExecuter] [main] CopiedFromAspectPatch: Commencing batch of 1 entries
2012-06-06 10:36:39,487  INFO  [admin.patch.PatchExecuter] [main] CopiedFromAspectPatch: Processed 1 entries out of 1. 100 % complete. Rate: 27 per second. 0 failures detected.
2012-06-06 10:36:39,487  INFO  [admin.patch.PatchExecuter] [main] CopiedFromAspectPatch: Completed batch of 1 entries
2012-06-06 10:36:39,496  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.publishing.root' (Creates the publishing root folder in the Data Dictionary).
2012-06-06 10:36:39,631  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.workflowNotification' (Patch to add workflow email notification email folder and template.).
2012-06-06 10:36:39,867  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.nodeTemplatesFolder' (Patch to create new Data Dictionary folder for Share - Create Node by Template).
2012-06-06 10:36:39,909  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.updateMimetypes3' (Fix mimetype for MPEG Audio).
2012-06-06 10:36:39,915  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.updateWorkflowNotificationTemplates' (Patch to update the workflow notification templates.).
2012-06-06 10:36:40,418  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.updateMimetypes4' (Rationalise mimetypes for PhotoShop and AutoCad).
2012-06-06 10:36:40,425  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.updateFollowingEmailTemplatesPatch' (Patch to update the following notification email templates.).
2012-06-06 10:36:40,733  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.addDutchEmailTemplatesPatch' (Patch to add Dutch email templates.).
2012-06-06 10:36:41,414  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.imapUnsubscribedAspect' (Patch to remove deprecated "imap:nonSubscribed" aspect from folders.).
2012-06-06 10:36:41,432  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.siteLoadPatch.swsdp' (Loads a sample site into the repository.).
2012-06-06 10:36:41,435  INFO  [admin.patch.PatchExecuter] [main]    Applying patch 'patch.exampleJavaScript' (Loads sample Javascript file into datadictionary scripts folder).
2012-06-06 10:36:41,523  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.imapSpacesLocaleTemplates
RESULT:
No-op patch
=====================================
2012-06-06 10:36:41,523  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.imapSpacesTemplates2
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:imap_configs/app:imap_templates (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,523  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.inviteEmailTemplates
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:email_templates/cm:invite (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.newUserEmailTemplates
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:email_templates/cm:invite (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.activitiesEmailTemplate
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:email_templates (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.htmlNotificationMailTemplates
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:email_templates/app:notify_email_templates (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.migrateAttrDropOldTables
RESULT:
Drop tables alf_attributes, alf_global_attributes, alf_list_attribute_entries, alf_map_attribute_entries and sequence alf_attributes_seq
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.db-V4.0-AclChangeSet
RESULT:
Script completed
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.db-V4.0-NodeAssoc-Ordering
RESULT:
Script completed
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.db-V4.0-Node-Locale
RESULT:
Script completed
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.followingMailTemplates
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:email_templates (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.activitiesTemplatesUpdate
RESULT:
Updated activities email templates.
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.db-V4.0-SubscriptionTables
RESULT:
Script completed
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.avmToAdmRemoteStore
RESULT:
Completed Share Surf config migration.
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.copiedFromAspect
RESULT:
Fixed cm:copiedfrom model for 1 nodes.  See file /projet/alfresco/4.0.1/app/tomcat/temp/Alfresco/longLife_patches/CopiedFromAspectPatch.log for details.
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.publishing.root
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.workflowNotification
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:email_templates (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.nodeTemplatesFolder
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.updateMimetypes3
RESULT:
Updating mimetypes.
   Finished updating mimetypes.
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.updateWorkflowNotificationTemplates
RESULT:
Workflow Notification Templates successfully updated.
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.updateMimetypes4
RESULT:
Updating mimetypes.
   Finished updating mimetypes.
=====================================
2012-06-06 10:36:41,524  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.updateFollowingEmailTemplatesPatch
RESULT:
Following notification email templates successfully updated.
=====================================
2012-06-06 10:36:41,525  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.db-V4.0-SolrTracking
RESULT:
Script completed
=====================================
2012-06-06 10:36:41,525  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.addDutchEmailTemplatesPatch
RESULT:
Dutch email templates have been successfully added.
=====================================
2012-06-06 10:36:41,525  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.imapUnsubscribedAspect
RESULT:
"imap:nonSubscribed" aspect was successfully removed from unsubscribed folders.
=====================================
2012-06-06 10:36:41,525  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.db-V3.4-AVM-index-child-entries-lower
RESULT:
Script completed
=====================================
2012-06-06 10:36:41,525  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.exampleJavaScript
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary/app:scripts (workspace://SpacesStore/28cdec57-7edf-4162-a903-f7dba1302c69)
=====================================
2012-06-06 10:36:41,525  INFO  [admin.patch.PatchExecuter] [main]
=== Applied patch                 ===
ID: patch.siteLoadPatch.swsdp
RESULT:
The site swsdp is only created for new installs.
=====================================
2012-06-06 10:36:41,542  INFO  [repo.module.ModuleServiceImpl] [main] Found 1 module(s).
2012-06-06 10:36:41,571  INFO  [repo.module.ModuleServiceImpl] [main] Installing module 'org.alfresco.module.vti' version 1.2.
2012-06-06 10:36:41,578  DEBUG [repo.module.ModuleComponentHelper] [main] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-05-25T14:40:45.609+02:00}]' including 0components.
2012-06-06 10:36:41,583  DEBUG [repo.module.ModuleComponentHelper] [main] Installed module found in distribution: org.alfresco.module.vti
2012-06-06 10:36:41,594  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'fileServers' subsystem, ID: [fileServers, default]
2012-06-06 10:36:47,804  WARN  [org.alfresco.fileserver] [main] CIFS, Unable to get local domain/workgroup name, using default of WORKGROUP. This may be due to firewall settings or incorrect <broadcast> setting)
2012-06-06 10:36:47,869  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2012-06-06 10:36:47,869  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'imap' subsystem, ID: [imap, default]
2012-06-06 10:36:47,914  ERROR [org.alfresco.fileserver] [CIFS Server] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
2012-06-06 10:36:47,955  ERROR [org.alfresco.fileserver] [CIFS Server] Error from JLAN
org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
   at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
   at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:475)
   at java.lang.Thread.run(Thread.java:662)
2012-06-06 10:36:47,979  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'imap' subsystem, ID: [imap, default] complete
2012-06-06 10:36:47,979  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'email' subsystem, ID: [email, outbound]
2012-06-06 10:36:48,060  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'email' subsystem, ID: [email, outbound] complete
2012-06-06 10:36:48,060  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'email' subsystem, ID: [email, inbound]
2012-06-06 10:36:48,133  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'email' subsystem, ID: [email, inbound] complete
2012-06-06 10:36:48,133  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'googledocs' subsystem, ID: [googledocs, default]
2012-06-06 10:36:48,214  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
2012-06-06 10:36:48,214  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-06-06 10:36:48,238  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2012-06-06 10:36:48,239  INFO  [repo.usage.UserUsageTrackingComponent] [main] Disabled - clear non-missing user usages …
2012-06-06 10:36:48,243  INFO  [repo.usage.UserUsageTrackingComponent] [main] Found 2 users to clear
2012-06-06 10:36:48,511  INFO  [repo.usage.UserUsageTrackingComponent] [main] … cleared non-missing usages for 2 users
2012-06-06 10:36:48,511  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2012-06-06 10:36:48,595  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2012-06-06 10:36:48,684  INFO  [service.descriptor.DescriptorService] [main] Alfresco JVM - v1.6.0_27-b07; maximum heap size 989,875MB
2012-06-06 10:36:48,784  INFO  [service.descriptor.DescriptorService] [main] Alfresco license: Mode ENTERPRISE granted limited to 296 days expiring Fri Nov 30 01:00:00 CET 2012 (177 days remaining).
2012-06-06 10:36:48,802  INFO  [service.descriptor.DescriptorService] [main] Alfresco started (Enterprise). Current version: 4.0.1 (897) schema 5 028. Originally installed version: 3.4.8 (638) schema 4 208.
2012-06-06 10:36:48,803  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-06-06 10:36:48,914  WARN  [alfresco.util.AbstractTriggerBean] [main] Job feedNotifierTrigger is not active/enabled
2012-06-06 10:36:48,914  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2012-06-06 10:36:48,914  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Replication' subsystem, ID: [Replication, default]
2012-06-06 10:36:48,925  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2012-06-06 10:36:51,618  INFO  [module.vti.VtiServer] [main] Vti server started successfully on port: 7070
2012-06-06 10:36:51,618  INFO  [module.vti.VtiServer] [main] Vti server SessionIdManagerWorkerName: jetty1
2012-06-06 10:36:59,117  WARN  [extensions.webscripts.DeclarativeRegistry] [main] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 05060000 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
2012-06-06 10:36:59,117  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 481 Web Scripts (+1 failed), 748 URLs
2012-06-06 10:36:59,117  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 2 Package Description Documents (+0 failed)
2012-06-06 10:36:59,117  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 1 Schema Description Documents (+0 failed)
2012-06-06 10:36:59,119  INFO  [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Repository Web Script Container (in 7327.596ms)
2012-06-06 10:36:59,130  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-06-06 10:36:59,131  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-06-06 10:37:00,084  INFO  [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-2] The OpenOffice connection was re-established.
6 juin 2012 10:37:04 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration solr.xml
6 juin 2012 10:37:04 org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: Using JNDI solr.home: /projet/alfresco/4.0.1/solr
6 juin 2012 10:37:04 org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/projet/alfresco/4.0.1/solr/'
6 juin 2012 10:37:04 org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/projet/alfresco/4.0.1/solr/lib/junit-4.8.1.jar' to classloader
6 juin 2012 10:37:04 org.apache.solr.core.SolrResourceLoader replaceClassLoader
.
.
.
INFO: Adding 'file:/projet/alfresco/4.0.1/solr/lib/spring-surf-core-configservice-1.0.0.jar' to classloader
6 juin 2012 10:37:06 org.quartz.core.SchedulerSignalerImpl <init>
INFO: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
6 juin 2012 10:37:06 org.quartz.core.QuartzScheduler <init>
INFO: Quartz Scheduler v.1.8.3 created.
6 juin 2012 10:37:06 org.quartz.simpl.RAMJobStore initialize
INFO: RAMJobStore initialized.
6 juin 2012 10:37:06 org.quartz.core.QuartzScheduler initialize
INFO: Scheduler meta-data: Quartz Scheduler (v1.8.3) 'SolrTrackerScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

6 juin 2012 10:37:06 org.quartz.impl.StdSchedulerFactory instantiate
INFO: Quartz scheduler 'SolrTrackerScheduler' initialized from an externally provided properties instance.
6 juin 2012 10:37:06 org.quartz.impl.StdSchedulerFactory instantiate
INFO: Quartz scheduler version: 1.8.3
6 juin 2012 10:37:06 org.quartz.core.QuartzScheduler start
INFO: Scheduler SolrTrackerScheduler_$_NON_CLUSTERED started.
6 juin 2012 10:37:06 org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/projet/alfresco/4.0.1/solr/workspace-SpacesStore/'
6 juin 2012 10:37:06 org.apache.solr.core.SolrConfig initLibs
INFO: Adding specified lib dirs to ClassLoader
6 juin 2012 10:37:06 org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
6 juin 2012 10:37:06 org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
6 juin 2012 10:37:06 org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=alfresco
6 juin 2012 10:37:06 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
6 juin 2012 10:37:06 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
6 juin 2012 10:37:06 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
6 juin 2012 10:37:06 org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created alfrescoDataType: org.alfresco.solr.AlfrescoDataType
6 juin 2012 10:37:06 org.apache.solr.core.SolrCore initIndex
ATTENTION: [alfresco] Solr index directory '/projet/alfresco/4.0.1/solr/workspace/SpacesStore/index' doesn't exist. Creating new index…
6 juin 2012 10:37:08 org.apache.solr.handler.component.SpellCheckComponent inform
ATTENTION: No queryConverter defined, using default converter
6 juin 2012 10:37:08 org.apache.solr.core.SolrCore initIndex
ATTENTION: [archive] Solr index directory '/projet/alfresco/4.0.1/solr/archive/SpacesStore/index' doesn't exist. Creating new index…
6 juin 2012 10:37:08 org.apache.solr.handler.component.SpellCheckComponent inform
ATTENTION: No queryConverter defined, using default converter
6 juin 2012 10:37:08 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration manager.xml
6 juin 2012 10:37:08 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
2012-06-06 10:37:16,481  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-06-06 10:37:16,545  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-06-06 10:37:16,545  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-06-06 10:37:16,548  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2012-06-06 10:37:17,872  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 313 Web Scripts (+0 failed), 323 URLs
2012-06-06 10:37:17,872  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 8 Package Description Documents (+0 failed)
2012-06-06 10:37:17,872  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 0 Schema Description Documents (+0 failed)
2012-06-06 10:37:18,456  INFO  [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Spring Surf Container Web Script Container (in 1902.5039ms)
2012-06-06 10:37:18,461  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2012-06-06 10:37:18,464  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
6 juin 2012 10:37:18 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire ROOT de l'application web
6 juin 2012 10:37:18 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
6 juin 2012 10:37:18 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
6 juin 2012 10:37:18 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/14  config=null
6 juin 2012 10:37:18 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8443
6 juin 2012 10:37:18 org.apache.catalina.startup.Catalina start
INFO: Server startup in 99152 ms
2012-06-06 10:38:02,096  INFO  [web.site.EditionInterceptor] [http-8080-1] Successfully retrieved license information from Alfresco.

Tout se passe bien.

Maintenant je me connecte en tant qu’administrateur je vais sur un site déjà créé.
Je peux ajouter, supprimer les tags.
J’ai ces infos dans catalina.out :
 6 juin 2012 10:42:23 org.apache.tomcat.util.http.Parameters processParameters
INFO: Invalid chunk starting at byte [93] and ending at byte [93] with a value of [null] ignored
2012-06-06 10:42:23,926  INFO  [web.scripts.DictionaryQuery] [http-8080-21] Successfully retrieved dictionary information from Alfresco.
2012-06-06 10:42:51,339  WARN  [processor.node.NodeFormProcessor] [http-8080-16] Ignoring unrecognised field 'yui-gen118'
6 juin 2012 10:42:51 org.apache.tomcat.util.http.Parameters processParameters
INFO: Invalid chunk starting at byte [46] and ending at byte [46] with a value of [null] ignored
6 juin 2012 10:43:21 org.apache.tomcat.util.http.Parameters processParameters
INFO: Invalid chunk starting at byte [93] and ending at byte [93] with a value of [null] ignored

Par contre quand je me connecte en tant qu’utilisateur normal sur ce même site en tant que collaborateur j’ai impossibilité d’ajouter un tag.
Log dans catalina.out :

INFO: Invalid chunk starting at byte [93] and ending at byte [93] with a value of [null] ignored
6 juin 2012 10:45:42 org.apache.tomcat.util.http.Parameters processParameters
INFO: Invalid chunk starting at byte [93] and ending at byte [93] with a value of [null] ignored
Log dans localhost.log :

6 juin 2012 10:45:33 org.apache.catalina.core.ApplicationDispatcher invoke
GRAVE: "Servlet.service()" pour la servlet jsp a lancé une exception
java.lang.NullPointerException
   at org.apache.jsp.error500_jsp._jspService(error500_jsp.java:136)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
   at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
6 juin 2012 10:45:33 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, location=/error500.jsp]
org.apache.jasper.JasperException: java.lang.NullPointerException
   at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
   at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
   at org.apache.jsp.error500_jsp._jspService(error500_jsp.java:136)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
   … 19 more
6 juin 2012 10:45:42 org.apache.catalina.core.ApplicationDispatcher invoke
GRAVE: "Servlet.service()" pour la servlet jsp a lancé une exception
java.lang.NullPointerException
   at org.apache.jsp.error500_jsp._jspService(error500_jsp.java:136)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
   at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
6 juin 2012 10:45:42 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, location=/error500.jsp]
org.apache.jasper.JasperException: java.lang.NullPointerException
   at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
   at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
   at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
   at org.apache.jsp.error500_jsp._jspService(error500_jsp.java:136)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
   … 19 more
Le problème est le même si je crée un nouveau site avec mon nouvel utilisateur et que dans l’espace documentaire je crée un nouveau document. Impossible de mettre un tag.
Par contre avec l’admin aucun problème.

Après activation du debug java et javascript j’ai pu cerner un peu plus le problème.
En tant qu’utilisateur normal j’ai l’impression qu’on n’arrive pas à faire cette requête du fichier LuceneCategoryServiceImpl :

resultSet = indexerAndSearcher.getSearcher(storeRef, false).query(storeRef, "lucene",
                    "PATH:\"/" + getPrefix(qname.getNamespaceURI()) + ISO9075.encode(qname.getLocalName()) + "\"", null);

Le bug est donc :
Impossibiliter de mettre un tag sur un document après l’import en 4.0.1 d’une base de données venant de 3.4.8 par un utilisateur autre que l’administrateur. Que se soit un site préexistant ou un nouveau site.
Ca me fait penser un peu à celui là : https://issues.alfresco.com/jira/browse/ALF-10814

J’aimerais savoir si vous avez, vous aussi, eu ce bug et ce que vous avez fait pour le corriger.
Ou si vous réussissez à le reproduire.
12 REPLIES 12

bertrandf
Champ on-the-rise
Champ on-the-rise
Bonjour,

De quelle manière avez-vous configuré SolR ?

gthomazon
Champ in-the-making
Champ in-the-making
Le répertoire Solr a été déplacé à la racine de mon projet.
J'ai donc modifié le fichier solr.xml :
<?xml version="1.0" encoding="utf-8"?>
<Context docBase="/projet/alfresco/4.0.1/solr/apache-solr-1.4.1.war" debug="1" crossContext="true">
  <Environment name="solr/home" type="java.lang.String" value="/projet/alfresco/4.0.1/solr" override="true"/>
</Context>

et les fichiers solrcore.properties dans les répertoires /solr/workspace-SpacesStore/conf et /solr/archive-SpacesStore/conf :
data.dir.root=/projet/alfresco/4.0.1/solr

bertrandf
Champ on-the-rise
Champ on-the-rise
Vous utilisez le mode sécurisé (https) ou non ?

gthomazon
Champ in-the-making
Champ in-the-making
Dans le alfresco-global.properties j'ai :

index.subsystem.name=solr
dir.keystore=/projet/alfresco/4.0.1/keystore
solr.port=8080
solr.port.ssl=8443
Et j'y accède par cette url :
http://192.168.51.199:8080/solr/alfresco/admin/

Il faut ajouter le certificat browser.p12 présent dans le repertoire keystore.

La page s'affiche et l'url est devenue https://192.168.51.199:8443/solr/alfresco/admin/


Pour le reste il n'y a rien en https.

bertrandf
Champ on-the-rise
Champ on-the-rise
Vous n'avez pas d'erreur lorsque vous naviguer dans vos sites ?
Vos erreurs apparaissent seulement quand vous étiez les tags ou également lors de l'édition d'autres métadonnées ?
Avez-vous des problèmes liés à l'indexation (aucun résultat lors d'une recherche, résultats incohérents, …) ?

gthomazon
Champ in-the-making
Champ in-the-making
Je peux éditer les méta je n'ai aucun soucis.
Les recherches marchent très bien avec l'admin sur les anciens et nouveaux sites.
Mais pas avec l'utilisateur normal, j'arrive juste à obtenir des résultats sur les nouveaux sites pas les anciens qui ont été importés.

J'ai remarqué dans le node browser de l'interface alfresco j'ai toutes les valeurs d'index à -1.
Par contre dans le node browser de l'interface share j'ai des valeurs.

bertrandf
Champ on-the-rise
Champ on-the-rise
La taille de votre entrepôt est elle conséquente ?

Pour être sûr que vos problèmes ne sont pas liés à Solr, vous pourriez essayer d'utiliser le moteur d’indexation Lucene, de faire une ré-indexation FULL et de voir si vous avez toujours les mêmes erreurs.
Si tel est le cas alors c'est peut être qu'un patch est mal passé pendant la migration, si vous n'avez plus d'erreur, alors il faudra creuser coté Solr.

Question bête, avant de faire la bascule, vous avez bien déposé votre nouvelle licence Alfresco 4 ?

gthomazon
Champ in-the-making
Champ in-the-making
Non mon entrepôt est tout petit. J'avais juste fait une installation de 3.4.8 et créé 3 sites contenant chacun 4 fichiers. Puis sauver les data et les méta.
Après j'ai installé la V.4.0.1 et récupéré les data et les méta précédents.

En ce qui concerne la licence tout est ok aussi.

J'ai fait la manip lucene et effectivement tout marche bien dans cette configuration.
Solr est donc le problème.

Par contre je vois toujours pas comment le résoudre …

gthomazon
Champ in-the-making
Champ in-the-making
J'ai mis Solr en mode non ssl comme indiqué dans le wiki :
http://wiki.alfresco.com/wiki/Alfresco_And_SOLR#Running_Without_SSL

Mais malheureusement ça ne change rien …
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.