cancel
Showing results for 
Search instead for 
Did you mean: 

Preview of Office documents

hlevine
Champ in-the-making
Champ in-the-making
Hello
The previewing of office docuement does not work on my copy of Alfresco Labs 3D.
I can successfully preview pdf docs, however i get a mesaage that says "This document can't be previewed. Click here to download it"
I suspect that I have an open office config issue.

I am on Ubuntu 8.04, Alfresco Labs 3d

Regards
Henry
3 REPLIES 3

fselendic
Champ in-the-making
Champ in-the-making
Are you trying to preview docx files, by any chance? They don't work out of the box.

If not, did you start OpenOffice at all?

mikeh
Star Contributor
Star Contributor
These guys had success by replacing Ubuntu's default OpenOffice install with v3.01: http://forums.alfresco.com/en/viewtopic.php?f=9&t=16484

Thanks,
Mike

chandu7ee
Champ in-the-making
Champ in-the-making
hi.,

  i am using alfresco3.2r enterprise edition., i am having problem with ms office files preview in alfresco share.

i enabled pdf2swf and successfully installed openOffice. here is my configuration in alfresco-global.properties.


# External locations
#————-
#ooo.exe=soffice
#jodconverter.officeHome=./OpenOffice.org
jodconverter.officeHome=C:/Program Files (x86)/OpenOffice.org 3
jodconverter.portNumbers=8101
ooo.enabled=false
jodconverter.enabled=true
img.root=./ImageMagick
swf.exe=./bin/pdf2swf

i could not found any errors while starting alfresco., but  found some warnings ., here is the log ..

May 24, 2010 1:05:57 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 24, 2010 1:05:57 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 500 ms
May 24, 2010 1:05:57 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 24, 2010 1:05:57 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
May 24, 2010 1:05:58 PM 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.
13:06:03,578  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
13:06:03,581  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
13:06:03,581  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/D:/Alfresco/HighRadius/tomcat/shared/classes/alfresco-global.properties]
13:06:03,699  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:19,795  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
13:06:22,421  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
13:06:24,134  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
13:06:24,156  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:24,163  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
13:06:25,657  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
13:06:25,684  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:25,930  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
13:06:25,930  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
13:06:25,952  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:28,230  WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
13:06:28,232  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
13:06:28,232  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
13:06:28,255  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
May 24, 2010 1:06:28 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is WindowsProcessManager
May 24, 2010 1:06:30 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8101,tcpNoDelay=1' and profileDir 'D:\Alfresco\HIGHRA~1\tomcat\temp\.jodconverter_socket_host-127.0.0.1_port-8101'
May 24, 2010 1:06:31 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 6516
May 24, 2010 1:06:32 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8101,tcpNoDelay=1'
13:06:32,067  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] complete
13:06:33,613  WARN  [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
13:06:33,613  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
13:06:33,681  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
13:06:34,037  INFO  [admin.patch.PatchExecuter] No patches were required.
13:06:34,050 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Found 2 module(s).
13:06:34,177 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'HighRadius-ShareUI' version 1.1.
13:06:34,256 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'HighRadius-AlfrescoUI' version 1.1.
13:06:34,621  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
13:06:34,655  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:34,896  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
13:06:34,921  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:35,028  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
13:06:35,098  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
13:06:35,099  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
13:06:35,128  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:35,203  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
13:06:35,204  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
13:06:35,240  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
13:06:35,248  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
13:06:35,248  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
13:06:35,301  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:06:35,441  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
13:06:35,757  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_18-b07; maximum heap size 455.125MB
13:06:35,757  WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB
13:06:35,899  INFO  [service.descriptor.DescriptorService] Alfresco license: Enterprise - v3.2 granted to Trial User limited to 30 days expiring Thu Jun 17 00:00:00 IST 2010 (24 days remaining)
13:06:35,900  INFO  [service.descriptor.DescriptorService] Alfresco started (Enterprise): Current version 3.2.0 (r 416) schema 3400 - Originally installed version 3.2.0 (r 416) schema 3400
May 24, 2010 1:06:57 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
13:07:00,780  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
May 24, 2010 1:07:01 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 24, 2010 1:07:01 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 63847 ms