Topic
  • 7 replies
  • Latest Post - ‏2013-02-13T15:36:27Z by SystemAdmin
SystemAdmin
SystemAdmin
6195 Posts

Pinned topic Birt Run Problems

‏2013-01-15T19:26:23Z |
I'm a new-comer to the BIRT scene as it relates to EGL and I'm having a little bit of trouble getting any report (html or pdf).

To get me started, I found a dated PPT doc showing how to config BIRT with the IDE and used the examples to launch the report I designed. Preference settings for the IDE have been performed as per the PPT doc. (attached) The build descriptor has been modified to include the "birtEngineHome" entry also as per the doc.

The BasicProgram being called accepts 3 parameters to be printed on the single page. The BasicProgram uses the following construct to launch the report :


birtReportDesignFile string = 
"C:\\Desk\\AppDevEGL\\OfficeDocumentsSystem\\OfficeDocumentsSystemProject\\EGLSource\\com\\mig\\officedocsys\\birt\\StartRequest.rptdesign"; dataFileURL string = 
"C:\\Desk\\AppDevEGL\\OfficeDocumentsSystem\\OfficeDocumentsSystemProject\\WebContent\\reports\\StartRequest.html";     startRequestBirtHandler StartRequestBirtHandler = 

new StartRequestBirtHandler; report BirtReport = 

new BirtReport(birtReportDesignFile, null, dataFileURL, 
"html", startRequestBirtHandler); startRequestBirtHandler.setCompany(company); startRequestBirtHandler.setBlock(block); startRequestBirtHandler.setPolicy(policy); report.createReportFromDesign();


When running the application to produce the report, nothing is actually created, however this message is presented in the console:

BirtReports are not supported by the EGL debugger in 

this release and will be ignored.


Any help would be greatly appreciated.

Release of RBD is 8.5

Additional references used : IBM Rational Business Developer Version 8.5.1 documentation
* Developing > Developing EGL applications > EGL Programmer's Guide > Creating reports with EGL > Creating reports with BIRT
Updated on 2013-02-13T15:36:27Z at 2013-02-13T15:36:27Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6195 Posts

    Re: Birt Run Problems

    ‏2013-01-16T00:34:59Z  
    How did you run the birt program? As listed in page 26, you should run the generated Java program (not EGL program). Thanks!

    Rocky
  • chp21
    chp21
    29 Posts

    Re: Birt Run Problems

    ‏2013-01-29T07:50:25Z  
    Hi I have the same issue. Unfortunately I have not found a solution to this problem, so I still use Birt Report Viewer for my reporting needs and not EGL Birt Report Handlers. This means that I cannot pass an array to a Report but instead I pass the parameteres for the report to a URL. Check this thread:

    http://www.ibm.com/developerworks/forums/thread.jspa?threadID=454459&tstart=165

    and also check the attached file on how to install birt report viewer on Websphere Application Server.
  • chp21
    chp21
    29 Posts

    Re: Birt Run Problems

    ‏2013-01-29T07:52:07Z  
    • chp21
    • ‏2013-01-29T07:50:25Z
    Hi I have the same issue. Unfortunately I have not found a solution to this problem, so I still use Birt Report Viewer for my reporting needs and not EGL Birt Report Handlers. This means that I cannot pass an array to a Report but instead I pass the parameteres for the report to a URL. Check this thread:

    http://www.ibm.com/developerworks/forums/thread.jspa?threadID=454459&tstart=165

    and also check the attached file on how to install birt report viewer on Websphere Application Server.
    The file was not attached. I hope that this time will.
  • chp21
    chp21
    29 Posts

    Re: Birt Run Problems

    ‏2013-01-29T07:54:40Z  
    • chp21
    • ‏2013-01-29T07:52:07Z
    The file was not attached. I hope that this time will.
    Still not attached! Might be a problem with my company's firewall. Try this link:

    http://www-949.ibm.com/software/rational/cafe/servlet/JiveServlet/download/2865-1-1853/Install%20BIRT%20viewer%20to%20WAS%206.1.pptx
  • chp21
    chp21
    29 Posts

    Re: Birt Run Problems

    ‏2013-01-29T08:38:54Z  
    • chp21
    • ‏2013-01-29T07:54:40Z
    Still not attached! Might be a problem with my company's firewall. Try this link:

    http://www-949.ibm.com/software/rational/cafe/servlet/JiveServlet/download/2865-1-1853/Install%20BIRT%20viewer%20to%20WAS%206.1.pptx
    Check this one for complete instructions:

    http://www.ibm.com/developerworks/forums/thread.jspa?threadID=337859&tstart=525
  • SystemAdmin
    SystemAdmin
    6195 Posts

    Re: Birt Run Problems

    ‏2013-01-29T09:21:00Z  
    • chp21
    • ‏2013-01-29T08:38:54Z
    Check this one for complete instructions:

    http://www.ibm.com/developerworks/forums/thread.jspa?threadID=337859&tstart=525
    Usually inside IDE, we navigate to the generated java program from BirtHandler and Select run as > Java Application to run it, not sure if it is the case you are in.
  • SystemAdmin
    SystemAdmin
    6195 Posts

    Re: Birt Run Problems

    ‏2013-02-13T15:36:27Z  
    We usually work with BIRT 2.6.1 in RBD 8.5.x, and configured the JAVA compiler level associated with the EGL BIRT project at 1.5. Then it is supposed to work if we follow the instructions provided in the PPT referred before. Would you mind upload a simple sample project here so that we can reproduce the problem and then help you resolve the problem more efficiently.

    Regards,

    Smyle