charts in BIRT reports [message #824313] |
Mon, 19 March 2012 10:23  |
Eclipse User |
|
|
|
Hi,
I'm new with birt (using v2.6.2). I'm trying to deploy a simple project to a WASCE 3.0.
My data is getting loaded correctly but my charts are giving errors.
What is missing in my project? Can somebody push me in the right direction to find the problem?
WARNING: Exception
Throwable occurred: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri siteOfEclipse/Char tModel' not found. (file:///C:/IBM/SDP/test.chart, 1, 314)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at org.eclipse.birt.chart.model.impl.SerializerImpl.fromXml(SerializerImpl.java:465)
at org.eclipse.birt.chart.reportitem.ChartReportItemImpl.deserialize(ChartReportItemImpl.java:293)
at org.eclipse.birt.report.model.extension.PeerExtensibilityProvider.initializeReportItem(PeerExtensibilityProvider.java:580)
at org.eclipse.birt.report.model.elements.ExtendedItem.initializeReportItem(ExtendedItem.java:307)
at org.eclipse.birt.report.model.elements.ExtendedItem.doCheck(ExtendedItem.java:642)
at org.eclipse.birt.report.model.elements.ExtendedItem.checkCompatibility(ExtendedItem.java:604)
at org.eclipse.birt.report.model.parser.ModuleParserHandler.handleExtendedItemCompatibility(ModuleParserHandler.java:455)
at org.eclipse.birt.report.model.parser.ModuleParserHandler.endDocument(ModuleParserHandler.java:417)
at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.birt.report.model.parser.ModuleReader.readModule(ModuleReader.java:97)
at org.eclipse.birt.report.model.parser.DesignReader.read(DesignReader.java:88)
at org.eclipse.birt.report.model.core.DesignSessionImpl.openDesign(DesignSessionImpl.java:315)
at org.eclipse.birt.report.model.api.SessionHandleImpl.openDesign(SessionHandleImpl.java:294)
at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:158)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.getReportDesignHandle(ReportEngineHelper.java:255)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:274)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:601)
at org.eclipse.birt.report.service.ReportEngineService.openReportDesign(ReportEngineService.java:387)
at org.eclipse.birt.report.utility.BirtUtility.getRunnableFromDesignFile(BirtUtility.java:607)
at org.eclipse.birt.report.context.ViewerAttributeBean.getDesignHandle(ViewerAttributeBean.java:641)
at org.eclipse.birt.report.context.ViewerAttributeBean.__init(ViewerAttributeBean.java:224)
at org.eclipse.birt.report.context.BaseAttributeBean.init(BaseAttributeBean.java:233)
at org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
at org.eclipse.birt.report.context.BirtContext.__init(BirtContext.java:44)
at org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:150)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:819)
at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'siteOfEclipse/ChartModel' not found. (file:///C:/IBM/SDP/test.chart, 1, 314)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2591)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2422)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1299)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1468)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1019)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
... 68 more
Thanks,
Chris
|
|
|
|
|
|
|
|
|
|
|
Re: charts in BIRT reports [message #825307 is a reply to message #824941] |
Tue, 20 March 2012 13:55   |
Eclipse User |
|
|
|
ok, will try this...
Can you give me some answer to the questions below?
is my config.ini correct? What is the best way to continue to find my problem ?
Greets,
CHris
Chris Houben wrote on Tue, 20 March 2012 05:09Yes, I have a config.ini file.
#Product Runtime Configuration File
eclipse.product=org.eclipse.birt.report.engine.ReportEngineSDK
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.birt.core@start
osgi.framework.extensions=org.eclipse.birt.api
osgi.bundles.defaultStartLevel=4
eclipse.parsers.setTCCL=false
I have imported the birt.war in my eclipse and the geronimo-web.xml and web.xml was automatically set correct when choosing target runtime for WASCE 3.0.
wiki.eclipse.org/Birt_WAS_CE
I'm starting to think the problem is in my settings of WASCE ?
Which test can I do to find the problem ?
When using v2.6.2, do I need to have a look at the OSGi plugins?
Only the charts aren't working, how can I check if my jars are correct for using charts?
Thanks,
Chris
|
|
|
Re: charts in BIRT reports [message #825365 is a reply to message #825307] |
Tue, 20 March 2012 15:13   |
Eclipse User |
|
|
|
Chris,
If normal tables, reports etc are working and it is just charts that are
failing, I believe this is the perm space issue.
If you have downloaded the runtime for 2.6.2 the correct plugins and
jars from the reportengine/lib directory should be the ones you are
using. One thing you could look at is turning up the log level and
posting the log file.
Jason
On 3/20/2012 1:55 PM, Chris Houben wrote:
> ok, will try this...
>
> Can you give me some answer to the questions below?
> is my config.ini correct? What is the best way to continue to find my
> problem ?
>
> Greets,
>
> CHris
>
>
> Chris Houben wrote on Tue, 20 March 2012 05:09
>> Yes, I have a config.ini file.
>> #Product Runtime Configuration File
>> eclipse.product=org.eclipse.birt.report.engine.ReportEngineSDK
>> osgi.bundles=org.eclipse.equinox.common@2:start,
>> org.eclipse.update.configurator@3:start, org.eclipse.birt.core@start
>> osgi.framework.extensions=org.eclipse.birt.api
>> osgi.bundles.defaultStartLevel=4
>> eclipse.parsers.setTCCL=false
>>
>>
>>
>>
>> I have imported the birt.war in my eclipse and the geronimo-web.xml
>> and web.xml was automatically set correct when choosing target runtime
>> for WASCE 3.0.
>> wiki.eclipse.org/Birt_WAS_CE
>>
>> I'm starting to think the problem is in my settings of WASCE ?
>> Which test can I do to find the problem ?
>>
>> When using v2.6.2, do I need to have a look at the OSGi plugins?
>> Only the charts aren't working, how can I check if my jars are correct
>> for using charts?
>>
>> Thanks,
>>
>> Chris
>
>
|
|
|
|
|
|
|
Re: charts in BIRT reports [message #826160 is a reply to message #826153] |
Wed, 21 March 2012 14:42   |
Eclipse User |
|
|
|
Jason Weathersby wrote on Wed, 21 March 2012 14:25You were not getting this error until you changed classloading correct?
Correct, only get this when changing classloading.
Jason Weathersby wrote on Wed, 21 March 2012 14:25On the chart issue are you just running a report that has a chart in it?
I'm running the test.rptdesign and this works perfectly. When I run the test1.rptdesign file, I get the data, but not the charts.
Jason Weathersby wrote on Wed, 21 March 2012 14:25I suspect this is an issue with emf classloading. Look at items 5 and 6
on this page
eclipse/Birt_WebSphere_Deployment
Although this is an earlier version of BIRT it may be the same issue.
Allready tried this. I can retry, but before it gave me the same error.
Jason Weathersby wrote on Wed, 21 March 2012 14:25
You could try the new POJO Runtime of BIRT 3.7.2
eclipse/BirtPOJO_Viewer_WebSphere_Deployment
A college of mine has tried this, without any result. But tomorrow I will give v3.7.2 a try.
The problems have nothing to do with the incorrect path of test.chart you think ?
|
|
|
Re: charts in BIRT reports [message #826183 is a reply to message #826160] |
Wed, 21 March 2012 15:19   |
Eclipse User |
|
|
|
No, test.chart is not even defined in this case. The error I believe is
misleading. The Chart engine uses EMF but normal reports (without
charts) do not. Is the community edition free to download? If so I
will give it a try.
Jason
On 3/21/2012 2:42 PM, Chris Houben wrote:
> Jason Weathersby wrote on Wed, 21 March 2012 14:25
>> You were not getting this error until you changed classloading correct?
>
> Correct, only get this when changing classloading.
>
>
> Jason Weathersby wrote on Wed, 21 March 2012 14:25
>> On the chart issue are you just running a report that has a chart in it?
>
> I'm running the test.rptdesign and this works perfectly. When I run the
> test1.rptdesign file, I get the data, but not the charts.
>
>
> Jason Weathersby wrote on Wed, 21 March 2012 14:25
>> I suspect this is an issue with emf classloading. Look at items 5 and
>> 6 on this page
>>
>> eclipse/Birt_WebSphere_Deployment
>> Although this is an earlier version of BIRT it may be the same issue.
>
> Allready tried this. I can retry, but before it gave me the same error.
>
>
> Jason Weathersby wrote on Wed, 21 March 2012 14:25
>> You could try the new POJO Runtime of BIRT 3.7.2
>> eclipse/BirtPOJO_Viewer_WebSphere_Deployment
>
> A college of mine has tried this, without any result. But tomorrow I
> will give v3.7.2 a try.
>
> The problems have nothing to do with the incorrect path of test.chart
> you think ?
|
|
|
|
|
|
|
|
Re: charts in BIRT reports [message #832930 is a reply to message #832689] |
Fri, 30 March 2012 15:00  |
Eclipse User |
|
|
|
I got the same errors. Thanks for logging the bug.
Jason
On 3/30/2012 9:09 AM, Chris Houben wrote:
> Hi Jason,
>
> Do you get the same errors as me or different ?
>
> bugzilla: Bug 375716 PMR @ ibm: 26944 300 624
>
> Chris
|
|
|
Powered by
FUDForum. Page generated in 0.32418 seconds