[ 
https://issues.apache.org/jira/browse/PDFBOX-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944880#comment-13944880
 ] 

Timo Boehme commented on PDFBOX-1994:
-------------------------------------

Looks like you are missing a number of libraries in your jar test case but all 
of them do not belong to PDFBox.
It seems to me that in general this is no PDFBox issue but an issue of your 
server environment. I would propose adding more test code in your server 
version (test first if file is readable etc.; after loading do some logging 
before trying to print document, ...) and use PDDocument.loadNonSeq instead of 
PDDocument.load. 

> PDDocument.load(filename.pdf) hangs for pdf files having size
> -------------------------------------------------------------
>
>                 Key: PDFBOX-1994
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1994
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.4
>            Reporter: brijesh
>
> The below code i am using for loading my pdf. but my pdf file is not a zero 
> sized files and having full permission and it is not a corrupt file also. but 
> i ddint get any error after code. it just hangs. 
> it is working in local, but not working in server .
> (created ,jar files and then exe, then the .exe will excuted in the server)
> java using 1,4
> PDDocument pdf=PDDocument.load("d:\\filename.pdf");
> pdf.print();
> please provide me why the same code is not working in server.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to