Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-report-designer-dev] birt servlet

Is there any one can help out how to fix the following error when I ran birt report in a web servlet?

org.eclipse.birt.core.exception.BirtException: $NO-RB$ Cant startup the OSGI framework at org.eclipse.birt.core.framework.Platform.startup(Platform.java:89) at edu.umich.med.umms.orgsnewfac.actions.BirtEngine.getBirtEngine(BirtEn
gine.java:62)

public class BirtEngine {

   private static IReportEngine birtEngine = null;

   private static Properties configProps = new Properties();

   private final static String configFile = "BirtConfig.properties";

   public static synchronized void initBirtConfig() {
       loadEngineProps();
   }

public static synchronized IReportEngine getBirtEngine(ServletContext sc) {
...
           config.setEngineHome("");
           IPlatformContext context = new PlatformServletContext(sc);
           config.setPlatformContext(context);
....
}

-Henry

Joseph Thie wrote:


Hi Linda, thanks for the response. I was investigating a way where the the first page would be an extension of my UI plugin, and the subsequent pages would be dynamically loaded. Basically, the user's input on the first page would determine the pages that were to follow it. I had a prototype working for the wizard, but the editor would only display the first page (the one listed as an extension). There were some other issues as well (for example, tricking out the wizard's next and finish buttons) that I hadn't resolved, so this approach was beginning to look less and less of a good idea.

I have ways of doing everything in a single UI page, so I'm not dependant on getting the above functionality to work. I just wanted to make sure I wasn't missing something obvious before pursuing a different path.
joe


---------------------


Joe,

The short answer is no. The wizard and editor page classes that you see in the oda package are base classes for an ODA extender. The BIRT DataSetEditor is part of BIRT that provides a host dialog for consuming the custom UI pages that an oda.design.ui extension would provide. The BIRT DataSetEditor also adapts an oda.design model to/from the BIRT ROM data model, and save as part of a report design. So it is rather BIRT host-specific.

What type of functionalities do you want different in your own version of data set editor?
Linda

-----Original Message-----
Date: Mon, 26 Feb 2007 15:33:32 -0500
From: Joseph Thie <jthie@xxxxxxxxxx>
Subject: [birt-report-designer-dev] default dataset editor
To: birt-report-designer-dev@xxxxxxxxxxx
Message-ID:
<OF1C49D8E0.526A05FF-ON8525728E.0070468B-8525728E.0070EEAF@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Is there a way in version 2.1.2 to specify your own dataset editor rather
than using the default?

In the org.eclipse.datatools.connectivity.oda.design.ui.wizards package, I
see the DataSetWizard and DataSetWizardPage classes.  I have my own
versions of both.  However, for the editor I only see DataSetEditorPage
(and not DataSetEditor).

------------------------------------------------------------------------

_______________________________________________
birt-report-designer-dev mailing list
birt-report-designer-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-report-designer-dev


Back to the top