Please Help: Some reports work, others don't, don't understand why [message #241785] |
Fri, 08 June 2007 19:34  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #244083 is a reply to message #242031] |
Thu, 21 June 2007 15:04  |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.08414 seconds