Skip to main content



      Home
Home » Archived » BIRT » Pb with oda
Pb with oda [message #66023] Tue, 09 August 2005 03:47
Eclipse UserFriend
Originally posted by: adrelus_sanflash-birt.yahoo.fr

Hello!

I want to parse a .rptdesign. So after reading the
Birt's site i code this main method:

ReportEngine engine = new ReportEngine( config );
IReportRunnable report = null;
String name="Tableau.rptdesign";
try {
report = engine.openReportDesign( name );
} catch (EngineException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
When i run, i have this exception:

org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
openReportDesign
GRAVE: invalid design file
E:\jeremy_soula\workspace\testBirt\Tableau.rptdesign
org.eclipse.birt.report.engine.api.EngineException: Le
fichier modèle Tableau.rptdesign comporte une erreur
et ne peut pas être exécuté.
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:92)
at
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:212)
at moi.TestRecup.main(TestRecup.java:22)
Caused by: Error.DesignFileException.INVALID_XML - 1
errors found!
1.) ( line = 8) org.xml.sax.SAXParseException
(message : The extension with ID
'org.eclipse.birt.report.data.oda.jdbc' is not found!)

at
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:99)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:146)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:174)
at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:94)
at
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:83)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
... 2 more

I put in my classpath the package
org.eclipse.birt.report.data.oda.jdbc but it still
doesn't work
In my report i use a datasource like:
<data-sources>
<oda-data-source
extensionID="org.eclipse.birt.report.data.oda.jdbc"
name="Source de données">
<property
name="odaDriverClass">net.sourceforge.jtds.jdbc.Driver</property >
<property name="odaURL">...</property>
<property name="odaUser">...</property>
<encrypted-property
name="odaPassword">...</encrypted-property>
</oda-data-source>
</data-sources>

Someone have an idea to resolv the problem?

Thx
Previous Topic:Where are the installation instructions for 1.0.1?
Next Topic:Error with JDBC
Goto Forum:
  


Current Time: Wed Apr 30 16:22:47 EDT 2025

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

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

Back to the top