Hello, all! I have been using Alfresco 3.4.d Community for about six months and I really like it. But a couple of days ago we faced a strange problem: Alfresco hangs on high load and pdf document preview displays a strange error: "preview cannot be loaded". As far as I managed to find out this can be solved by replacing standard share viewer with PDF.js. Does anyone know how to install PDF.js on Alfresco 3.4.d community? Or can someone please give me a link to some manual?
Thanks for your reply, it's a nice project. But there are some difficulties with it. I tried to install share-extensions-media-viewers on my alfresco 3.4.d server, but pdfjs from this package didn't get activated. I contacted one of the maintainers of extensions project, Will Abson, who was very helpful. He told me there's some limited functionality, that can be accessed from Alfresco 3.4, so now I'll test Alfresco 4.0 and make my decidion: either upgrade and use newer version with full functionality or develop my custom project, based on pdfjs for alfresco 3.4, but that might be not am easy task
I faced the same problem not a long time ago. What I made was modify the Alfresco 3.4 to include the plugable Web Previewers that the version 4 has. I made this copying and adapting the source code from 4.0 version into my own Alfresco 3.4.
Thanks all for the replies! It was interesting to learn something new about Alfresco and its features, but the problem is solved now in the simplest way: lack of resources was eliminated We installed it on a VM with only 1G of RAM. It was hardly enough for the poor Java to survive)) Now we added RAM up to 2G and everything works just fine So, be careful and give resources to Alfresco and it won't fail