cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with document preview

jaakkoo
Champ in-the-making
Champ in-the-making
Hello again,

I'm trying to configure Alfresco 3.2 Community edition on Ubuntu 9.04 Server. I've solved most of my problems, but there's still some minor things that i need to get working. The document preview is one those, and i just can't nowhere with it at the moment. Swftools and ImageMagick are on the newest versions (compiled from source), and OpenOffice.org is on version 3.0.1. I'm not sure what i've done wrong, but the flashplayer loads fine and works well with jpg's etc. The problem is with .doc/.docx and .pdf files. If i try to preview .pdf files the beachball just keeps spinning and if i try to view .doc/.docx the flashplayer just tells me that "the preview couldn't be loaded from the server".

Here's the error from alfresco.log -file:


09:14:17,299 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript -
redirecting to status template error: 07240016 Wrapped Exception (with status template): 07
240015 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in cla
sspath store file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/w
ebscripts)': 07240014 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03
d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document
, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/9/14/1530a0ac-f032-47da-abc6-f63d44
4b3ea0.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@d54304
org.alfresco.web.scripts.WebScriptException: 07240016 Wrapped Exception (with status templat
e): 07240015 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (
in classpath store file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templ
ates/webscripts)': 07240014 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03
d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document
, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/9/14/1530a0ac-f032-47da-abc6-f63d44
4b3ea0.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@d54304
        at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScrip
t.java:613)
.
.
.
…and much more
7 REPLIES 7

mikeh
Star Contributor
Star Contributor
The
…and much more
section is the part where people can try to start helping you  :wink:

Mike

jaakkoo
Champ in-the-making
Champ in-the-making
Here's the whole error Smiley Happy

11:07:45,035 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 07240023 Wrapped Exception (with
status template): 07240022 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:/opt/Alfresco/tomcat/webapps/alfre
sco/WEB-INF/classes/alfresco/templates/webscripts)': 07240021 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordp
rocessingml.document, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/11/7/1e8c7b83-c159-4bdc-9437-1f34e88ad2e7.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf
-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@153ee15
org.alfresco.web.scripts.WebScriptException: 07240023 Wrapped Exception (with status template): 07240022 Failed to execute script '/org/alfresco/repository/thumbnai
l/thumbnail.get.js (in classpath store file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 07240021 Content conversion faile
d:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordp
rocessingml.document, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/11/7/1e8c7b83-c159-4bdc-9437-1f34e88ad2e7.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf
-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@153ee15
        at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
        at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:212)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:357)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:407)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:424)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:288)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:262)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)
        at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
        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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        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:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 07240022 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:/op
t/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 07240021 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordp
rocessingml.document, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store://2009/8/24/11/7/1e8c7b83-c159-4bdc-9437-1f34e88ad2e7.bin, mimetype=application/x-shockwave-flash, size=0, encoding=utf
-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@153ee15
options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@153ee15
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:176)
        at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:535)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:284)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:199)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:197)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:160)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy95.createThumbnail(Unknown Source)
        at org.alfresco.repo.jscript.ScriptNode.createThumbnail(ScriptNode.java:2075)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
        at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
        at org.mozilla.javascript.gen.c19._c1(file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:61)
        at org.mozilla.javascript.gen.c19.call(file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
at org.mozilla.javascript.gen.c19.exec(file:/opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:449)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:174)
        … 25 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 07240020 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store:///opt/Alfresco/tomcat/temp/Alfresco/ComplextTransformer_intermediate_docx_4125758173509461582.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fi_FI]
   options: org.alfresco.repo.content.transform.swf.SWFTransformationOptions@153ee15
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:176)
        at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:154)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:167)
        … 68 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 07240019 OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2009/8/21/7/57/4b8a585e-69e5-44f5-bd0c-e26f03d4cbd4.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=14128, encoding=utf-8, locale=fi_FI]
   writer: ContentAccessor[ contentUrl=store:///opt/Alfresco/tomcat/temp/Alfresco/ComplextTransformer_intermediate_docx_4125758173509461582.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=fi_FI]
   from file: /opt/Alfresco/tomcat/temp/Alfresco/OpenOfficeContentTransformer-source-8159960820938162128.docx
   to file: /opt/Alfresco/tomcat/temp/Alfresco/OpenOfficeContentTransformer-target-8722045633973180009.pdf
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformerWorker.transform(OpenOfficeContentTransformerWorker.java:238)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy33.transform(Unknown Source)
        at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:66)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:167)
        … 70 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
        at net.sf.jooreports.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:114)
        at net.sf.jooreports.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:75)
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformerWorker.transform(OpenOfficeContentTransformerWorker.java:233)
        … 80 more

jaakkoo
Champ in-the-making
Champ in-the-making
I decided to downgragde to Alfresco 3.0 Stable due the bugs in 3.2. But still, i can't get the document preview working. I bet that the problem is with open office, but i really can't figure out what the problem is. The preview for pdf files with IE works, but with firefox it doesn't. But no .doc/.docx file works in preview mode (but they didn't work in 3.2 either). I also noticed that the metadata doesn't extract in 3.0 stable so i'm pretty sure that the problem is with open office.

Could someone post here an example config of certainly working open office config. Thanks in advance.

mikeh
Star Contributor
Star Contributor
From looking around Google about that error, it seems to be a problem with OpenOffice. There are reports that certain versions shipped "out of the box" with certain Linux distros are a bit broken - have you tried upgrading OO to v3.1?

Thanks,
Mike

jaakkoo
Champ in-the-making
Champ in-the-making
Okay now, i've installed OOO 3.1, Compiled new version of ImageMagick, Compiled new version of SWFTools .. and so on. Still, the preview doesn't work. At the moment i'm trying to configure Alfresco 3.0 Stable. I really don't understand what's the problem at the moment. I can't get any error messages to the alfresco.log, so i don't have a clue where to start looking for misconfiguration.

Netstat -ntlp returned following (when alfresco is running):

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN      9373/soffice.bin
tcp        0      0 0.0.0.0:42761           0.0.0.0:*               LISTEN      1908/rpc.statd
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      2333/mysqld
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1892/portmap
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2633/sshd
tcp6       0      0 :::50500                :::*                    LISTEN      9216/java
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      9216/java
tcp6       0      0 :::50501                :::*                    LISTEN      9216/java
tcp6       0      0 :::50502                :::*                    LISTEN      9216/java
tcp6       0      0 :::50503                :::*                    LISTEN      9216/java
tcp6       0      0 :::50504                :::*                    LISTEN      9216/java
tcp6       0      0 :::50505                :::*                    LISTEN      9216/java
tcp6       0      0 :::8009                 :::*                    LISTEN      2666/jsvc
tcp6       0      0 :::50506                :::*                    LISTEN      9216/java
tcp6       0      0 :::139                  :::*                    LISTEN      9216/java
tcp6       0      0 :::8080                 :::*                    LISTEN      9216/java
tcp6       0      0 :::21                   :::*                    LISTEN      9216/java
tcp6       0      0 :::8085                 :::*                    LISTEN      4436/jsvc
tcp6       0      0 :::22                   :::*                    LISTEN      2633/sshd
tcp6       0      0 :::8185                 :::*                    LISTEN      2666/jsvc
tcp6       0      0 :::56091                :::*                    LISTEN      9216/java
tcp6       0      0 :::445                  :::*                    LISTEN      9216/java

Here's processes running:

jaakko@cmstest-ubuntu:/opt/Alfresco$ ps ax | grep alf
9287 pts/2    S<     0:00 /bin/sh /opt/openoffice.org3/program/soffice -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:////opt/Alfresco/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore
9373 pts/2    S<l    0:00 /opt/openoffice.org3/program/soffice.bin -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:////opt/Alfresco/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore

and

jaakko@cmstest-ubuntu:/opt/Alfresco$ ps ax | grep java

2662 ?        Ss     0:00 /usr/bin/jsvc -user tomcat55 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat5.5.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/var/lib/tomcat5.5/temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat5.5/conf/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat5.5/conf/logging.properties org.apache.catalina.startup.Bootstrap
2663 ?        S      0:00 /usr/bin/jsvc -user tomcat55 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat5.5.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/var/lib/tomcat5.5/temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat5.5/conf/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat5.5/conf/logging.properties org.apache.catalina.startup.Bootstrap
2666 ?        Sl    19:17 /usr/bin/jsvc -user tomcat55 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat5.5.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat5.5/common/endorsed -Dcatalina.base=/var/lib/tomcat5.5 -Dcatalina.home=/usr/share/tomcat5.5 -Djava.io.tmpdir=/var/lib/tomcat5.5/temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat5.5/conf/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat5.5/conf/logging.properties org.apache.catalina.startup.Bootstrap
4433 ?        S<s    0:00 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap
4434 ?        S<     0:00 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap
4436 ?        S<l    5:40 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap
9216 pts/2    S<l    1:06 /usr/lib/jvm/java-6-sun/bin/java -Xms128m -Xmx512m -XX:MaxPermSize=128m -server -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/Alfresco/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/Alfresco/tomcat/endorsed -classpath :/opt/Alfresco/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/Alfresco/tomcat -Dcatalina.home=/opt/Alfresco/tomcat -Djava.io.tmpdir=/opt/Alfresco/tomcat/temp org.apache.catalina.startup.Bootstrap start

jaakkoo
Champ in-the-making
Champ in-the-making
Document preview problem solved .. I actually don't know what i did, but it just started working while smoking..? Prolly some cache or something in FF..? Don't know just guessing Smiley Happy

But now i found out that the image thumbnails wont work.. I'm sure that it used to work, ImageMagick is on version 6.5.5-0 (compiled from source) and i tested alot of conversions and all worked well. I'm not going to use much time with the static thumbnails, 'cause i couldn't care less if they work or not Smiley Happy

ankurkhandelwal
Champ in-the-making
Champ in-the-making
Hi to all,

I am facing the same issue.

Preview of my pdf document is not coming.
I am using Alfresco 3.4


jaakko can you please guide as what you did so that preview was available