×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




No, it isn't installed on this system so I'll go ahead and install it and
see happens.

Thanks for the pointer.

Peter Helgren
Value Added Software, Inc
801.581.1154 x202

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Patrick L Archibald
Sent: Friday, December 10, 2004 12:32 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] AWT and Servlet Exception

Pete

Do you have "OS/400 - Portable App Solutions Environment" installed on your
system?  I think I recall that headless awt requires PASE.

Thanx, PLA

Pete Helgren wrote:

>I haven't gotten a response on the JAVA400 list and perhaps this is the 
>better list anyway....
>
>I have a servlet running under Tomcat 5.0 on our V5R3M0 iSeries that 
>throws a javax.servlet.ServletException: "AWT class or API used without 
>specifying property os400.awt.native=true or java.awt.headless=true" 
>exception when generating a Jasper report.
>
>The Java400 list had a dead on hit on the error but it had a bit of 
>missing information, namely how the properties were set so that 
>os400.awt.native=true or java.awt.headless=true properties could be 
>seen by Tomcat.
>
>I added two entries to /QIBM/UserData/Java400/SystemDefault.properties file
>java.version=1.4       
>java.awt.headless=true
>
>I ended Tomcat on the iSeries and then restarted it and accessed the 
>application again with the same result.
>
>I probably missed something simple here but, what did I miss?
>
>Now I am also seeing two errors in the job log of the Tomcat instance:
>
>The requested heap space operation is invalid. (MCH6902)     
>The pointer parameter passed to free or realloc is not valid.(C2M1212)
>
>
>The servlet is still running but when I execute the jasper report I get 
>the servlet exception (listed above).
>
>Any help would be appreciated.
>
>Thanks,
>
>Peter Helgren
>Value Added Software, Inc
>801.581.1154 x202
>
>_______________________________________________
>This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To 
>post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or 
>change list options,
>visit: http://lists.midrange.com/mailman/listinfo/web400
>or email: WEB400-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives at 
>http://archive.midrange.com/web400.
>
>
>
>  
>

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a
message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.