× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I can confirm that iText in Tomcat 5.0 running with the 1.4 JVM headless
works fine. If I take out the headless option I get your error. Here is
a copy of /QIBM/UserData/Java400/SystemDefault.properties:

java.version=1.4                                                       
                                           
os400.define.class.cache.file=/QIBM/ProdData/Java400/QDefineClassCache.jar
                                        
os400.define.class.cache.hours=168                                     
                                           
os400.define.class.cache.maxpgms=20000                                 
                                           
java.awt.headless=true                                                 
                                           
user.timezone=America/Denver                                           
                                           

I did this with cut & paste so it should be correct. Performance for
iText is as good as on a PC for me and depends on your model of iSeries
and memory. If re-scale images it is slow no matter iText is running.

David Morris



>>> pete@xxxxxxxxxx 1/6/2005 11:33:29 AM >>>
Thanks Patrick,

Everything we have so far is running just fine under Tomcat 5.0, this
is the
only issue we have surfaced.  I also tried running it on our dev box
(model
800 running V5R2M0) It has the exact same problem and is running the
1.4 JVM
and Tomcat 5.0.

IBM suggested the PRPQ 5799PTL which provides VNC support but was also
supposed to help in this case but that made no difference.  I'll have
the
customer go back to IBM (although I find this list much more
knowledgeable
in 'real world' implementations....)

Jasper reports is cool enough that we want to get this running.  I'll
investigate the 5.0 JRE although I am pretty sure that Tomcat 5.0.19
should
be running OK with 1.4.  BTW, this app runs just fine under Tomcat 5.0
and
the 1.4 JDK on my WinXP box so I think there is something up on the
iSeries.
I should give it a whirl under Linux...

Short of any other suggestions, I'll go back to IBM and see what they
say
(probably "Tomcat 5.0 isn't supported....") Guess I could always fire
up WAS
Express.....

Pete

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] 
On Behalf Of Patrick L Archibald
Sent: Thursday, January 06, 2005 11:15 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: AWT settings on the iSeries

Pete

I don't have QIBM_JAVA_PROPERTIES_FILE set. I've just got
*java.awt.headless=true *in my
*/qibm/userdata/java400/SystemDefault.properties* file and that all I
can
think of relating to awt.

Is Tomcat 5 running other servlets OK? I think Tomcat version 5
requires
Java JRE 5.0 unless you take extra steps under Java JRE 1.4+.

When you get it running, be prepared for a performance hit. I'm
building
some charts using http://jfree.org/jfreechart/index.html . It is much
slower
on the iSeries than on my PC. I think PASE is the bottleneck.


Thanx, PLA


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.