AnsweredAssumed Answered

Uploading protected files in Alfresco share

Question asked by arroju.srikanth on Sep 12, 2011
Hello All ,

I have uploaded Protected files on Alfresco share 3.4.d. i have uploaded 60 protected file. i have got Socket exception too many files
then we have increased the limit ulimit -4096 then i have uploaded 60 protected files . the files has been uploaded but when i click on any one pdf file
in  tomcat logs following error is thrown

Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08121596 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2011/9/12/2/48/a9024cd2-01fc-4749-a979-48062a9286d2.bin, mimetype=application/pdf, size=137520, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2011/9/12/2/51/88fc233d-fd98-45fa-aff5-698e1b273bd7.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=en_US]
   options: org.alfresco.service.cmr.repository.TransformationOptions@1785ed6e
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:177)
        at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:555)
        at sun.reflect.GeneratedMethodAccessor590.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
       
        at org.alfresco.repo.rendition.RenditionServiceImpl.executeRenditionAction(RenditionServiceImpl.java:233)
        at org.alfresco.repo.rendition.RenditionServiceImpl.render(RenditionServiceImpl.java:182)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnailNode(ThumbnailServiceImpl.java:449)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.access$000(ThumbnailServiceImpl.java:55)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:146)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl$1.doWork(ThumbnailServiceImpl.java:143)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:141)
        at org.alfresco.repo.thumbnail.ThumbnailServiceImpl.createThumbnail(ThumbnailServiceImpl.java:120)
        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.gen.c17._c1(file:/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:61)
        at org.mozilla.javascript.gen.c17.call(file:/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c17._c0(file:/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js:101)
        at org.mozilla.javascript.gen.c17.call(file:/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
        at org.mozilla.javascript.gen.c17.call(file:/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js)
        at org.mozilla.javascript.gen.c17.exec(file:/opt/alfresco-3.4.d/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:472)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:190)
        … 28 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 08121595 Transformation failed - status indicates an error:
Execution result:
   os:         Linux
   command:    [/opt/alfresco-3.4.d/common/bin/pdf2swf, -T, 9, -s, poly2bitmap,subpixels=72, /opt/alfresco-3.4.d/tomcat/temp/Alfresco/RuntimeExecutableContentTransformerWorker_source_4860816722230167057.pdf, -o, /opt/alfresco-3.4.d/tomcat/temp/Alfresco/RuntimeExecutableContentTransformerWorker_target_855413867000567201.swf]
   succeeded:  false
   exit code:  1
   out:        xpdf reports document as broken.
ERROR   Couldn't open /opt/alfresco-3.4.d/tomcat/temp/Alfresco/RuntimeExecutableContentTransformerWorker_source_4860816722230167057.pdf

   err:        Error: Incorrect password

        at org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker.transform(RuntimeExecutableContentTransformerWorker.java:272)



shuld i change  the swftools and image magick files as per shown in this url

http://plug.4aero.com/Members/lmarzke/alfresco-3.4a-on-ubuntu_lucid

Outcomes