----------------------------------------
> Date: Sun, 28 Feb 2010 07:55:06 -0800
> From: sandys...@yahoo.com
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] PDF opened in Java shows 'Error Page' in Title
>
>
> Hi Mike,
>
> The .jar is always built into the .ear for the application and deployed to
> the server.
>
> The original WL8 version used iText-1.4.7.jar. I did not have to make any
> significant code changes when I went from iText-1.4.7.jar to
> iText-2.1.7.jar, while there were quite a few changes going to
> iText-5.0.1.jar. Since WL10 runs under Java 1.6, and the 5.0.1 version is
> written in Java 5, I was hoping the Adobe 9 issues were resolved in
> iText-5.0.1.jar.

well, it doesn't sound like a gross problem- the insiginifcant 
would be good suspects I guess. 

>
> I wish it was easier to narrow down the problem in the iText.jar. Since no
> errors are thrown and I have not been able to pinpoint the difference in the
> documents I was hoping somebody had already experienced the problem.

Its hard to know if itext even thinks there is a problem.
I guesss a debug jar could help, I have gotten in to habit of using the
c++ preprocessor with java and can make build with various features
or for different target platforms ( even java is not entirely platform 
independent).

Really this could be anything- an invalid input image, a messed up font, etc.
If you can identify what the reader is complaining about you should be able
to narrow down the possible code issues. 
It is possible you could just dump the pdf as an ascii file and visually
compare the ascii to a known good one or see if the high bit is
now being reset using a binary dump utility etc.




>
> Thanks...
> S
>
>
>
> Mike Marchywka-2 wrote:
>>
>>
>>
>>
>>
>>
>>
>> ----------------------------------------
>>> Date: Sat, 27 Feb 2010 11:12:04 -0800
>>> From: sandys...@yahoo.com
>>> To: itext-questions@lists.sourceforge.net
>>> Subject: Re: [iText-questions] PDF opened in Java shows 'Error Page' in
>>> Title
>>>
>>>
>>> Hi Mike,
>>>
>>> The code has been under my control through the changes aso I can confirm
>>> that no configurations changes were made. Also all the tests were run on
>>
>> Changing versions of something often creates small config changes.
>> This could be a classpath order or some really subtle thing- unlikely
>> but I'm pointing out issues. Normally you can't just change a jar
>> file when API has changed and assume all the methods are the same
>> and it sounds like you never tried to recompile your app against the new
>> itext jars. I usually try to have a build of somethiing designed to run on
>> a server
>> that runs from the  command line so it is easier to test.
>>
>>> the same server so that is also not likely to be the problem. However, my
>>> PC has Adobe 9 installed which was the client when I ran the tests
>>> described
>>> below. Then later, I tested it on a PC with Adobe 8 installed and I did
>>> not see ant of the errors.
>>>
>>> This could be an Adobe 9 related problem. Does anybody know of a fix for
>>> it?
>>
>> If you want to approach this empirically and look at properties of the
>> final
>> result, version-specific Adobe problems can only be answered by an insider
>> like
>> Leonard- I'm not sure if either version has any means to get a detailed
>> error report or
>> report back to adobe when it finds an error ( obviously I try not to use
>> them LOL) .
>> I'm not sure there is a good  pdf-dump tool likely to
>> point to the questionable code inside the pdf but maybe someone can
>> suggest one.
>> But, again, if you can narrow down the
>> problem item and it seems to be isolated, you may be able to find the
>> itext code
>> responsible and post that.
>>
>>
>>
>>
>>>
>>> Thanks
>>> S
>>>
>>>
>>>
>>>
>>> Mike Marchywka-2 wrote:
>>>>
>>>> ----------------------------------------
>>>>> Date: Fri, 26 Feb 2010 11:53:27 -0800
>>>>> From: sandys...@yahoo.com
>>>>> To: itext-questions@lists.sourceforge.net
>>>>> Subject: [iText-questions] PDF opened in Java shows 'Error Page' in
>>>>> Title
>>>>>
>>>>>
>>>>> This may be an application specific problem. If anybody has experienced
>>>>> it
>>>>> before, please let me know.
>>>>>
>>>>> I am in the process of upgrading a java web application from Weblogic8
>>>>> to
>>>>> Weblogic10. The application renders invoices in PDF format via
>>>>> iText.jar.
>>>>
>>>>
>>>> There have been some cases where web servers treat PDF as ASCII
>>>> and clear high bit. You wouldn't want to rule out a change in
>>>> configuration
>>>> so if you can diff config files that may be worthwhile ( if not for this
>>>> specific problem more generally ). Some people have complained about
>>>> quirks or problems using their code with servlets etc and it isn't hard
>>>> to write code that only works for a very idiosyncratic server setup.
>>>>
>>>>
>>>>>
>>>>> The original WL8 version used iText-1.4.7.jar
>>>>>
>>>>> For the WL10 version I first tried iText-2.1.7.jar saw the errors I am
>>>>> about
>>>>> to describe in this post and so am now trying out iText-5.0.1.jar but
>>>>> still
>>>>> see the same errors. The invoices (1 or 2 page documents) are all
>>>>> rendered
>>>>> correctly, however, some of the invoices are rendered with the title
>>>>> displayed as:
>>>>>
>>>>> Billng App - Error Page (only this line shows)
>>>>> https://... url to the page
>>>>>
>>>>> The title should display:
>>>>>
>>>>> https://... url to the page
>>>>>
>>>>> Error Page is the default title for the application's errorpage.jsp
>>>>
>>>>
>>>> Can you trace the code far enough to get something related to itext?
>>>> Did you recompile against new itext or just replace jar files?
>>>> Often catching Exception is done when Throwable is more comprehensive.
>>>> In particular note that this does not derive from exception,
>>>>
>>>> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NoSuchMethodError.html
>>>>
>>>>
>>>>>
>>>>> If the applicaiton is throwing any errors, it is not apparent as there
>>>>> are
>>>>> no errors in the logs or any visible differences in the PDF document.
>>>>> It
>>>>> is
>>>>> always the same documents that display the error.
>>>>>
>>>>> Please let me know if you need more information, code extracts or
>>>>> screen
>>>>> shots.
>>>>>
>>>>> Your responses to this would be much appreciated.
>>>>>
>>>>> Thanks!
>>>>> S
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/PDF-opened-in-Java-shows-%27Error-Page%27-in-Title-tp27722675p27722675.html
>>>>> Sent from the iText - General mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Download Intel® Parallel Studio Eval
>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>>> proactively, and fine-tune applications for parallel performance.
>>>>> See why Intel Parallel Studio got high marks during beta.
>>>>> http://p.sf.net/sfu/intel-sw-dev
>>>>> _______________________________________________
>>>>> iText-questions mailing list
>>>>> iText-questions@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>>>
>>>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>>>> Check the site with examples before you ask questions:
>>>>> http://www.1t3xt.info/examples/
>>>>> You can also search the keywords list:
>>>>> http://1t3xt.info/tutorials/keywords/
>>>>
>>>> _________________________________________________________________
>>>> Hotmail: Free, trusted and rich email service.
>>>> http://clk.atdmt.com/GBL/go/201469228/direct/01/
>>>> ------------------------------------------------------------------------------
>>>> Download Intel® Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> iText-questions mailing list
>>>> iText-questions@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>>
>>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>>> Check the site with examples before you ask questions:
>>>> http://www.1t3xt.info/examples/
>>>> You can also search the keywords list:
>>>> http://1t3xt.info/tutorials/keywords/
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/PDF-opened-in-Java-shows-%27Error-Page%27-in-Title-tp27722675p27730225.html
>>> Sent from the iText - General mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> iText-questions mailing list
>>> iText-questions@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>
>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>> Check the site with examples before you ask questions:
>>> http://www.1t3xt.info/examples/
>>> You can also search the keywords list:
>>> http://1t3xt.info/tutorials/keywords/
>>
>> _________________________________________________________________
>> Hotmail: Powerful Free email with security by Microsoft.
>> http://clk.atdmt.com/GBL/go/201469230/direct/01/
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>> Check the site with examples before you ask questions:
>> http://www.1t3xt.info/examples/
>> You can also search the keywords list:
>> http://1t3xt.info/tutorials/keywords/
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/PDF-opened-in-Java-shows-%27Error-Page%27-in-Title-tp27722675p27735907.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: 
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
                                          
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to