java.io.IOException: yourFileName not found asfile or resource.
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Thu, 2 Nov 2006 17:55:14 -0000
Does:
new RandomAccessFile("PORA$DATA:[PORADATA.PDF]GuestVpnTemplate.pdf")
work?
Does:
new File("PORA$DATA:[PORADATA.PDF]GuestVpnTemplate.pdf").isFile()
return true?
Paulo
> -----Original Message-----
> From: itext-questions-bounces (at) lists.sourceforge.net
> [mailto:itext-questions-bounces (at) lists.sourceforge.net] On
> Behalf Of Patrick O. Thurman
> Sent: Thursday, November 02, 2006 5:36 PM
> To: 'Post all your questions about iText here'
> Subject: [iText-questions] java.io.IOException: yourFileName
> not found asfile or resource.
>
> I have a java class that needs to read an existing PDF file
> with input items
> But when I create the PdfReader object I get an IOException.
>
> PdfReader reader = new PdfReader("PORA$DATA:[PORADATA.PDF]" +
> "GuestVpnTemplate.pdf");
>
> 2006-11-02 10:53:46.709 readTemplatePDF >> java.io.IOException:
> PORA$DATA:[PORADATA.PDF]GuestVpnTemplate.pdf not found as
> file or resource.
>
> I know that the file
> PORA$DATA:[PORADATA.PDF]GuestVpnTemplate.pdf does exist
> and is in the the above directory. I know that the OS level
> file security
> is correct and readable.
>
> Any ideals about tracking down the error or what is causing it.
>
>
> Pat,
>
> Patrick O. Thurman
> DBAIII
> Stephen F. Austin State University
> pthurman (at) sfasu.edu
>
>
>
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> dat=121642
> _______________________________________________
> iText-questions mailing list
> iText-questions (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions