Re: [iText-questions] Files are not beging closed

2007-03-07 Thread Bruno Lowagie (iText)
milind wrote: > Also I am using setEncyption method shown here which is > deprecated. Any advise how should i use it with 2.0. > > writer.setEncryption(PdfWriter.STRENGTH128BITS, readerPwd, sOwnerPwd, > PdfWriter.AllowPrinting); > which is setEncryption(boolean,string,string,int). When you get

Re: [iText-questions] Files are not beging closed

2007-03-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of milind > Sent: Tuesday, March 06, 2007 8:49 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files are not beging closed > > No i dont

Re: [iText-questions] Files are not beging closed

2007-03-06 Thread milind
No i dont want to do that. Actully i was using version 1.4 and for that I really didnt use any extra jars. But seems for version 2.0 i need to include those in classpath. Also I am using setEncyption method shown here which is deprecated. Any advise how should i use it with 2.0. writer.setEncry

Re: [iText-questions] Files are not beging closed

2007-03-06 Thread Paulo Soares
Tuesday, March 06, 2007 4:31 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files are not beging closed > > I am trying to get the itext-2.o.jar code and compile in Jdeveloper. > I downloaded keystore, crimson.jar, itext-hyph-xml.jar, > iTextAsi

Re: [iText-questions] Files are not beging closed

2007-03-06 Thread milind
I am trying to get the itext-2.o.jar code and compile in Jdeveloper. I downloaded keystore, crimson.jar, itext-hyph-xml.jar, iTextAsian.jar, iTextAsianCmaps.jar, servlet.jar, jfreechart.jar, jcommon.jar, bcmail-jdk14- 135.jar, bcprov-jdk14-135.jar files. I want to create only one jar and dont wa

Re: [iText-questions] Files are not beging closed

2007-03-02 Thread Paulo Soares
writen to output.txt? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of milind > Sent: Thursday, March 01, 2007 7:17 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files are not beging closed &

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
The getImageFile() is just returning the image file name from the arraylist. So this use the constructor public RandomAccessFileOrArray(String filename) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread Lewis, Cory (Genworth)
h 01, 2007 2:17 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files are not beging closed > > I dont think closing the file channel relase the file descripter > Please have a look at this > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4796385

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
I dont think closing the file channel relase the file descripter Please have a look at this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4796385 It seems I am experiencing the same. thanks & regards, Milind - Take Sur

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread Paulo Soares
Text-questions] Files are not beging closed > > I mean my class file. So that you can check if I am doing > something which > causing this issue. As you said RandomAccessFileOrArray.close > internally c > invoking MappedRandomAccessFile close. You might see the > issue if

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
I mean my class file. So that you can check if I am doing something which causing this issue. As you said RandomAccessFileOrArray.close internally c invoking MappedRandomAccessFile close. You might see the issue if you have continuous running program (on unix). Question ,in the MappedRandomAcces

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of milind > Sent: Thursday, March 01, 2007 5:29 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Files are not beging closed > > I can send

Re: [iText-questions] Files are not beging closed

2007-03-01 Thread milind
I can send you the class file. Please let me know your email addr. thx - 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 & busi

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread porcupine
t; From: "milind" db.com> >> To: lists.sourceforge.net> >> Sent: Tuesday, February 27, 2007 7:49 PM >> Subject: [iText-questions] Files are not beging closed >> >> > Hello, >> > We are having a problem where we converts the tif images to

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread milind
Paulo Soares consiste.pt> writes: > Doyou mean instaed of using Image img = TiffImage.getTiffImage(ra,c); use Image.getInstance("image.tif") ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread Paulo Soares
- Original Message - From: "milind" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 11:17 PM Subject: Re: [iText-questions] Files are not beging closed > milind db.com> writes: > >> >> Hello, >> We are having a problem where we con

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread milind
milind db.com> writes: > > Hello, > We are having a problem where we converts the tif images to pdf. > We observed that the tif images opend using the RandomAccessFileOrArray are > not beging closed. We are using the RandomAccessFileOrArray close method and > it seems its not closing the fil

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread Paulo Soares
Are you sure an exception is not thrown before the file is closed? Paulo - Original Message - From: "milind" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 10:26 PM Subject: Re: [iText-questions] Files are not beging closed > Paulo Soares consiste.pt&

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread milind
Paulo Soares consiste.pt> writes: > > What code are you using? > > Paulo > > - Original Message - > From: "milind" db.com> > To: lists.sourceforge.net> > Sent: Tuesday, February 27, 2007 7:49 PM > Subject: [iText-questions] Files are

Re: [iText-questions] Files are not beging closed

2007-02-27 Thread Paulo Soares
What code are you using? Paulo - Original Message - From: "milind" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 27, 2007 7:49 PM Subject: [iText-questions] Files are not beging closed > Hello, > We are having a problem where we converts the tif images to p

[iText-questions] Files are not beging closed

2007-02-27 Thread milind
Hello, We are having a problem where we converts the tif images to pdf. We observed that the tif images opend using the RandomAccessFileOrArray are not beging closed. We are using the RandomAccessFileOrArray close method and it seems its not closing the files. Any advise? regards, milind