Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Package with uri "ChartModel" not found(Package with uri "ChartModel" not found)
Package with uri "ChartModel" not found [message #1110045] Mon, 16 September 2013 09:32 Go to next message
ASHISH KUMAR is currently offline ASHISH KUMARFriend
Messages: 6
Registered: July 2013
Junior Member
Hi All

I am facing an issue to generate the pdf report , normally pdf report is generated vary fine but when i integrate it with quartz then pdf is generated with tabular data only , chatrs is not coming in generated pdf report.

I got the following errors:-

Sep 16, 2013 2:02:00 PM org.eclipse.birt.report.engine.api.impl.ReportEngine
FINE: ReportEngine created. EngineConfig: EngineConfig: org.eclipse.birt.report.engine.api.EngineConfig.scriptObjects={};BIRT_HOME= ;logLevel=ALL;org.eclipse.birt.report.engine.api.EngineConfig.emitterConfigs={html=org.eclipse.birt.report.engine.api.HTMLEmitterConfig@a1a04e};org.eclipse.birt.report.engine.api.EngineConfig.statusHandler=org.eclipse.birt.report.engine.api.DefaultStatusHandler@1236655;logDest=C:/ASMPlatform/Reports/schedulerLog;
Sep 16, 2013 2:02:00 PM org.eclipse.birt.report.engine.api.impl.ReportEngine
FINE: ReportEngine.openReportDesign: designName=C:/ASMPlatform\reports\Companies\default\sam\dd\dd_is\default\Completion Status\1.DD Status by Count.rptdesign
Sep 16, 2013 2:02:16 PM null deserialize
WARNING: Exception
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://www.birt.eclipse.org/ChartModel' not found. (file:///C:/personal/software/Jboss/jboss-5.1.0.GA/jboss-5.1.0.GA/bin/test.chart, 1, 367)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:77)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:185)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:253)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
at org.eclipse.birt.chart.model.impl.SerializerImpl.fromXml(SerializerImpl.java:465)
at org.eclipse.birt.chart.reportitem.ChartReportItemImpl.deserialize(ChartReportItemImpl.java:295)
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.parser.ExtendedItemState.end(ExtendedItemState.java:155)
at org.eclipse.birt.report.model.util.XMLParserHandler.endElement(XMLParserHandler.java:186)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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.birt.report.model.parser.ModuleReader.readModule(ModuleReader.java:98)
at org.eclipse.birt.report.model.parser.DesignReader.read(DesignReader.java:88)
at org.eclipse.birt.report.model.core.DesignSessionImpl.openDesign(DesignSessionImpl.java:309)
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.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:196)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:130)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:310)
at org.eclipse.birt.report.engine.api.ReportEngine.openReportDesign(ReportEngine.java:12org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.birt.eclipse.org/ChartModel' not found. (file:///C:/personal/software/Jboss/jboss-5.1.0.GA/jboss-5.1.0.GA/bin/test.chart, 1, 367)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2599)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2429)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1306)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1475)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1026)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1008)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:719)
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:175)
... 34 more
Sep 16, 2013 2:02:16 PM org.eclipse.birt.report.engine.api.impl.ReportEngine
FINE: ReportEngine.createRunAndRenderTask: reportRunnable=org.eclipse.birt.report.engine.api.impl.ReportRunnable@1de6f35
Sep 16, 2013 2:02:25 PM org.eclipse.birt.data.engine.api.DataEngineContext DataEngineContext
FINER: ENTRY 3 [object Object] null null org.eclipse.birt.report.engine.executor.ApplicationClassLoader@58e6a4
Sep 16, 2013 2:02:25 PM org.eclipse.birt.data.engine.api.DataEngineContext

[Updated on: Mon, 16 September 2013 10:10]

Report message to a moderator

Re: Package with uri "ChartModel" not found [message #1112969 is a reply to message #1110045] Fri, 20 September 2013 12:55 Go to previous messageGo to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
Hi,

Usually this exception occurs because of conflicts between BIRT libraries and JBoss common libraries, in particular because of this horrible "xerces" library. Make sure you followed this wiki

Also, in your context is the BIRT engine started once for all in JBoss, or is it shutdowned/started several times (for example each time quartz triggers a new task)?
Re: Package with uri "ChartModel" not found [message #1124091 is a reply to message #1112969] Thu, 03 October 2013 07:06 Go to previous messageGo to next message
ASHISH KUMAR is currently offline ASHISH KUMARFriend
Messages: 6
Registered: July 2013
Junior Member
Thanks for reply

Actually we have started the platform once for entire jboss . we start the platform at the time of creating context path and the same platform we destroy when our context path is destroyed.
Re: Package with uri "ChartModel" not found [message #1129188 is a reply to message #1124091] Tue, 08 October 2013 11:29 Go to previous messageGo to next message
ASHISH KUMAR is currently offline ASHISH KUMARFriend
Messages: 6
Registered: July 2013
Junior Member
Hello Everyone

Please suggest me any idea for the above issue
Re: Package with uri "ChartModel" not found [message #1129398 is a reply to message #1129188] Tue, 08 October 2013 15:40 Go to previous messageGo to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
No doubt it is a classloading or a jar conflict issue, but this kind of problem is very tough to investigate. As mentionned here, you should try to unify your classloaders by setting this attribute in ${jboss.server}/deploy/jboss-web.deployer/META-INF/jboss-service.xml:
<attribute name="UseJBossWebLoader">false</attribute>

Re: Package with uri "ChartModel" not found [message #1130035 is a reply to message #1129398] Wed, 09 October 2013 07:01 Go to previous messageGo to next message
ASHISH KUMAR is currently offline ASHISH KUMARFriend
Messages: 6
Registered: July 2013
Junior Member
Hi i an not getting this attribute
${jboss.server}/deploy/jboss-web.deployer/META-INF/jboss-service.xml

So please tell me how can i get this "jboss-web.deployer" folder.

we have only these folders at this location :-
${jboss.server}/deploy/

admin-console.war
http-invoker.sar
jbossweb.sar
jbossws.sar
jmx-console.war
jmx-remoting.sar
management
messaging
profileservice-secured.jar
ROOT.war
security
uuid-key-generator.sar
xnio-provider.jar


So please suggest me some idea

Thanks
Re: Package with uri "ChartModel" not found [message #1130099 is a reply to message #1130035] Wed, 09 October 2013 08:25 Go to previous message
ASHISH KUMAR is currently offline ASHISH KUMARFriend
Messages: 6
Registered: July 2013
Junior Member
we are using jboss 5.1
Previous Topic:Birt Parameter Error
Next Topic:BIRT Reporting Delphi IDE
Goto Forum:
  


Current Time: Tue Mar 19 03:26:39 GMT 2024

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

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

Back to the top