cancel
Showing results for 
Search instead for 
Did you mean: 

3.4c Community OpenOffice not previewing

martin_main
Champ in-the-making
Champ in-the-making
I have just loaded up Alfresco 3.4c community and openoffice previewing no longer works. I had noted that this was disabled in the config file and enabled this, but it still does not allow previewing stating that 'The preview could not be loaded from the server'. No errors are evident in the log file that suggest any problem. Any idea what this might be?
15 REPLIES 15

martin_main
Champ in-the-making
Champ in-the-making
Heiko,

Thanks for the advice, SWFTOOLS appears to have been my problem also. Once the package version was installed and configured, the preview feature started working again, confirming that there was no problem with OpenOffice. Something must have changed between 3.4b and 3.4c as this feature worked previously.

Best Regards,

Martin

heiko_robert
Star Collaborator
Star Collaborator
Martin,
maybe your previous version added the imagemagick convert command to the path?
Anyway - if it works everything is fine …

ghernando
Champ in-the-making
Champ in-the-making
I am also seeing this problem in the 3.4c release on Linux.
Transformations for PDF and Text are working well for me.  I am able to view the SWF of both of these in the web preview window.
But Word documents are not converting.  I don't see any errors in the log.

In the log I also see this:
13:27:48,694 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
13:27:48,745 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete

louise
Champ in-the-making
Champ in-the-making
Hmm, looks like a buggy symlink of "common/lib/libstdc++.so.5", let see the solution: http://louise.hu/poet/?p=4873

jjk_saji
Champ in-the-making
Champ in-the-making
Hi Lousie
   I  am also facing the same problem, I cannot preview MS office file in IE in XP
My  server OS is centos and I am using 3.4-c
I have checked the url
"http://forums.alfresco.com/en/viewtopic.php?f=9&t=37314"
"http://www.alfresco.com/help/34/community/all/"
and corrected the pdf2swf  bug as in "http://louise.hu/poet/?p=4873"

my "alfresco-global.properties" is

[root@dm classes]# cat  alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-3.4.c/alf_data

#web.application.context.url=http://127.0.0.1:8080/alfresco
web.application.context.url=http://192.168.20.34:8080/alfresco

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=welcome
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/${db.name}?useUnicode=yes&characterEncoding=UTF-8

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco-3.4.c/openoffice/program/soffice.bin
ooo.enabled=true
img.root=/opt/alfresco-3.4.c/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-3.4.c/common/bin/pdf2swf
jodconverter.enabled=true
jodconverter.officeHome=/opt/alfresco-3.4.c/openoffice
jodconverter.portNumbers=8101

### Initial admin password ###
alfresco_user_store.adminpassword=674e48b68c5cd0efd8f7e5faa87b3d1e

I have troubleshooted a lot to find the reason , why  inline view for MS office file not working

when i give
"/opt/alfresco-3.4.c/openoffice/program/soffice.bin -accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///opt/alfresco-3.4.c/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestor
"

i get value of ps aux | grep soffice ie I have my open office running properly on the server

Stuck over here, Guidance requested
Thanks
Joseph John

jtk
Champ in-the-making
Champ in-the-making
To fix most (if not all) of my problems with previewing  docs and pdfs is to update/use:

OpenOffice 3.3 (installer comes with Open Office 3.2.0 portable)
pdf2swf

Change alfresco-global.properties to the new versions of the programs.

In ~/WEB-INF/lib/:

pdfbox.jar to 1.2.1
fontbox.jar


Using Ubuntu 10.04 desktop.   Apt-get or google for downloads.