Title: Unable to open .PDF file from Server
I can't see what iText has to do with your file access problems. It can be a weblogic restriction or win2003 account restriction, it is not an iText restriction.
 
Paulo


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Goud, Srikanth
Sent: Wednesday, October 04, 2006 3:04 PM
To: [email protected]
Subject: [iText-questions] Unable to open .PDF file from Server

Hi , I developed the reports using ITEXT, its really fast and easy to develop the .PDF files, my question is I developed and deployed in Weblogic Server in my local its working fine , than I deployed on the server so its writing the file on the shared directory, but its unable to open the file, below is code any suggestions.

As server is Weblogic8, installed on windows2003.

                        String fileName ="d:/rockport/ttsPDF/emptyContainer.pdf"; 

                        writer =
                                PdfWriter.getInstance(document, new FileOutputStream(fileName));

System.out.println("the out put file is :"+fileName); - its print correctlly - >d:/rockport/ttsPDF/emptyContainer.pdf
                        Runtime.getRuntime().exec("cmd.exe /C start " + fileName.trim()); -unable to open.

Thanks! 
Srikanth Goud Gunday
LimitedBrands Technology Services
[EMAIL PROTECTED]





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.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to