× 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.



Colin

I got the properties to take. It just caused other problems. I'm thinking I need to install: iSeries Tools for Developers PRPQ (5799PTL) before I can turn the properties for awt on. All the jFreeChart software is doing is building a PNG graphic that is displayed via the Cewolf jsp tags. It is a shame the AS/400 is requiring all this extra attention.

Thanx, PLA



Colin Williams wrote:

Patrick,

You've probably already spotted that your properties arent getting picked
up. Im sure there is a way to override the properties without setting them at
the system level.


I presume you have to set these before you start the JVM, so I would think
you could pass these as arguments to the JVM.

Cheers
Colin.W

-----Original Message-----
From: Patrick L Archibald [mailto:Patrick.Archibald@xxxxxxxxxxxxx] Sent: 09 February 2004 14:37
To: JAVA400-L@xxxxxxxxxxxx
Subject: jFreeChart, Cewolf tag library, OS/400, Tomcat



Hi


Has anyone seen the stack trace below before? Do you know what it means? I've developed some Tomcat 4.1.24 jsp pages that display charts using jFreeChart and Cewolf tag library. It all works on my PC but fails on the AS/400 with the message below. I've tried setting os400.awt.native=true or java.awt.headless=true in my /qibm/userdata/java400/SystemDefault.properties file but it causes other problems. I'm at V5R2 jdk 1.4.


Thanx, PLA




org.apache.jasper.JasperException: AWT class or API used without specifying property os400.awt.native=true or java.awt.headless=true
at java/lang/Throwable.<init>(Throwable.java:195)
at java/lang/Exception.<init>(Exception.java:41)
at javax/servlet/ServletException.<init>(ServletException.java:161)
at org/apache/jasper/JasperException.<init>(JasperException.java:88)
at org/apache/jasper/servlet/JspServletWrapper.service(JspServletWrapper.java:1
77)
at org/apache/jasper/servlet/JspServlet.serviceJspFile(JspServlet.java:270)
at org/apache/jasper/servlet/JspServlet.service(JspServlet.java:200)
at javax/servlet/http/HttpServlet.service(HttpServlet.java:848)
at org/apache/catalina/core/ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:201)
at org/apache/catalina/core/ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:168)
at org/apache/catalina/core/StandardWrapperValve.invoke(StandardWrapperValve.ja
va:167)
at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:636)
at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)
at org/apache/catalina/core/ContainerBase.invoke(ContainerBase.java:995)
at org/apache/catalina/core/StandardContextValve.invoke(StandardContextValve.ja
va:153)
at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:636)
at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)
at org/apache/catalina/core/ContainerBase.invoke(ContainerBase.java:995)
at org/apache/catalina/core/StandardContext.invoke(StandardContext.java:2395)
at org/apache/catalina/core/StandardHostValve.invoke(StandardHostValve.java:148
)
at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:636)
at org/apache/catalina/valves/ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:636)
at org/apache/catalina/valves/ErrorReportValve.invoke(ErrorReportValve.java:172
)
at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:636)
at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)
at org/apache/catalina/core/ContainerBase.invoke(ContainerBase.java:995)
at org/apache/catalina/core/StandardEngineValve.invoke(StandardEngineValve.java
:146)
at org/apache/catalina/core/StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:636)
at org/apache/catalina/core/StandardPipeline.invoke(StandardPipeline.java:480)
at org/apache/catalina/core/ContainerBase.invoke(ContainerBase.java:995)
at org/apache/ajp/tomcat4/Ajp13Processor.process(Ajp13Processor.java:361)
at org/apache/ajp/tomcat4/Ajp13Processor.run(Ajp13Processor.java:570)
at java/lang/Thread.run(Thread.java:534)




Here are some links to the products I'm using:

http://jfree.org/jfreechart/index.html

http://cewolf.sourceforge.net/

Thanx, PLA



_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

This e-mail has been sent by a company of Bertram Group Ltd, whose registered office is The Nest, Rosary Road Norwich NR1 1TF. This message, and any attachments, are intended solely for the addressee and may contain privileged or confidential information. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender immediately. Opinions, conclusions and statements of intent in this e-mail are those of the sender and will not bind a Bertram Group Ltd company unless confirmed in writing by a director independently of this message. Although we have taken steps to ensure that this email and any attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.








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-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.