Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Problems integrating BIRT report engine
Problems integrating BIRT report engine [message #56536] Tue, 12 July 2005 14:30 Go to next message
Eclipse UserFriend
Originally posted by: benn.tilby.tangozebra.com

Hi, I am having problems integrating the report engine when running the
sample application RunReport from the 'integrating BIRT' guide. The log in
Eclipse 3.0 shows:
12-Jul-2005 14:52:51
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run

SEVERE: Error.OutputFormatNotSupported
Report test.rptdesign run failed.

org.eclipse.birt.report.engine.api.EngineException: The output format html
is not supported.

The correct string constant from HTMLRenderOption is definitely being sent
to the config.setEmitterConfiguration method so it seems there is no
corresponding entry in the eclipse ExtensionRegistry. I am sure I have all
the right lib jars and plugin jars in my classpath (30 in total) including
the one which is supposed to provide the functionality to generate html:

C:\Java\Eclipse\BIRT\WEB-INF\plugins\org.eclipse.birt.report .engine.emitter.html

Still I get the error above. Our migration to BIRT really depends on how far
I can get integrating the reporting engine into our web applications, so
solving this would be very helpful.

Thanks,
Benn Tilby, Software Developer (Tangozebra)
Re: Problems integrating BIRT report engine [message #56563 is a reply to message #56536] Tue, 12 July 2005 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joel.adm-concept.com

Hi

Verify you call correctly the "setEngineHome" method. I had the same
problem and it resolves it.

The "setEngineHome" must point at one of theses directory :
- " eclipse/plugins/org.eclipse.birt.report.viewer_1.0.0/birt/WE B-INF " if
you use the BIRT SDK
- "birt-runtime-1_0/Report Engine" if you use the BIRT Runtime

Good luck

Benn Tilby a écrit :
> Hi, I am having problems integrating the report engine when running the
> sample application RunReport from the 'integrating BIRT' guide. The log in
> Eclipse 3.0 shows:
> 12-Jul-2005 14:52:51
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
>
> SEVERE: Error.OutputFormatNotSupported
> Report test.rptdesign run failed.
>
> org.eclipse.birt.report.engine.api.EngineException: The output format html
> is not supported.
>
> The correct string constant from HTMLRenderOption is definitely being sent
> to the config.setEmitterConfiguration method so it seems there is no
> corresponding entry in the eclipse ExtensionRegistry. I am sure I have all
> the right lib jars and plugin jars in my classpath (30 in total) including
> the one which is supposed to provide the functionality to generate html:
>
> C:\Java\Eclipse\BIRT\WEB-INF\plugins\org.eclipse.birt.report .engine.emitter.html
>
> Still I get the error above. Our migration to BIRT really depends on how far
> I can get integrating the reporting engine into our web applications, so
> solving this would be very helpful.
>
> Thanks,
> Benn Tilby, Software Developer (Tangozebra)
>
>
Re: Problems integrating BIRT report engine [message #56672 is a reply to message #56563] Tue, 12 July 2005 15:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benn.tilby.tangozebra.com

Merci beaucoup. That was the answer.

I think that the Integrating BIRT guide is not clear enough on this point.
You need to copy all the files for the engine (plugin and lib jars) to the
lib folder when building a web application. You would naturally assume that
the engine.jar in here could then be referenced for the setEngineHome()
method. The bit which says that the engine in
eclipse/plugins/org.eclipse.birt.report.viewer_0.0.1/birt/WE B-INF must be
referenced is in a note for the 3M build, and no mention is made of
referencing the externally installed runtime engine.

Please could the BIRT developers be more thorough with the guides esp when
mentioning essential little files and where you place them.

Keep up the good work. Thank you!


"Bazinou" <joel@adm-concept.com> wrote in message
news:db0kt9$fdv$1@news.eclipse.org...
> Hi
>
> Verify you call correctly the "setEngineHome" method. I had the same
> problem and it resolves it.
>
> The "setEngineHome" must point at one of theses directory :
> - " eclipse/plugins/org.eclipse.birt.report.viewer_1.0.0/birt/WE B-INF " if
> you use the BIRT SDK
> - "birt-runtime-1_0/Report Engine" if you use the BIRT Runtime
>
> Good luck
>
> Benn Tilby a
Re: Problems integrating BIRT report engine [message #56837 is a reply to message #56536] Tue, 12 July 2005 18:02 Go to previous messageGo to next message
Stanley Wang is currently offline Stanley WangFriend
Messages: 81
Registered: July 2009
Member
Benn,

The problem is that you did not set engine home directory correctly.
Make sure you called
org.eclipse.birt.report.eninge.EngineConfig.setEngineHome().

Stanley Wang
BIRT Engine

Benn Tilby wrote:
> Hi, I am having problems integrating the report engine when running the
> sample application RunReport from the 'integrating BIRT' guide. The log in
> Eclipse 3.0 shows:
> 12-Jul-2005 14:52:51
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
>
> SEVERE: Error.OutputFormatNotSupported
> Report test.rptdesign run failed.
>
> org.eclipse.birt.report.engine.api.EngineException: The output format html
> is not supported.
>
> The correct string constant from HTMLRenderOption is definitely being sent
> to the config.setEmitterConfiguration method so it seems there is no
> corresponding entry in the eclipse ExtensionRegistry. I am sure I have all
> the right lib jars and plugin jars in my classpath (30 in total) including
> the one which is supposed to provide the functionality to generate html:
>
> C:\Java\Eclipse\BIRT\WEB-INF\plugins\org.eclipse.birt.report .engine.emitter.html
>
> Still I get the error above. Our migration to BIRT really depends on how far
> I can get integrating the reporting engine into our web applications, so
> solving this would be very helpful.
>
> Thanks,
> Benn Tilby, Software Developer (Tangozebra)
>
>
Re: Problems integrating BIRT report engine [message #57455 is a reply to message #56672] Wed, 13 July 2005 09:35 Go to previous message
Wins is currently offline WinsFriend
Messages: 70
Registered: July 2009
Member
Benn,

You can also reference your setEngineHome to
" eclipse/plugins/org.eclipse.birt.report.viewer_1.0.0/birt/WE B-INF "
BUT not to
" eclipse/plugins/org.eclipse.birt.report.viewer_0.0.1/birt/WE B-INF "

Wins

Benn Tilby wrote:

> Merci beaucoup. That was the answer.

> I think that the Integrating BIRT guide is not clear enough on this point.
> You need to copy all the files for the engine (plugin and lib jars) to the
> lib folder when building a web application. You would naturally assume that
> the engine.jar in here could then be referenced for the setEngineHome()
> method. The bit which says that the engine in
> eclipse/plugins/org.eclipse.birt.report.viewer_0.0.1/birt/WE B-INF must be
> referenced is in a note for the 3M build, and no mention is made of
> referencing the externally installed runtime engine.

> Please could the BIRT developers be more thorough with the guides esp when
> mentioning essential little files and where you place them.

> Keep up the good work. Thank you!
Previous Topic:Problem with BIRT script
Next Topic:Web Designer (WRD) plans?
Goto Forum:
  


Current Time: Fri Dec 27 02:10:56 GMT 2024

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

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

Back to the top