Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7560807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:59:55+00:00 2026-05-30T12:59:55+00:00

I was able to get the Zend Server Java Bridge running and tested it

  • 0

I was able to get the Zend Server Java Bridge running and tested it successfully, but I am unable to find any information on how to get the Birt Engine to work with the Zend Server Java Bridge. Has anyone figured out how to get this to work?

i am facing the same issue can locate where to download the birt api to run birt reports

viewtopic.php?f=44&t=9452&p=30950&hilit=birt#p30950

If anybody have an example… please… show me how to do it…
Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:59:56+00:00Added an answer on May 30, 2026 at 12:59 pm

    If you download the 3.7 runtime you should be able to build a command
    line app that runs the reports. Attached is a simple example. To build
    the class make sure you have the jars from the runtime
    download/reportengine/lib directory in the classpath. Once built you
    should be able to call it the same way as the simple Java app. This
    sample does a platform startup and shutdown which is generally not a
    good idea if you are going to generate a lot of reports. A better
    solution is to wrap the Platform startup and report engine creation in a
    singleton that starts when you server starts up, then use the engine to
    create a new task per request.

    import java.util.logging.Level;
    
    import org.eclipse.birt.core.framework.Platform;
    import org.eclipse.birt.report.engine.api.EXCELRenderOption;
    import org.eclipse.birt.report.engine.api.EngineConfig;
    import org.eclipse.birt.report.engine.api.EngineConstants;
    import org.eclipse.birt.report.engine.api.EngineException;
    import org.eclipse.birt.report.engine.api.HTMLRenderOption;
    import org.eclipse.birt.report.engine.api.HTMLServerImageHandler;
    import org.eclipse.birt.report.engine.api.IReportEngine;
    import org.eclipse.birt.report.engine.api.IReportEngineFactory;
    import org.eclipse.birt.report.engine.api.IReportRunnable;
    import org.eclipse.birt.report.engine.api.IRunAndRenderTask;
    import org.eclipse.birt.report.engine.api.PDFRenderOption;
    import org.eclipse.birt.report.engine.api.RenderOption;
    import org.eclipse.birt.report.engine.api.impl.RunAndRenderTask;
    import org.eclipse.birt.report.engine.api.script.IReportContext;
    
    
    public class RunAndRenderTaskTest {
    
    public void runReport() throws EngineException
    {
    
    RunAndRenderTask task=null;
    IReportEngine engine=null;
    EngineConfig config = null;
    
    try{
    config = new EngineConfig( );   
    //config.setLogConfig("c:/dwn", Level.SEVERE);
    //config.setResourcePath("C:/work/workspaces/3.7.1workspaces/BIRT 
    Metal/APIs/resources");
    Platform.startup( config );
    
    IReportEngineFactory factory = (IReportEngineFactory) Platform
    .createFactoryObject( 
    IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
    engine = factory.createReportEngine( config );
    
    
    IReportRunnable design = null;
    //Open the report design
    
    design = engine.openReportDesign("Reports/testlibrary.rptdesign");
    task = (RunAndRenderTask) engine.createRunAndRenderTask(design);    
    IReportContext irc = task.getReportContext();
    //task.setParameterValue("Top Count", (new Integer(5)));
    //task.validateParameters();
    
    
    //HTMLRenderOption options = new HTMLRenderOption();    
    //options.setImageDirectory("./");
    //options.setOutputFileName("output/resample/external.html");
    //options.setOutputFormat("html");
    //options.setEmbeddable(false);
    //options.setEnableMetadata(true);
    //options.setEnableInlineStyle(false);
    //options.setEnableAgentStyleEngine(true);
    //options.setEnableCompactMode(true);
    
    //PDFRenderOption options = new PDFRenderOption();
    //options.setOutputFileName("output/resample/hidefooter.pdf");
    //options.setSupportedImageFormats("PNG;GIF;JPG;BMP;SWF;SVG");
    //options.setOutputFormat("pdf");
    
    //EXCELRenderOption options = new EXCELRenderOption();  
    //options.setOutputFormat("xls");
    //options.setOutputFileName("output/resample/customers.xls");
    //options.setWrappingText(true);
    
    HTMLRenderOption options = new HTMLRenderOption();
    //options.setImageHandler(new HTMLServerImageHandler());
    options.setSupportedImageFormats("JPG;PNG;BMP;SVG;GIF");
    options.setOutputFileName("output/resample/testlibrary.html");
    options.setOutputFormat("html");
    //options.setOutputFormat("ppt");
    
    
    
    task.setRenderOption(options);
    task.run();
    
    irc = task.getReportContext();
    
    task.close();
    engine.destroy();
    }catch( Exception ex){
    ex.printStackTrace();
    }   
    Platform.shutdown( );
    System.out.println("Finished");
    
    
    
    }   
    
    
    /**
    * @param args
    */
    public static void main(String[] args) {
    try
    {
    
    RunAndRenderTaskTest ex = new RunAndRenderTaskTest( );
    ex.runReport();
    
    System.exit(0);
    
    }
    catch ( Exception e )
    {
    e.printStackTrace();
    }
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm able to get cells to format as Dates, but I've been unable to
Has anyone been able to get an NHibernate-based project up and running on a
I was able to get this working is SSRS 2008, but do to the
I've been scouring every resource I could find, but came up empty. I get
I need to be able get a single specific attribute from an element with
Has anyone been able to get xinc to run correctly under OpenBSD's chrooted default
Has anyone been able to get a variable record length text file (CSV) into
I am not able to get my jwysiwyg and Jhtmlarea text editors to work
I am able to get the feed from the spreadsheet and worksheet ID. I
I am able to get the list of 'authored' blogs for a particular user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.