Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » extension point [org.eclipse.birt.report.model.reportItemModel] is not found The output format h
extension point [org.eclipse.birt.report.model.reportItemModel] is not found The output format h [message #157089] Fri, 28 April 2006 12:48 Go to next message
Girish Aher is currently offline Girish AherFriend
Messages: 24
Registered: July 2009
Junior Member
Hello People ,
I have the following code in a jsp file which should just render a very
simple rptdesign page.
However, when I try to view my jsp in a browser, I get the following
exception at the 'runAndRenderReport.run();' statement.

SEVERE: Message:The extension point
[org.eclipse.birt.report.model.reportItemModel] is not found. Error
code:EXTENSION_POINT_NOT_FOUND
org.eclipse.birt.report.engine.api.EngineException: The
output format html is not supported.

I have seen numerous similar queries posted on the group but none of them
contained a reply. I hope this issue has a solution.

Kindly help me out with this matter. Thanks in advance.


myReport.jsp

String reportToRender = "C:/Program Files/Apache Group/Tomcat
4.1/webapps/birt-viewer/report/renderReport.rptdesign";
EngineConfig config1 = new EngineConfig();
config1.setEngineHome("C:/Program Files/Apache
Group/Tomcat4.1/webapps/birt-viewer/");
ReportEngine engine = new ReportEngine(config1);
IReportRunnable report = null;
try{
report = engine.openReportDesign(reportToRender);
}
catch (EngineException e) {
System.err.println("Report " + reportToRender + " not found!\n");
engine.destroy();

}
IRunAndRenderTask runAndRenderReport = null;
runAndRenderReport = engine.createRunAndRenderTask(report);

HTMLRenderOption html_ro = new HTMLRenderOption();
html_ro.setOutputStream(response.getOutputStream());
html_ro.setOutputFormat("html");
runAndRenderReport.setRenderOption(html_ro);
try{
runAndRenderReport.run();
}
catch(EngineException e){
e.printStackTrace();

}
runAndRenderReport.close();
engine.destroy();
Re: extension point [org.eclipse.birt.report.model.reportItemModel] is not found The output form [message #157449 is a reply to message #157089] Mon, 01 May 2006 15:56 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Take a look at the attached example. You will need to create a new web app,
like WebReport, and put all the jars from the Report Engine directory
(Report Engine Download) in the lib folder under WEB-INF. Copy the plugins
(Below Report Engine Directory) directory to the new webapps/webreport
directory.

So you would have
webapps/webreport/plugins (plugins from the RE directory)
and
webapps/webreport/WEB-INF/lib (all the RE jars)

Source for the servlet is in the jar file.

Jason
"Girish" <girisha@cybage.com> wrote in message
news:e2t31s$g5t$1@utils.eclipse.org...
> Hello People ,
> I have the following code in a jsp file which should just render a very
> simple rptdesign page.
> However, when I try to view my jsp in a browser, I get the following
> exception at the 'runAndRenderReport.run();' statement.
>
> SEVERE: Message:The extension point
> [org.eclipse.birt.report.model.reportItemModel] is not found. Error
> code:EXTENSION_POINT_NOT_FOUND
> org.eclipse.birt.report.engine.api.EngineException: The
> output format html is not supported.
>
> I have seen numerous similar queries posted on the group but none of them
> contained a reply. I hope this issue has a solution.
>
> Kindly help me out with this matter. Thanks in advance.
>
>
> myReport.jsp
>
> String reportToRender = "C:/Program Files/Apache Group/Tomcat
> 4.1/webapps/birt-viewer/report/renderReport.rptdesign";
> EngineConfig config1 = new EngineConfig();
> config1.setEngineHome("C:/Program Files/Apache
> Group/Tomcat4.1/webapps/birt-viewer/");
> ReportEngine engine = new ReportEngine(config1);
> IReportRunnable report = null;
> try{
> report = engine.openReportDesign(reportToRender);
> }
> catch (EngineException e) {
> System.err.println("Report " + reportToRender + " not found!\n");
> engine.destroy();
>
> }
> IRunAndRenderTask runAndRenderReport = null;
> runAndRenderReport = engine.createRunAndRenderTask(report);
>
> HTMLRenderOption html_ro = new HTMLRenderOption();
> html_ro.setOutputStream(response.getOutputStream());
> html_ro.setOutputFormat("html");
> runAndRenderReport.setRenderOption(html_ro);
> try{
> runAndRenderReport.run();
> }
> catch(EngineException e){
> e.printStackTrace();
>
> }
> runAndRenderReport.close();
> engine.destroy();
>
>
>


Previous Topic:Parameter Dialog for PDF Report
Next Topic:Error code:EXTENSION_POINT_NOT_FOUND
Goto Forum:
  


Current Time: Fri Nov 08 22:28:23 GMT 2024

Powered by FUDForum. Page generated in 0.02695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top