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



   Thanks Mark,

   Maybe I should have specified that I have already added
   java.awt.headless=true as a JVM argument. I am also vaguely aware that
   certain awt classes still don't like running properly in a headless
   environment and as far as I can tell this shouldn't be a problem when
   running BIRT.

   Thanks for you suggestions,
   Sarah

   Inactive hide details for Mark Phippard <markp@xxxxxxxxxxxxxxx>Mark
   Phippard <markp@xxxxxxxxxxxxxxx>

              Mark Phippard                       To Java Programming on and  
              <markp@xxxxxxxxxxxxxxx>                around the iSeries /     
              Sent by:                               AS400                    
              java400-l-bounces@xxxxxxxxxxxx         <java400-l@xxxxxxxxxxxx> 
                                                  cc                          
              02/17/2006 09:17 AM            Subject Re: BIRT 2.0 Reporting   
                                                     Tool                     
              +----------------------------+                                  
              |     Please respond to      | 
              |  Java Programming on and   | 
              | around the iSeries / AS400 | 
              |  <java400-l@xxxxxxxxxxxx>  | 
              +----------------------------+ 

   java400-l-bounces@xxxxxxxxxxxx wrote on 02/15/2006 03:07:25 PM:

   >    Has anyone here had success running reports with BIRT 2.0 (Business
   >    Intelligence Reporting Tool) in Websphere 6 on the iSeries?
   >
   >    I have followed the instructions found here,
   >    http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php , for
   >    integrating BIRT reports in a web application. I have successfully
   run
   >    reports containing tables but have been unable to run a report
   containing
   >    graphs or charts. I simply receive the following error message
   >
   >    Exception in:
   >    soapenv:Server.userException
   >    java.lang.reflect.InvocationTargetException
   >
   >    Any information would be greatly appreciated.

   I have not tried BIRT yet but I spent some time a year ago getting another
   report solution working in WebSphere.  The basic problem with all of these
   tools is that in order to generate graphics on the fly they use some core
   Java classes that require AWT.  OS/400 does not have AWT support by
   default.

   WAS 6 uses Java 1.4, and starting with java 1.4 you can set a property
   named java.awt.headless=true.  This is a JVM property so you have to set
   it in the area of WebSphere where you can specify JVM startup properties.
   WebSphere would have to be stopped and restarted to pick up the property.

   Once this property is set, the charts *might* work.  I qualify it, because
   there are some things that the code has to do work properly in headless
   AWT.  Most tools are aware of this property now and code their graphics
   routines so that it will work in this environment.

   If it does not work, then OS/400 has a different way you can setup the JVM
   so that an AWT environment is available.  It requires running VNC on the
   server and it then uses the VNC server to provide a graphics environment.

   There is documentation on all of this in the IBM docs.  Search for
   java.awt.headless and you should fine stuff.

   Mark

   _____________________________________________________________________________
   Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM
   Email Security Management Services powered by MessageLabs.
   _____________________________________________________________________________
   --
   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 ...

Follow-Ups:
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.