Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Starting RunReport
Starting RunReport [message #52951] Thu, 30 June 2005 15:28 Go to next message
Eclipse UserFriend
Originally posted by: birgit.dippelreiter.promac.at

Hi!

I am trying to start the Report from the Commandline. But I only get
Errors.
On the Commandline I get:
promac05:/srv/www/cgi-bin/OEID/BIRT # java -classpath
:jar/common.jar:jar/commons-codec-1.3.jar:jar/model.jar:jar/ js.jar:jar/dte.jar:jar/oda.jar:jar/Tidy.jar:jar/chart-engine .jar:jar/common.resources.jar:jar/commons-cli-1.0.jar:jar/ec ore.jar:jar/ecore.resources.jar:jar/ecore.xmi.jar:jar/viewse rvlets.jar:jar/engine.jar:jar/core.jar
RunReport test.rptdesign -p sample=Hello
30.06.2005 12:13:19 org.eclipse.birt.core.util.BirtTimer logTimeTaken
INFO: Engine startup takes 1179 Milliseconds.
30.06.2005 12:13:24 org.eclipse.birt.data.engine.impl.DataEngineImpl <init>
INFO: Data Engine starts up
30.06.2005 12:13:25 org.eclipse.birt.data.engine.impl.DataEngineImpl <init>
INFO: Data Engine starts up
30.06.2005 12:13:25
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
SCHWERWIEGEND: Error.OutputFormatNotSupported
Report test.rptdesign run failed.

org.eclipse.birt.report.engine.api.EngineException: Das Ausgabeformat pdf
wird nicht unterst?tzt.

For html itŽs the same.

The meta.log says:
Message [Extension loading error]
Exception
[org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
extension point [org.eclipse.birt.report.model.reportItemModel] is not
found. Error code:EXTENSION_POINT_NOT_FOUND
at
org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:102)
at
org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:62)
at
org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:39)
at
org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:110)
at
org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:156)
at
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
at
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
at RunReport.run(RunReport.java:148)
at RunReport.main(RunReport.java:99)

Can anyone help me?
Thanks,
Birgit
Re: Starting RunReport [message #53081 is a reply to message #52951] Fri, 01 July 2005 17:31 Go to previous messageGo to next message
Stanley Wang is currently offline Stanley WangFriend
Messages: 81
Registered: July 2009
Member
Your application may not have call the setEngineHome() method to set
engine home directory, or there may be a version mismatch. Are you using
version 1.0 or you have been using BIRT much earlier so you may have old
directories sitting on your machine?

Stanley Wang
BIRT Engine


Birgit wrote:
> Hi!
>
> I am trying to start the Report from the Commandline. But I only get
> Errors.
> On the Commandline I get: promac05:/srv/www/cgi-bin/OEID/BIRT # java
> -classpath
> :jar/common.jar:jar/commons-codec-1.3.jar:jar/model.jar:jar/ js.jar:jar/dte.jar:jar/oda.jar:jar/Tidy.jar:jar/chart-engine .jar:jar/common.resources.jar:jar/commons-cli-1.0.jar:jar/ec ore.jar:jar/ecore.resources.jar:jar/ecore.xmi.jar:jar/viewse rvlets.jar:jar/engine.jar:jar/core.jar
> RunReport test.rptdesign -p sample=Hello
> 30.06.2005 12:13:19 org.eclipse.birt.core.util.BirtTimer logTimeTaken
> INFO: Engine startup takes 1179 Milliseconds.
> 30.06.2005 12:13:24 org.eclipse.birt.data.engine.impl.DataEngineImpl <init>
> INFO: Data Engine starts up
> 30.06.2005 12:13:25 org.eclipse.birt.data.engine.impl.DataEngineImpl <init>
> INFO: Data Engine starts up
> 30.06.2005 12:13:25
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
> SCHWERWIEGEND: Error.OutputFormatNotSupported
> Report test.rptdesign run failed.
>
> org.eclipse.birt.report.engine.api.EngineException: Das Ausgabeformat
> pdf wird nicht unterst?tzt.
>
> For html itŽs the same.
>
> The meta.log says:
> Message [Extension loading error]
> Exception
> [org.eclipse.birt.report.model.metadata.ExtensionException: Message:The
> extension point [org.eclipse.birt.report.model.reportItemModel] is not
> found. Error code:EXTENSION_POINT_NOT_FOUND
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoa d(ExtensionLoader.java:102)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionLoader.load( ExtensionLoader.java:62)
>
> at
> org.eclipse.birt.report.model.metadata.ExtensionManager.init ialize(ExtensionManager.java:39)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.initialize(De signEngine.java:110)
>
> at
> org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:156)
>
> at
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
>
> at
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
>
> at RunReport.run(RunReport.java:148)
> at RunReport.main(RunReport.java:99)
>
> Can anyone help me?
> Thanks,
> Birgit
>
>
Re: Starting RunReport [message #55316 is a reply to message #53081] Fri, 08 July 2005 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benn.tilby.tangozebra.com

Hello.

I am also getting the same problem, although I am running the sample
application from within Eclipse 3.1. The application specifies an Engine
Home path which I have changed to an absolute path, so this should not be
the problem. I also was not using the older version of birt, so no problem
with old files. Could the problem be with using Eclipse 3.1 rather than
3.0 as I have read on another post?? Would be grateful if you could help.
Benn Tilby.
Re: Starting RunReport [message #55505 is a reply to message #53081] Sat, 09 July 2005 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: birgit.dippelreiter.promac.at

Thanks.

The problem was the setEngineHome Path.

Now itŽs working!

Birgit
Re: Starting RunReport [message #59370 is a reply to message #52951] Mon, 18 July 2005 07:44 Go to previous messageGo to next message
Said is currently offline SaidFriend
Messages: 30
Registered: July 2009
Member
I am trying to start the Report, but I get the following error:

java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
at
org.eclipse.birt.report.model.metadata.SimpleEncryptionHelpe r. <clinit>(SimpleEncryptionHelper.java:29)
at
org.eclipse.birt.report.model.metadata.MetaDataDictionary.<init >(MetaDataDictionary.java:202)
at
org.eclipse.birt.report.model.metadata.MetaDataDictionary.<clinit >(MetaDataDictionary.java:107)
at
org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:142)
at
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
at
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
at org.eclipse.org.demo.de.RunReport.run(RunReport.java:154)
at org.eclipse.org.demo.de.RunReport.main(RunReport.java:104)



Does any one know what going here wrong?

Thanks,
Re: Starting RunReport [message #59572 is a reply to message #59370] Mon, 18 July 2005 16:02 Go to previous messageGo to next message
Joe Rybacki is currently offline Joe RybackiFriend
Messages: 36
Registered: July 2009
Member
You need the commons-codec.jar on your classpath

"S.Taaouati" <said.taaouati@remain.nl> wrote in message
news:779cb85a4fc23c92d293f47bfefe9601$1@www.eclipse.org...
>I am trying to start the Report, but I get the following error:
>
> java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
> at
> org.eclipse.birt.report.model.metadata.SimpleEncryptionHelpe r. <clinit>(SimpleEncryptionHelper.java:29)
> at
> org.eclipse.birt.report.model.metadata.MetaDataDictionary.<init >(MetaDataDictionary.java:202)
> at
> org.eclipse.birt.report.model.metadata.MetaDataDictionary.<clinit >(MetaDataDictionary.java:107)
> at
> org.eclipse.birt.report.model.api.DesignEngine.newSession(De signEngine.java:142)
> at
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:79)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
> at
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
> at org.eclipse.org.demo.de.RunReport.run(RunReport.java:154)
> at org.eclipse.org.demo.de.RunReport.main(RunReport.java:104)
>
>
>
> Does any one know what going here wrong?
>
> Thanks,
>
>
Re: Starting RunReport [message #59847 is a reply to message #59572] Tue, 19 July 2005 15:01 Go to previous message
Said is currently offline SaidFriend
Messages: 30
Registered: July 2009
Member
Wiht setting the lib jar files in the classpath, RunReport works fine with
pdf format. When I try to use the html format, I get as output only tabel,
the image of the graph is only enmty rectangle.

Is there any idea why the ouput of the graph is not visible?
Previous Topic:Frequently Asked Questions (Deployment/Viewer/Engine)
Next Topic:CVS Version
Goto Forum:
  


Current Time: Wed Jan 15 14:00:23 GMT 2025

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

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

Back to the top