Skip to main content



      Home
Home » Archived » BIRT » Please Help: Some reports work, others don't, don't understand why
Please Help: Some reports work, others don't, don't understand why [message #241785] Fri, 08 June 2007 19:34 Go to next message
Eclipse UserFriend
Originally posted by: renhoek.rocketmail.com

I'm using the following very recently installed or upgraded software:

Eclipse - from Help>About Eclipse SDK:
Version: 3.3.0
Build Id: I20070525-1350

Birt - from Eclipse Help>About Eclipse SDK>Feature Details:
BIRT Chart Context Sensitive Help
Version: 2.2.0.v20070209-11--w31181642 Build id: v20070601-0630
BIRT Chart Framework
Version: 2.2.0.v20070529-7979-2qqGxcXK01wtvXojxRBN2 Build id:
v20070601-0630
BIRT Chart Runtime
Version: 2.2.0.v20070529-7Z8o2NsjsvsuWniwQAM1 Build id: v20070601-0630
BIRT Context Sensitive Help
Version: 2.2.0.v20070209-11--w31181642 Build id: v20070601-0630
BIRT Example
Version: 2.2.0.v20070314-7C7C-5SQCCz-ClUg Build id: v20070601-0630
BIRT Report Designer
Version: 2.2.0.v20070529-7Y7Y-DrYg3Mng8z-VXDWmBd Build id: v20070601-0630
BIRT Report Runtime
Version: 2.2.0.v20070529-7U7U-Cmz0UWCVlAc Build id: v20070601-0630

Birt runtime - from http://localhost/birt/
Viewer Version : 2.1.2
Engine Version: 2.1.2
View Example link works fine.

I have 2 .rptdesign files that were previously written for Viewer:
2.1.1/Engine: 2.1.1 these continue to work fine with the newly installed
Viewer: 2.1.2/Engine: 2.1.2.

From the viewer both of these successfully connect to a local MySQL DB
instance, retrieve the data, render the report, convert to .pdf no
problems.

From the viewer customers.rptdesign downloaded from
http://www.eclipse.org/birt/phoenix/tutorial/basic/ also runs fine.

So my viewer appears to be working properly.

BUT, after very carefully following the tutuorial (at the link above), the
rptdesign file I end up with works fine from Eclipse using any of the
preview options, but does NOT work from the viewer.

All that's rendered in the browser is the error: The design file
file:/x:/x/x/x/x/./x/birt.war/report/Customers.rptdesign has error and can
not be run.

The ReportEngine_*.log file in BIRT_VIEWER_DEPLOY_BASE\logs contains
nothing after the above error message is rendered in the browser.

I've also created another very simple .rptdesign that again works fine
(connects to local MySQL instance, accepts parameters, generates different
output based on parameters, renders properly) from Eclipse using any of
the preview options, but does NOT work from the viewer.

Again, all that's rendered in the browser is the error: The design file
file:/x:/x/x/x/x/./x/birt.war/report/local_all.rptdesign has error and can
not be run.

Again, the ReportEngine_*.log file in BIRT_VIEWER_DEPLOY_BASE\logs
contains nothing after the above error message is rendered in the browser.

So I appeal to you for help. I have no error logs to go on and don't know
what the problem is.

I would be more than happy to email or copy/paste any of the .rptdesign
files mentioned above, or provide any further information if you have
questions.

I am comparing the 2 versions (one downloaded from the link I mentioned
above, one the result of following the tutorial) of customers.rptdesign in
an attempt to understand why the downloaded one works fine in the viewer
and the tutorial one does not.

Any and all help will be greatly appreciated, and I offer my thanks in
advance.
Enable viewer logging [message #241797 is a reply to message #241785] Sat, 09 June 2007 08:24 Go to previous messageGo to next message
Eclipse UserFriend
To enable logging set the viewer log level in
<eclipse-install>\plugins\org.eclipse.birt.report.viewer_<version >\birt\WEB-INF\web.xml
to something like WARNING or FINEST. The logging of the viewer is disabled
(OFF) as a default.

web.xml:
....
<!-- Report engine log level -->
<context-param>
<param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
<param-value>WARNING</param-value>
</context-param>
....
Then restart.

Der Spunk

"Birt Noob" <renhoek@rocketmail.com> schrieb im Newsbeitrag
news:c6bff6c2e8014f85574f67af45b3300f$1@www.eclipse.org...
> I'm using the following very recently installed or upgraded software:
>
> Eclipse - from Help>About Eclipse SDK:
> Version: 3.3.0
> Build Id: I20070525-1350
>
> Birt - from Eclipse Help>About Eclipse SDK>Feature Details:
> BIRT Chart Context Sensitive Help
> Version: 2.2.0.v20070209-11--w31181642 Build id: v20070601-0630
> BIRT Chart Framework
> Version: 2.2.0.v20070529-7979-2qqGxcXK01wtvXojxRBN2 Build id:
> v20070601-0630
> BIRT Chart Runtime
> Version: 2.2.0.v20070529-7Z8o2NsjsvsuWniwQAM1 Build id: v20070601-0630
> BIRT Context Sensitive Help
> Version: 2.2.0.v20070209-11--w31181642 Build id: v20070601-0630
> BIRT Example
> Version: 2.2.0.v20070314-7C7C-5SQCCz-ClUg Build id: v20070601-0630
> BIRT Report Designer
> Version: 2.2.0.v20070529-7Y7Y-DrYg3Mng8z-VXDWmBd Build id: v20070601-0630
> BIRT Report Runtime
> Version: 2.2.0.v20070529-7U7U-Cmz0UWCVlAc Build id: v20070601-0630
>
> Birt runtime - from http://localhost/birt/
> Viewer Version : 2.1.2
> Engine Version: 2.1.2
> View Example link works fine.
>
> I have 2 .rptdesign files that were previously written for Viewer:
> 2.1.1/Engine: 2.1.1 these continue to work fine with the newly installed
> Viewer: 2.1.2/Engine: 2.1.2.
>
> From the viewer both of these successfully connect to a local MySQL DB
> instance, retrieve the data, render the report, convert to .pdf no
> problems.
>
> From the viewer customers.rptdesign downloaded from
> http://www.eclipse.org/birt/phoenix/tutorial/basic/ also runs fine.
>
> So my viewer appears to be working properly.
>
> BUT, after very carefully following the tutuorial (at the link above), the
> rptdesign file I end up with works fine from Eclipse using any of the
> preview options, but does NOT work from the viewer.
> All that's rendered in the browser is the error: The design file
> file:/x:/x/x/x/x/./x/birt.war/report/Customers.rptdesign has error and can
> not be run.
> The ReportEngine_*.log file in BIRT_VIEWER_DEPLOY_BASE\logs contains
> nothing after the above error message is rendered in the browser.
>
> I've also created another very simple .rptdesign that again works fine
> (connects to local MySQL instance, accepts parameters, generates different
> output based on parameters, renders properly) from Eclipse using any of
> the preview options, but does NOT work from the viewer.
>
> Again, all that's rendered in the browser is the error: The design file
> file:/x:/x/x/x/x/./x/birt.war/report/local_all.rptdesign has error and can
> not be run.
> Again, the ReportEngine_*.log file in BIRT_VIEWER_DEPLOY_BASE\logs
> contains nothing after the above error message is rendered in the browser.
>
> So I appeal to you for help. I have no error logs to go on and don't know
> what the problem is.
>
> I would be more than happy to email or copy/paste any of the .rptdesign
> files mentioned above, or provide any further information if you have
> questions.
>
> I am comparing the 2 versions (one downloaded from the link I mentioned
> above, one the result of following the tutorial) of customers.rptdesign in
> an attempt to understand why the downloaded one works fine in the viewer
> and the tutorial one does not.
>
> Any and all help will be greatly appreciated, and I offer my thanks in
> advance.
>
>
Re: Enable viewer logging [message #242031 is a reply to message #241797] Mon, 11 June 2007 11:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: renhoek.rocketmail.com

Since I'm having problems with the deployed viewer, I've updated the value
to WARNING in the web.xml of the deployed viewer
x:\x\x\x\x\deploy\birt.war\WEB-INF\web.xml and restarted my app server.

So when I run the customers.rptdesign I downloaded from the tutorial link,
the report runs fine and the following is logged:
Jun 11, 2007 3:44:33 PM
org.eclipse.birt.report.model.metadata.StructPropertyType validateValue
WARNING: The value of the structure is null

When I run the Customers.rptdesign created with Birt in Eclipse following
the tutorial, the report fails and

The design file
file:/D:/rfim/liferay4.2.1/server/default/./deploy/birt.war/ report/Customers.rptdesign
has error and can not be run.

is rendered in the browser and

Jun 11, 2007 3:46:09 PM
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper openReportDesign
SEVERE: invalid design file
file:/D:/rfim/liferay4.2.1/server/default/./deploy/birt.war/ report/Customers.rptdesign

is logged in the viewer log.

Any ideas?

Could this be a version problem? Perhaps my Birt/Eclipse version has some
conflict with my Birt viewer version? All my versions are listed in my
previous post.
Re: Enable viewer logging [message #244083 is a reply to message #242031] Thu, 21 June 2007 15:04 Go to previous message
Eclipse UserFriend
Originally posted by: renhoek.rocketmail.com

Just an update, the problem WAS a version issue.

The viewer version must not exceed the Report Design Framework version.

Hope this helps any other noobs who may have used the Eclipse auto update
feature to update their Birt RDF.

Thanks for the help with the logging!
Previous Topic:Re-posting: problems with Birt viewer 2.1.2
Next Topic:Using JNDI Data Sources - First Query Fails, The Rest Succeed
Goto Forum:
  


Current Time: Wed Jun 18 16:07:40 EDT 2025

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

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

Back to the top