|
|
|
|
|
|
|
Re: Error when trying to open report with charts [message #691529 is a reply to message #691437] |
Fri, 01 July 2011 16:39 |
|
Just needs to be in the webapp classpath. So you can put it in
WEB-INF/lib or in the app servers common lib.
Jason
On 7/1/2011 9:04 AM, nlajka wrote:
> Hello Jason,
>
> This folder: \tomcat\webapps\Birt\WEB-INF\platform\plugins\org.eclipse.
> birt.report.data.oda.jdbc_2.6.1.v20100909\drivers
>
> doesn't exist in 3.7 runtime webviever. Where to put drivers and common
> logging in this case?
>
> Thanks!
|
|
|
|
|
Re: Error when trying to open report with charts [message #692936 is a reply to message #692432] |
Tue, 05 July 2011 13:20 |
|
Does the attached TopNPercent report work in your 3.7 deloyed viewer?
When you deploy the 3.7 viewer to tomcat all you should have to do is
copy the WebViewerExample directory from the runtime download to the
apache-tomcat-version\webapps directory. Nothing needs to be removed.
Add your db drivers to the WebViewerExample/web-inf/lib directory.
Jason
On 7/4/2011 8:31 AM, nlajka wrote:
> what I am trying to do is to have a table listing data from one data
> set(pulling data from data source 'a'), a chart displaying data from
> another data set (pulling data from data source 'b'), in a way to
> improvise a dashboard. When I try it in a designer it works fine, but
> when I export it to a viewer on a Tomcat server it fails with error
> showed above.
|
|
|
|
|
Re: Error when trying to open report with charts [message #693662 is a reply to message #693393] |
Thu, 07 July 2011 00:22 |
|
Do you have any other jars in the web-inf/lib other than the ones in the
webviewer?
Jason
On 7/6/2011 7:35 AM, nlajka wrote:
> Jason,
>
> I tried TopNPercent report in designer and it works fine in preview and
> when I click on "View Report in Web Viewer" button.
> However, after exporting it to Tomcat it fails in web browser. What I
> have found odd is that if I try test.rptdesign that came with Viewer it
> works fine, but if I try test1.rptdesign it fails (I would choose "1"
> for parameter2 value).
|
|
|
|
|
|
Re: Error when trying to open report with charts [message #695497 is a reply to message #695340] |
Mon, 11 July 2011 21:53 |
nlajka - Messages: 61 Registered: April 2011 |
Member |
|
|
It looks like there is the same problem. Charts not rendering on UNIX system.
Is it possible that GUI (API that it contains) is all we need? We will try it...
http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=/com.ibm.tivoli.tcr.doc_21/tstcr_charts_not_render.html
Charts in reports do not appear
Symptoms
When rendering a report, charts do not appear and an error appears in the log files. The log file is in the directory TCR_install_dir/profiles/TIPProfile/logs in the form YYYY MM DD hh mm ss.log, where YYYY is the year, MM is the month, DD is the day, hh is the hour, mm is the minute, and ss is the second. The file reports the following error: May 19, 2010 2:09:43 PM org.eclipse.birt.chart.exception.ChartException logThis WARNING: Exception org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:987)at org.eclipse.birt.chart.util.PluginSettings.getDisplayServer(PluginSettings.java:545)at org.eclipse.birt.chart.device.swing.SwingRendererImpl.init(SwingRendererImpl.java:130)at org.eclipse.birt.chart.device.swing.SwingRendererImpl.<init>(SwingRendererImpl.java:122)at org.eclipse.birt.chart.device.image.JavaxImageIOWriter.<init>(javaxImageIOWriter.java:123)at org.eclipse.birt.chart.device.image.PngRendererImpl.<init>(PngRendererImpl.java:18).
The error appears on UNIX operating system.
Causes
BIRT requires a graphical user interface API to render charts. This error appears only on UNIX-like systems, where a graphical user interface is an optional component. It does not appear on Windows, where the Win32 API always contains the graphical user interface API.
Resolving the problem
Install the X system. Below is a list of packages that help for SUSE Linux (for other distributions, similar packages are available:
Linux SLES (9.156.46.78) [10:44] root /usr/lib # rpm -qa | grep xorg
xorg-x11-server-6.9.0-50.58
xorg-x11-fonts-75dpi-6.9.0-50.58
xorg-x11-6.9.0-50.58
xorg-x11-fonts-100dpi-6.9.0-50.58
xorg-x11-Xvnc-6.9.0-50.58
xorg-x11-driver-video-radeon-6.6.3-0.19
xorg-x11-server-glx-6.9.0-50.58
xorg-x11-libs-6.9.0-50.58
xorg-x11-driver-video-nvidia-6.9.0-46.51
xorg-x11-fonts-scalable-6.9.0-50.58
xorg-x11-libs-32bit-6.9.0-50.58
xorg-x11-Xnest-6.9.0-50.58
xorg-x11-driver-video-6.9.0-46.51
[Updated on: Mon, 11 July 2011 22:07] Report message to a moderator
|
|
|
|
|
|
|
Re: Error when trying to open report with charts [message #697033 is a reply to message #696292] |
Fri, 15 July 2011 11:11 |
nlajka - Messages: 61 Registered: April 2011 |
Member |
|
|
You are welcome.
After seeing how much effort you put into helping us, this at least what I can do in order to payback to the community.
I know how many times I've seen people asking for help, find a solution and leave it only for themselves. There are so many of just starting, and I hate when I see (especially in open source community) that seniors or those that know just assume that we know what they know....
Oh well, I am venting out a bit since it was so frustrating for me, but I know that this is one of the ways to learn )))))
Once again, thank you Jason for all your help!
P.S. I already asked, and nobody answered, is there a place where we can find some gauges that we can incorporate into reports? Free, of course
|
|
|
Re: Error when trying to open report with charts [message #698007 is a reply to message #697033] |
Mon, 18 July 2011 15:07 |
|
Sorry for the delay in response. I was out on vacation. I do not know
of any examples of free gauges, but if you could find some flash gauges
you should be able to incorporate them using a text element which allows
embedded html.
Jason
On 7/15/2011 7:11 AM, nlajka wrote:
> You are welcome.
>
> After seeing how much effort you put into helping us, this at least what
> I can do in order to payback to the community.
> I know how many times I've seen people asking for help, find a solution
> and leave it only for themselves. There are so many of just starting,
> and I hate when I see (especially in open source community) that seniors
> or those that know just assume that we know what they know....
>
> Oh well, I am venting out a bit since it was so frustrating for me, but
> I know that this is one of the ways to learn :d)))))
>
> Once again, thank you Jason for all your help!
>
> P.S. I already asked, and nobody answered, is there a place where we can
> find some gauges that we can incorporate into reports? Free, of course :)
|
|
|
|
Powered by
FUDForum. Page generated in 0.69744 seconds