[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [birt-dev] Pb with Oda
|
Adrelus,
Thanks for your interest in the Eclipse BIRT project. However, this mailing list is intended for discussions between the BIRT project development team.
For questions on using BIRT, please post your question on the BIRT newsgroup: news://news.eclipse.org/eclipse.birt.
Thanks,
Paul Clenahan
BIRT PMC
-----Original Message-----
From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of adrelus sanflash
Sent: Monday, August 08, 2005 3:55 AM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev] Pb with Oda
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.openReportDesign(ReportEngineHelper.java:92)
at
org.eclipse.birt.report.engine.api.ReportEngine.openReportDesign(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(DesignReader.java:99)
at
org.eclipse.birt.report.model.parser.DesignReader.read(DesignReader.java:146)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign(DesignSession.java:174)
at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(SessionHandle.java:94)
at
org.eclipse.birt.report.engine.parser.ReportParser.parse(ReportParser.java:83)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(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
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com _______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev