Skip to main content



      Home
Home » Archived » BIRT » Engine API Example
Engine API Example [message #115624] Wed, 25 January 2006 08:44 Go to next message
Eclipse UserFriend
Originally posted by: martyn.bedford.greenhatconsulting.com

I have been using a standalone java class based heavily on the integration
example for version 1, with the advent of version 2 it does not work and I
get the following console output.

25-Jan-2006 13:25:12
org.eclipse.birt.report.model.metadata.ExtensionLoader load
SEVERE: Message:The extension point
[org.eclipse.birt.report.model.reportItemModel] is not found. Error
code:EXTENSION_POINT_NOT_FOUND
25-Jan-2006 13:25:13
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper openReportDesign
SEVERE: invalid design file C:\Documents and
Settings\mbedford.GREENHAT\workspace\Scratch\Status.rptdesig n
Report Status.rptdesign not found!

the command line example works and I can use it to generate a html report
from this rptdesign file so I am assuming ;) that all is well with the the
report file.

There does not appear to be a version 2 specific integration example,
before I spend loads of time trying to fix this am I doing somthing stupid.

Thanks

Martyn
Re: Engine API Example [message #115779 is a reply to message #115624] Wed, 25 January 2006 06:44 Go to previous messageGo to next message
Eclipse UserFriend
Martyn,

Download the 2.0 Runtime and set your engine home to the
Report Engine directory. Add the iText jar file to the
Report Engine\plugins\org.eclispe.birt.report.engine.emitter.pdf \lib
directory

Hope this helps

Jason Weathersby
BIRT PMC

"Martyn Bedford" <martyn.bedford@greenhatconsulting.com> wrote in message
news:c4894ca467f1c2fad8177aefeeb1991e$1@www.eclipse.org...
>I have been using a standalone java class based heavily on the integration
>example for version 1, with the advent of version 2 it does not work and I
>get the following console output.
>
> 25-Jan-2006 13:25:12
> org.eclipse.birt.report.model.metadata.ExtensionLoader load
> SEVERE: Message:The extension point
> [org.eclipse.birt.report.model.reportItemModel] is not found. Error
> code:EXTENSION_POINT_NOT_FOUND 25-Jan-2006 13:25:13
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
> openReportDesign
> SEVERE: invalid design file C:\Documents and
> Settings\mbedford.GREENHAT\workspace\Scratch\Status.rptdesig n
> Report Status.rptdesign not found!
>
> the command line example works and I can use it to generate a html report
> from this rptdesign file so I am assuming ;) that all is well with the the
> report file.
>
> There does not appear to be a version 2 specific integration example,
> before I spend loads of time trying to fix this am I doing somthing
> stupid.
>
> Thanks
>
> Martyn
>
Re: Engine API Example [message #115879 is a reply to message #115779] Wed, 25 January 2006 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martyn.bedford.greenhatconsulting.com

Jason

Thanks for your post, however I have got the genReport script running
calling ReportRunner, though I cant work out how to get pdf output.

What I am realy looking for is advice on how I migrate my version 1.x code
to version 2.0

Thanks

Martyn
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:dr82rl$kr6$1@utils.eclipse.org...
> Martyn,
>
> Download the 2.0 Runtime and set your engine home to the
> Report Engine directory. Add the iText jar file to the
> Report Engine\plugins\org.eclispe.birt.report.engine.emitter.pdf \lib
> directory
>
> Hope this helps
>
> Jason Weathersby
> BIRT PMC
>
> "Martyn Bedford" <martyn.bedford@greenhatconsulting.com> wrote in message
> news:c4894ca467f1c2fad8177aefeeb1991e$1@www.eclipse.org...
>>I have been using a standalone java class based heavily on the integration
>>example for version 1, with the advent of version 2 it does not work and I
>>get the following console output.
>>
>> 25-Jan-2006 13:25:12
>> org.eclipse.birt.report.model.metadata.ExtensionLoader load
>> SEVERE: Message:The extension point
>> [org.eclipse.birt.report.model.reportItemModel] is not found. Error
>> code:EXTENSION_POINT_NOT_FOUND 25-Jan-2006 13:25:13
>> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
>> openReportDesign
>> SEVERE: invalid design file C:\Documents and
>> Settings\mbedford.GREENHAT\workspace\Scratch\Status.rptdesig n
>> Report Status.rptdesign not found!
>>
>> the command line example works and I can use it to generate a html report
>> from this rptdesign file so I am assuming ;) that all is well with the
>> the report file.
>>
>> There does not appear to be a version 2 specific integration example,
>> before I spend loads of time trying to fix this am I doing somthing
>> stupid.
>>
>> Thanks
>>
>> Martyn
>>
>
>
Re: Engine API Example [message #116009 is a reply to message #115879] Wed, 25 January 2006 07:52 Go to previous messageGo to next message
Eclipse UserFriend
Martyn,

The error you are having is because 2.0 has different jars.
If you want to see the difference in the calls can you checkout
ReportRunner.java from CVS?

We are in the process of updating the Website to reflect the changes.

Jason

"Martyn Bedford" <martyn.bedford@greenhatconsulting.com> wrote in message
news:dr84nq$q83$1@utils.eclipse.org...
> Jason
>
> Thanks for your post, however I have got the genReport script running
> calling ReportRunner, though I cant work out how to get pdf output.
>
> What I am realy looking for is advice on how I migrate my version 1.x code
> to version 2.0
>
> Thanks
>
> Martyn
> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
> news:dr82rl$kr6$1@utils.eclipse.org...
>> Martyn,
>>
>> Download the 2.0 Runtime and set your engine home to the
>> Report Engine directory. Add the iText jar file to the
>> Report Engine\plugins\org.eclispe.birt.report.engine.emitter.pdf \lib
>> directory
>>
>> Hope this helps
>>
>> Jason Weathersby
>> BIRT PMC
>>
>> "Martyn Bedford" <martyn.bedford@greenhatconsulting.com> wrote in message
>> news:c4894ca467f1c2fad8177aefeeb1991e$1@www.eclipse.org...
>>>I have been using a standalone java class based heavily on the
>>>integration example for version 1, with the advent of version 2 it does
>>>not work and I get the following console output.
>>>
>>> 25-Jan-2006 13:25:12
>>> org.eclipse.birt.report.model.metadata.ExtensionLoader load
>>> SEVERE: Message:The extension point
>>> [org.eclipse.birt.report.model.reportItemModel] is not found. Error
>>> code:EXTENSION_POINT_NOT_FOUND 25-Jan-2006 13:25:13
>>> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
>>> openReportDesign
>>> SEVERE: invalid design file C:\Documents and
>>> Settings\mbedford.GREENHAT\workspace\Scratch\Status.rptdesig n
>>> Report Status.rptdesign not found!
>>>
>>> the command line example works and I can use it to generate a html
>>> report from this rptdesign file so I am assuming ;) that all is well
>>> with the the report file.
>>>
>>> There does not appear to be a version 2 specific integration example,
>>> before I spend loads of time trying to fix this am I doing somthing
>>> stupid.
>>>
>>> Thanks
>>>
>>> Martyn
>>>
>>
>>
>
>
>
Re: Engine API Example [message #116026 is a reply to message #115879] Wed, 25 January 2006 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martyn.bedford.greenhatconsulting.com

I have dug a bit deeper and the got the exception stackTrace;

Exception :

org.eclipse.birt.report.engine.api.EngineException: The design file
Status.rptdesign has error and can not be run.

at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:110)

at
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:219)

at birt.Reporter.run(Reporter.java:130)

at birt.Reporter.main(Reporter.java:83)

Caused by: Error.DesignFileException.INVALID_XML - 1 errors found!

1.) ( line = 8) org.xml.sax.SAXParseException (message : The extension with
ID 'org.eclipse.birt.report.data.oda.jdbc' is not found!)

at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (ModuleReader.java:111)

at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (ModuleReader.java:171)

at
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:135)

at
org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:177)

at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:133)

at
org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(ReportParser.java:93)

at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:103)

.... 3 more

My question is how do the extensions get managed, is it a matter of putting
the jar on the class path or do they need to be declared somewhere

"Martyn Bedford" <martyn.bedford@greenhatconsulting.com> wrote in message
news:dr84nq$q83$1@utils.eclipse.org...
> Jason
>
> Thanks for your post, however I have got the genReport script running
> calling ReportRunner, though I cant work out how to get pdf output.
>
> What I am realy looking for is advice on how I migrate my version 1.x code
> to version 2.0
>
> Thanks
>
> Martyn
> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
> news:dr82rl$kr6$1@utils.eclipse.org...
>> Martyn,
>>
>> Download the 2.0 Runtime and set your engine home to the
>> Report Engine directory. Add the iText jar file to the
>> Report Engine\plugins\org.eclispe.birt.report.engine.emitter.pdf \lib
>> directory
>>
>> Hope this helps
>>
>> Jason Weathersby
>> BIRT PMC
>>
>> "Martyn Bedford" <martyn.bedford@greenhatconsulting.com> wrote in message
>> news:c4894ca467f1c2fad8177aefeeb1991e$1@www.eclipse.org...
>>>I have been using a standalone java class based heavily on the
>>>integration example for version 1, with the advent of version 2 it does
>>>not work and I get the following console output.
>>>
>>> 25-Jan-2006 13:25:12
>>> org.eclipse.birt.report.model.metadata.ExtensionLoader load
>>> SEVERE: Message:The extension point
>>> [org.eclipse.birt.report.model.reportItemModel] is not found. Error
>>> code:EXTENSION_POINT_NOT_FOUND 25-Jan-2006 13:25:13
>>> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
>>> openReportDesign
>>> SEVERE: invalid design file C:\Documents and
>>> Settings\mbedford.GREENHAT\workspace\Scratch\Status.rptdesig n
>>> Report Status.rptdesign not found!
>>>
>>> the command line example works and I can use it to generate a html
>>> report from this rptdesign file so I am assuming ;) that all is well
>>> with the the report file.
>>>
>>> There does not appear to be a version 2 specific integration example,
>>> before I spend loads of time trying to fix this am I doing somthing
>>> stupid.
>>>
>>> Thanks
>>>
>>> Martyn
>>>
>>
>>
>
>
>
Re: Engine API Example [message #123517 is a reply to message #116026] Fri, 03 February 2006 00:29 Go to previous message
Eclipse UserFriend
could u try to open the .rptdesign file and change/make sure the
version="X" is version="3" ?

Let me know if this solved ur issue.
Previous Topic:Page N of M
Next Topic:Source value can not be null
Goto Forum:
  


Current Time: Sun May 11 00:09:01 EDT 2025

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

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

Back to the top