<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Document Library crashes Tomcat in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277580#M230710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Open pdfbox-1.5.0.jar as a zip file (rename it if need) and check if it was downloaded correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its size is 3,61 MB and contains 716 files (including the class org/apache/pdfbox/pdmodel/font/PDSimpleFont). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do not "save as" the link I provided but click it and the right mirror link wil be shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope to solve your problem and win more virtual beers…&amp;nbsp; :mrgreen: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice weekend&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Mar 2011 12:11:56 GMT</pubDate>
    <dc:creator>alarocca</dc:creator>
    <dc:date>2011-03-27T12:11:56Z</dc:date>
    <item>
      <title>Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277571#M230701</link>
      <description>I have a fresh install of 3.4 on a new Debian 6.0 machine, but the Document Library is crashing Tomcat.The install went just fine, and everything works except the library. I uploaded one file via the web browser and immediately got a "could not connect" error. Checking revealed that the java Tomcat</description>
      <pubDate>Fri, 25 Mar 2011 20:48:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277571#M230701</guid>
      <dc:creator>dc41</dc:creator>
      <dc:date>2011-03-25T20:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277572#M230702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you add a few more concrete details to the problem please? It's a little vague as you've stated it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At a guess: you're uploading a PDF. That PDF contains metadata that the shipped version of PDFBox chokes on and -unfortunately- takes out the JVM. There are other posts here where people have updated PDFBox to newer versions. In fact, one of our guys is working with the PDFBox source code to track down and guard against this very issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 21:19:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277572#M230702</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2011-03-25T21:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277573#M230703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A pdf is exactly what I tried to upload. Sorry about being vague. With no error log I was really shooting in dark and just tried to describe what was happening. I'll delete the pdf with Dashboard, upgrade PDFBox and see if that makes a difference. Started a VBox VM with Ubuntu 10.10 just to see if the linux version makes a difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 22:53:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277573#M230703</guid>
      <dc:creator>dc41</dc:creator>
      <dc:date>2011-03-25T22:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277574#M230704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;New install on Ubuntu 10.10 works fine with the except of doc previews and pdfs. Any pdf uploaded to the document library crashes tomcat. Also, the doc preview isn't working for word and excel files. Is pdfbox one of the included modules for Alfresco (like OpenOffice) or is it something that needs to be loaded using apt-get?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to turn something on to get the doc preview to work? A test install two months ago did not display either of these problems. PDF and office docs previewed just fine. I'm scratching my head a little. Searching finds many mentions of the issues. What version of OpenOffice is included in 3.4d? Do I need to upgrade that to get previews working?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 23:31:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277574#M230704</guid>
      <dc:creator>dc41</dc:creator>
      <dc:date>2011-03-25T23:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277575#M230705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you need Open Office for preview of word and excel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 09:21:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277575#M230705</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-03-26T09:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277576#M230706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;pdfbox is a library (jar file). Download the latest version from here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.apache.org/dyn/closer.cgi/pdfbox/1.5.0/pdfbox-1.5.0.jar" rel="nofollow noopener noreferrer"&gt;http://www.apache.org/dyn/closer.cgi/pdfbox/1.5.0/pdfbox-1.5.0.jar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then stop Alfresco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;copy the new pdfbox-1.5.0.jar into /alfresco/tomcat/webapps/alfresco/WEB-INF/lib,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete the old one (shoudl be pdfbox-1.2.1.jar)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;restart alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same issue with some pdf files. The new version works properly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 13:02:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277576#M230706</guid>
      <dc:creator>alarocca</dc:creator>
      <dc:date>2011-03-26T13:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277577#M230707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes you need Open Office for preview of word and excel.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't an OpenOffice instance installed with Alfresco 3.4d? Do I need to adjust a perimeter somewhere to enable the previewing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 14:37:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277577#M230707</guid>
      <dc:creator>dc41</dc:creator>
      <dc:date>2011-03-26T14:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277578#M230708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;pdfbox is a library (jar file). Download the latest version from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.apache.org/dyn/closer.cgi/pdfbox/1.5.0/pdfbox-1.5.0.jar" rel="nofollow noopener noreferrer"&gt;http://www.apache.org/dyn/closer.cgi/pdfbox/1.5.0/pdfbox-1.5.0.jar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then stop Alfresco,&lt;BR /&gt;copy the new pdfbox-1.5.0.jar into /alfresco/tomcat/webapps/alfresco/WEB-INF/lib,&lt;BR /&gt;delete the old one (shoudl be pdfbox-1.2.1.jar)&lt;BR /&gt;restart alfresco&lt;BR /&gt;&lt;BR /&gt;I had the same issue with some pdf files. The new version works properly.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Couldn't have been easier! Thanks so much the help. I should send you all the coffee and beer money I would have spent while trying to figure this out on my own. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Now if I can just get the openoffice preview working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 14:50:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277578#M230708</guid>
      <dc:creator>dc41</dc:creator>
      <dc:date>2011-03-26T14:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277579#M230709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Couldn't have been easier! Thanks so much the help. I should send you all the coffee and beer money I would have spent while trying to figure this out on my own. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Now if I can just get the openoffice preview working.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I spoke too soon.&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops: Now I can't get alfresco to restart. alfresco.log shows the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;06:13:44,185 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transformer.PdfBox.TextToPdf' defined in class path resource [alfresco/content-services-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/pdfbox/pdmodel/font/PDSimpleFont&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to change some setting in content-services-context as well?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2011 18:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277579#M230709</guid>
      <dc:creator>dc41</dc:creator>
      <dc:date>2011-03-26T18:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277580#M230710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Open pdfbox-1.5.0.jar as a zip file (rename it if need) and check if it was downloaded correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its size is 3,61 MB and contains 716 files (including the class org/apache/pdfbox/pdmodel/font/PDSimpleFont). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do not "save as" the link I provided but click it and the right mirror link wil be shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope to solve your problem and win more virtual beers…&amp;nbsp; :mrgreen: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice weekend&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2011 12:11:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277580#M230710</guid>
      <dc:creator>alarocca</dc:creator>
      <dc:date>2011-03-27T12:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Document Library crashes Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277581#M230711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;look at here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=41310" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=41310&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that's not pdfbox you must replace but pdfrenderer …..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 10:35:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-library-crashes-tomcat/m-p/277581#M230711</guid>
      <dc:creator>sburky</dc:creator>
      <dc:date>2011-12-05T10:35:19Z</dc:date>
    </item>
  </channel>
</rss>

