Alfresco 3.4.c et Prévisualisation

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

Alfresco 3.4.c et Prévisualisation

Bonjour,

Je viens d'installer le bundle Alfresco3.4.c sous Linux. J'ai installé OpenOffice via le bundle. Mon Alfresco est brut d'install.
La prévisualisation dans Alfresco des documents fonctionnent parfaitement pour les formats PDF et images, mais je n'arrive à voir aucun format Microsoft (.doc, .docx, .xls, .xlsx,…).

Dans la version 3.4.b, j'avais également des problèmes  de prévisualisations mais j'arrivais quand même à voir parfois des .doc par exemple. Dans cette version 3.4.c, aucun ne fonctionne.

Est-ce que quelqu'un a une explication svp ?

Cette version gère-t-elle les prévisualisations des .doc et autres ? Quelle est l'utilité d'OpenOffice si ce n'est pas le cas ?

Merci beaucoup pour votre aide  :wink:
3 Replies
jayjayecl
Active Member II

Re: Alfresco 3.4.c et Prévisualisation

Cette version gère en effet la prévisualisation des docs MS Office.
Pouvez-vous nous fournir les logs de démarrage d'Alfresco, ainsi que les logs lorsque vous tentez de voir la prévisualisation d'un document office ?
mathieu_i
Member II

Re: Alfresco 3.4.c et Prévisualisation

Désolé pour le temps de réponse !

Affichage au démarrage :
/home/alfresco34c/alfresco-3.4.c/openoffice/scripts/openoffice_ctl.sh : openoffice started at port 8100
Using CATALINA_BASE:   /home/alfresco34c/alfresco-3.4.c/tomcat
Using CATALINA_HOME:   /home/alfresco34c/alfresco-3.4.c/tomcat
Using CATALINA_TMPDIR: /home/alfresco34c/alfresco-3.4.c/tomcat/temp
Using JRE_HOME:        /home/alfresco34c/alfresco-3.4.c/java
Using CLASSPATH:       /home/alfresco34c/alfresco-3.4.c/tomcat/bin/bootstrap.jar
/home/alfresco34c/alfresco-3.4.c/tomcat/scripts/ctl.sh : tomcat started

Voici les logs de démarrage :
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
15 févr. 2011 16:05:52 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
15 févr. 2011 16:05:52 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
15 févr. 2011 16:05:52 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
15 févr. 2011 16:05:52 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration manager.xml
15 févr. 2011 16:05:53 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration host-manager.xml
15 févr. 2011 16:05:53 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration alfresco.xml
15 févr. 2011 16:05:54 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
16:06:00,908  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
16:06:00,911  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
16:06:00,911  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/home/alfresco34c/alfresco-3.4.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
16:06:00,911  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/home/alfresco34c/alfresco-3.4.c/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
16:06:00,911  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/home/alfresco34c/alfresco-3.4.c/tomcat/shared/classes/alfresco-global.properties]
16:06:01,029  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:01,215  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:01,254  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:16,953  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
16:06:16,955  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
16:06:24,773  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
16:06:25,132  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
16:06:25,232  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
16:06:25,244  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:25,245  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:25,245  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:25,255  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
16:06:26,624  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
16:06:26,694  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:26,694  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:26,695  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:29,818  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
16:06:29,819  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
16:06:29,851  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:29,852  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:29,852  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:30,618  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
16:06:31,494  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/alfresco34c/alfresco-3.4.c/alf_data
16:06:31,669  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
16:06:32,434  INFO  [admin.patch.PatchExecuter] No patches were required.
16:06:32,441 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
16:06:32,512  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
16:06:32,529  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:32,530  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:32,531  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:32,818  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
16:06:32,843  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:32,843  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:32,844  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:32,943  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
16:06:37,961  ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
16:06:37,961  ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
16:06:37,987  ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
16:06:37,989  ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
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:472)
        at java.lang.Thread.run(Thread.java:619)
16:06:37,994  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
16:06:37,994  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
16:06:38,009  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,010  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,010  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,133  INFO  [repo.imap.AlfrescoImapServer] IMAP service started on host:port 127.0.0.1:1430.
16:06:38,138  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
16:06:38,138  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
16:06:38,158  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,159  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,159  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,210  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
16:06:38,211  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
16:06:38,232  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,233  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,233  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,287  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailSer
ver.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
16:06:38,288  WARN  [springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailSer
ver.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
16:06:38,311  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
16:06:38,311  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
16:06:38,367  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,368  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,369  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,311  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
16:06:38,367  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,368  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,369  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,634  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
16:06:38,690  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
16:06:38,707  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
16:06:38,707  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
16:06:38,707  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
16:06:38,735  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,736  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,736  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,850  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
16:06:38,959  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_18-b07; maximum heap size 682,688MB
16:06:38,960  INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.4.0 (c 3335) schema 4113 - Originally installed version 3.3.0 (g 2860) schema 4100
16:06:38,961  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
16:06:38,977  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
16:06:38,978  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
16:06:38,978  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
16:06:38,986  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
16:06:48,699 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 372 Web Scripts (+0 failed), 613 URLs
16:06:48,699 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
16:06:48,699 User:System INFO  [extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
16:06:48,702 User:System INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 8136.222ms)
16:06:48,711  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:06:48,713  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15 févr. 2011 16:06:49 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
16:06:54,823  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 269 Web Scripts (+0 failed), 279 URLs
16:06:54,824  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
16:06:54,824  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
16:06:55,220  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2102.125ms)
16:06:55,306  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:06:55,377  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:06:55,520  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:06:55,525  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
16:06:55,735  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
16:06:55,739  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15 févr. 2011 16:06:56 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire ROOT de l'application web
15 févr. 2011 16:06:56 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
15 févr. 2011 16:06:56 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
15 févr. 2011 16:06:56 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/19  config=null
15 févr. 2011 16:06:56 org.apache.catalina.startup.Catalina start
INFO: Server startup in 63814 ms

Pour ce qui est des logs lorsque je tente de voir la prévisualisation, je n'ai rien…
Quel log4j faut-il activer pour les avoir ?

Egalement, il y a une petite erreur dans la version 34c, dans le script alfresco.sh, dans la définition de variable au début du script.
Le serveur OpenOffice ne démarre pas car le chemin de la variable OPENOFFICE n'est pas correct. Il faut mettre :
OPENOFFICE_SCRIPT=$INSTALLDIR/openoffice/scripts/openoffice_ctl.sh
au lieu de :
OPENOFFICE_SCRIPT=$INSTALLDIR/openoffice/scripts/ctl.sh
jeanjot
Active Member

Re: Alfresco 3.4.c et Prévisualisation

Bonjour

Généralement le problème vient de l'application convert fourni dans :
$HOME_ALFRESCO/common/bin
Ce programme sert à effectuer la transformation pdf vers swf pour l'affichage preview de share. Mais à ma connaissance le problème a été corrigé dans la 3.4.c.

Si le problème n'est pas là, il se peut qu'il vienne de l'étape précédente.
Celle-ci est traitée par openoffice.org, qui effectue les transformations MsOffice et odf vers pdf.
Faite un test dans explorer en applicaquant une action sur vos document bureautique de transformation en pdf.