Prévisualisation des documents

cancel
Showing results for 
Search instead for 
Did you mean: 
choixged
Active Member

Prévisualisation des documents

Bonjour,
Je suis entrain de configurer Alfresco pour qu'il soit en utilisation mais un problème qu'on a détecté et qui pose un grand problème pour nous c'est qu'il permet la prévisualisation des fichiers PDF et images sans problème mais pas pour les fichiers Word et plus précisément les fichiers office,alors que nous voulons spécifier dans quelques cas que l'utilisateur ne peux pas copier du fichier mais seulement le voir.
Comment puis-je résoudre ce problème?
j'ai essayé d'appliquer les solutions proposées dans les autres posts concernant la prévisualisation mais ça n'a donnée aucun fruit.
une autre question , c'est où puis je trouver le log d'Alfresco??

J'attends vos réponse avec impatience, Merci beaucoup
18 Replies
jeanjot
Active Member

Re: Prévisualisation des documents

Bonjour

Alors commençons par le début :
1. Quelle version d'Alfresco (entreprise, communautaire) ?
2. Quelle OS (Windows ???, MacOS, Linux ???) ?
3. Quelle SGBD ?
4. Et pour finir un petit topo de votre procédure d'installation.

Cela nous permettra peur-être de vous répondre.
choixged
Active Member

Re: Prévisualisation des documents

Merci pour votre réponse.
Je suis désolé d'être peu précis mais bon.

J'utilise Alfresco community 3.4.d sous Windows, je travaille avec mysql qui est installée par défaut avec la version communautaire et si j'ai bien compris la question concernant la topo d'installation , je dirais qu'on a suivi l'installation par défaut et on a rien ajouté de plus,( justement je voulais savoir si je devais changer quelque chose ou faire des configurations pour que la prévisualisation marche sans problème).
Merci
jeanjot
Active Member

Re: Prévisualisation des documents

Bonjour

Vous pouvez commencer par mettre à true l'utilisation d'openoffice dans le fichier alfresco-global.properties qui se trouve normalement (car je ne suis pas sous windows) dans le dossier suivant :
$HOME_ALFRESCO/tomcat/shared/classes/

la modification s'effectue dans cette partie à la ligne ooo.enabled qui doit normalement être à true par défaut cette valeur est à false (en tout cas sous linux) :
### External executable locations ###
ooo.exe=/opt/alfresco-3.4.d/openoffice/program/soffice.bin
ooo.enabled=true
img.root=/opt/alfresco-3.4.d/common
img.dyn=/usr/lib
img.exe=/usr/bin/convert
swf.exe=/usr/bin/pdf2swf
jodconverter.enabled=true
jodconverter.officeHome=/opt/alfresco-3.4.d/openoffice
jodconverter.portNumbers=8101

N'oubliez pas de stopper et de redémarrer le serveur alfresco.
choixged
Active Member

Re: Prévisualisation des documents

Merci pour votre réponse assez rapide , j'ai fait ce que vous avez dit mais cela ne marche toujours pas  Smiley Surprisedops:  Smiley Sad


Quand j'ai fait les modifications que vous m'avez conseillé la partie concernant la prévisualisation de mon fichier alfresco-global.properties est presque similaire au votre, elle  se présente comme suit:


### External executable locations ###
ooo.exe=C:/Alfresco/openoffice/App/openoffice/program/soffice.exe
ooo.enabled=true
img.root=C:/Alfresco/imagemagick
img.dyn=${img.root}/lib
img.exe=${img.root}/convert
swf.exe=C:/Alfresco/swftools/pdf2swf.exe
jodconverter.enabled=true
jodconverter.officeHome=C:/Alfresco/openoffice/App/openoffice
jodconverter.portNumbers=8101

Merci beaucoup
jeanjot
Active Member

Re: Prévisualisation des documents

bonjour

Pouvez-vous nous donner contenu de fichier catalina.out qui se trouve (pour linux) sous :
$HOME_ALFRESCO/tomcat/log

Pour ce faire, je vous conseille de :
1. stopper Alfresco
2. Supprimer le fichier existant (catalina.out)
3. lancer Alfresco
4. nous donner le contenu du nouveau fichier.
choixged
Active Member

Re: Prévisualisation des documents

Bonjour,
J'ai effacé tous les fichiers existants dans le dossier C:/Alfresco/tomcat/logs je n'ai pas vraiment un fichier catalina.out mais j'ai quelques fichiers logs qui sont:
stdout_20110516.logContient:

02:03:42,328  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
02:03:42,343  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
02:03:42,343  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org_alfresco_module_dod5015\alfresco-global.properties]
02:03:42,343  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org_alfresco_module_wcmquickstart\alfresco-global.properties]
02:03:42,359  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\test\alfresco-global.properties]
02:03:42,359  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\tests\alfresco-global.properties]
02:03:42,359  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
02:03:42,468  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:03:42,671  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:03:42,765  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:03:43,015  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:03:43,015  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:04:24,343  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'serviceBeans' being accessed! Ambiguous write methods found next to actually used [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.lang.Object[])]: [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.util.List)]
02:04:29,078  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
02:04:29,078  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
02:04:39,937  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
02:04:43,453  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
02:04:43,671  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
02:04:43,703  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:04:43,703  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:04:43,703  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:04:43,703  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:04:43,703  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:04:44,250  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
02:04:51,234  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
02:04:51,265  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:04:51,265  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:04:51,265  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:04:51,265  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:04:51,265  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:04:52,234  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
02:04:52,234  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
02:04:52,265  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:04:52,281  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:04:52,281  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:04:52,281  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:04:52,281  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:04:54,859  WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
02:04:54,906  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
02:04:59,578  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
02:04:59,906  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
02:05:01,734  INFO  [admin.patch.PatchExecuter] No patches were required.
02:05:01,781 User:System INFO  [repo.module.ModuleServiceImpl] Found 4 module(s).
02:05:01,921 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org_alfresco_module_wcmquickstart' version 1.0.
02:05:02,015 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org_alfresco_module_dod5015' version 1.0.
02:05:02,187 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
02:05:02,421 User:System INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.quickr' version 1.0.
02:05:02,515  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
02:05:02,562  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:02,562  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:02,562  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:02,562  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:02,562  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:04,218  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
02:05:04,281  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:04,296  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:04,296  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:04,296  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:04,296  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:04,921  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
02:05:06,781  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
02:05:06,781  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
02:05:06,828  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:06,828  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:06,828  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:06,843  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:06,843  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:07,656  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
02:05:07,656  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
02:05:07,718  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:07,718  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:07,718  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:07,718  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:07,718  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:08,421  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
02:05:08,421  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
02:05:08,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:08,468  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:08,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:08,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:08,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:08,828  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.lang.String)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]
02:05:08,828  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)]
02:05:08,875  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
02:05:08,875  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
02:05:09,031  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:09,046  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:09,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:09,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:09,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:12,328  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
02:05:12,328  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
02:05:12,390  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
02:05:12,390  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
02:05:12,390  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
02:05:12,453  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:12,468  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:12,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:12,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:12,468  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:13,734  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
02:05:13,968  INFO  [alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
02:05:14,015  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_18-b07; maximum heap size 742,438MB
02:05:14,015  INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.4.0 (d 3370) schema 4113 - Originally installed version 3.4.0 (d 3370) schema 4113
02:05:14,015  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
02:05:14,031  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:05:14,031  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:05:14,031  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:05:14,031  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:05:14,031  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:05:14,265  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
02:05:30,484  INFO  [module.vti.VtiServer] Vti server started successfully on port: 7070
02:06:22,593 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 449 Web Scripts (+0 failed), 700 URLs
02:06:22,593 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
02:06:22,593 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
02:06:22,609 User:System INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 28538.613ms)
02:06:22,625  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:06:22,625  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
02:06:23,734  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default]
02:06:23,906  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
02:06:23,906  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
02:06:23,906  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
02:06:23,984  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
02:06:23,984  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
02:06:24,390  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default] complete
02:07:14,156  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 309 Web Scripts (+0 failed), 319 URLs
02:07:14,156  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
02:07:14,156  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
02:07:14,640  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 4999.5684ms)
02:07:14,953  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:07:16,812  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
02:07:17,140  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:07:17,156  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
02:07:17,500  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
02:07:17,515  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
WARN : org.apache.myfaces.shared_impl.util.LocaleUtils - Locale name in faces-config.xml null or empty, setting locale to default locale : fr_FR

Le fichier stderr_20110516.log
16 mai 2011 02:03:25 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
16 mai 2011 02:03:25 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
16 mai 2011 02:03:25 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
16 mai 2011 02:03:25 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
16 mai 2011 02:03:25 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1434 ms
16 mai 2011 02:03:25 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
16 mai 2011 02:03:25 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
16 mai 2011 02:03:25 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration alfresco.xml
16 mai 2011 02:03:28 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.
16 mai 2011 02:03:31 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16 mai 2011 02:06:31 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration host-manager.xml
16 mai 2011 02:06:32 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration manager.xml
16 mai 2011 02:06:32 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive awe.war de l'application web
16 mai 2011 02:06:39 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16 mai 2011 02:06:40 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16 mai 2011 02:06:54 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
16 mai 2011 02:06:56 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16 mai 2011 02:07:19 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16 mai 2011 02:07:19 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16 mai 2011 02:07:19 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive wcmqs.war de l'application web
16 mai 2011 02:07:32 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16 mai 2011 02:07:32 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
16 mai 2011 02:07:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire oncf de l'application web
16 mai 2011 02:07:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire ROOT de l'application web
16 mai 2011 02:07:50 org.apache.coyote.http11.Http11AprProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
16 mai 2011 02:07:51 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
16 mai 2011 02:07:51 org.apache.catalina.startup.Catalina start
INFO: Server startup in 265370 ms

et aussi il y a le fichier jakarta_service_20110516.log qui contient:

[2011-05-16 02:03:18] [info] Commons Daemon procrun (1.0.2.0) started
[2011-05-16 02:03:18] [info] Running Service…
[2011-05-16 02:03:18] [info] Starting service…
[2011-05-16 02:03:25] [info] Service started in 6468 ms.


je vous ai tout copié puisque je ne sais pas trop là dessus , si vous voulez aussi me dire à quoi sert chaque fichier.
Merci beaucoup
jeanjot
Active Member

Re: Prévisualisation des documents

Bonjour

Apparemment openoffice.org est bien lancé en tache de fond :
02:05:13,968  INFO  [alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.

Donc, il vous reste à tester le processus de transformation pdf vers swf qui elle est prise en charge par l'application : pdf2swf du projet swftools.
celui-ci est disponible normalement à l'emplacement suivant (selon votre alfresco-global.properties) :
swf.exe=C:/Alfresco/swftools/pdf2swf.exe
Je vous propose de vérifier que l’exécutable est bien présent et qu'il fonctionne correctement en effectuant un test dans une console sur un fichier pdf.
Sur certaine installation linux, actuellement en version 3.4.x, il y a un problème de librairie avec le programme pdf2swf qui doit être contourné, sous windows je ne sais pas.

Enfin pour ce qui concerne la génération de la vignette en preview, Alfresco utilise l'application :
convert du projet ImageMagick qui est disponible à l'adresse suivante (selon votre alfresco-global.properties) :
C:/Alfresco/imagemagick/convert
ce qui m'étonne c'est que le programme ne soit pas nommé convert.exe
peut-être pourriez-vous vérifier cela ???
jayjayecl
Active Member II

Re: Prévisualisation des documents

Bonjour, pouvez-vous tester la configuration suivante :

ooo.exe=C:/Alfresco/openoffice/App/openoffice/program/soffice.exe
ooo.enabled=true
img.root=C:/Alfresco/imagemagick
img.dyn=${img.root}/lib
#img.exe=${img.root}/convert
swf.exe=C:/Alfresco/swftools/pdf2swf.exe
jodconverter.enabled=false
jodconverter.officeHome=C:/Alfresco/openoffice/App/openoffice
jodconverter.portNumbers=8101

(arrêter puis relancer Alfresco)

Et ensuite nous donner les résultats (ainsi que les traces le log de démarrage)

MErci
choixged
Active Member

Re: Prévisualisation des documents

Bonjour,
Merci pour votre réponse,
J'ai testé pdf2swf.exe dans la console, et c'est bien réussi:

C:\Alfresco\swftools>pdf2swf.exe test.pdf
NOTICE  Output filename not given. Writing to test.swf
NOTICE  processing PDF page 1 (595x841:0:0) (move:0:0)
NOTICE  Writing SWF file test.swf
Sinon pour :
Enfin pour ce qui concerne la génération de la vignette en preview, Alfresco utilise l'application :
convert du projet ImageMagick qui est disponible à l'adresse suivante (selon votre alfresco-global.properties) :
C:/Alfresco/imagemagick/convert
ce qui m'étonne c'est que le programme ne soit pas nommé convert.exe
peut-être pourriez-vous vérifier cela ???

Dans mon  alfresco-global.properties j'ai bien ceci:

img.exe=${img.root}/convert

et dans le dossier de ImageMagick j'ai convert.exe

Merci Beaucoup jeanjot

Sinon j'ai fait ce que vous m'avez demandé Rodel, les fichiers logs sont les suivants:
Pour le fichier stdout_20110516.log:


09:09:05,968  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
09:09:06,000  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
09:09:06,000  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org_alfresco_module_dod5015\alfresco-global.properties]
09:09:06,000  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org_alfresco_module_wcmquickstart\alfresco-global.properties]
09:09:06,000  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\test\alfresco-global.properties]
09:09:06,000  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\tests\alfresco-global.properties]
09:09:06,000  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
09:09:06,156  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
09:09:06,375  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
09:09:06,484  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
09:09:06,562  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
09:09:06,562  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
09:09:52,140  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'serviceBeans' being accessed! Ambiguous write methods found next to actually used [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.lang.Object[])]: [public void org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(java.util.List)]
09:10:05,343  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
09:10:05,343  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
09:10:20,625  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
09:10:25,218  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
09:10:25,437  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
09:10:25,484  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
09:10:25,484  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
09:10:25,484  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
09:10:25,484  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
09:10:25,484  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
09:10:26,359  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
09:10:36,015  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
09:10:36,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
09:10:36,046  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
09:10:36,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
09:10:36,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
09:10:36,046  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
09:10:36,234  ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 04160000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Windows XP
   command:    [C:/Alfresco/imagemagick/bin/convert, C:\WINDOWS\TEMP\Alfresco\ImageMagickContentTransformerWorker_init_source_4028510889323954141.gif[0], C:\WINDOWS\TEMP\Alfresco\ImageMagickContentTransformerWorker_init_target_3796543352540151676.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "C:/Alfresco/imagemagick/bin/convert": CreateProcess error=3, Le chemin d'accès spécifié est introuvable
09:10:36,390  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
09:10:36,390  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
09:10:36,421  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
09:10:36,421  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
09:10:36,421  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
09:10:36,421  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
09:10:36,421  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
09:10:40,000  WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
09:10:40,093  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
09:10:45,265  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
09:10:45,515  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …

pour le fichier stderr_20110516.log j'ai :
16 mai 2011 09:08:48 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
16 mai 2011 09:08:48 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
16 mai 2011 09:08:49 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
16 mai 2011 09:08:49 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
16 mai 2011 09:08:49 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1580 ms
16 mai 2011 09:08:49 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
16 mai 2011 09:08:49 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
16 mai 2011 09:08:49 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration alfresco.xml
16 mai 2011 09:08:52 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.
16 mai 2011 09:08:55 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16 mai 2011 09:12:32 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration host-manager.xml
16 mai 2011 09:12:33 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration manager.xml
16 mai 2011 09:12:33 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive awe.war de l'application web
16 mai 2011 09:12:42 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16 mai 2011 09:12:42 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16 mai 2011 09:12:58 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
16 mai 2011 09:13:00 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16 mai 2011 09:13:25 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16 mai 2011 09:13:25 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16 mai 2011 09:13:25 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive wcmqs.war de l'application web
16 mai 2011 09:13:30 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16 mai 2011 09:13:30 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
16 mai 2011 09:13:42 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire oncf de l'application web
16 mai 2011 09:13:42 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire ROOT de l'application web
16 mai 2011 09:13:43 org.apache.coyote.http11.Http11AprProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
16 mai 2011 09:13:43 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
16 mai 2011 09:13:43 org.apache.catalina.startup.Catalina start
INFO: Server startup in 293691 ms
et pour le fichier jakarta_service_20110516.log j'ai:

[2011-05-16 09:08:42] [info] Commons Daemon procrun (1.0.2.0) started
[2011-05-16 09:08:42] [info] Running Service…
[2011-05-16 09:08:42] [info] Starting service…
[2011-05-16 09:08:48] [info] Service started in 6312 ms.


Merci pour votre aide.