[ https://issues.apache.org/jira/browse/PDFBOX-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944047#comment-13944047 ]
Tilman Hausherr commented on PDFBOX-1994: ----------------------------------------- It it works with the jar then Launch4J is the culprit and I'll close the issue. If it doesn't work, I would ask you to update on JDK 1.5 first, then whether it happens with any PDF, i.e. not just PDFs that you possibly generated yourself. If it happens with a specific PDF, I would ask you for that PDF. If it happens with any PDF, I would ask you to try to open with file with the PDF app (PDFReader option), to see whether the file is displayed, then try print. > 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)