DesignReader.openDesign exception SAXParseException can't find extension with ID [message #79660] |
Thu, 06 October 2005 19:32  |
Eclipse User |
|
|
|
hello, I'm using eclipse 3.1, BIRT 1.0.1 source. I have a java project
that references the BIRT source, and when I try to run the java project
(as a java console application), it, I get the following error when I
try to load my report Template.
It seems the parser can't locate datasource information, when it is
parsing my report template. Any ideas?
Error.DesignFileException.INVALID_XML - 1 errors found!
1.) ( line = 7) org.xml.sax.SAXParseException (message : The extension
with ID 'org.eclipse.birt.report.data.oda.sampledb' is not found!)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:101)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:153)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:157)
at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:90)
|
|
|
Re: DesignReader.openDesign exception SAXParseException can't find extensionwith ID [message #79889 is a reply to message #79660] |
Fri, 07 October 2005 18:20   |
Eclipse User |
|
|
|
Hi Mike,
You are seeing this error because, the report design uses the sampledb datasource type.
The sample db datasource is implemented as an oda extension in the following plugin
org.eclipse.birt.report.data.oda.sampledb
If you are writting your standalone application, you need to make sure the oda
extensions are available.
One way of doing this would be copying all related files and making them available at
runtime.
- Copy all the extensions from $/Viewer/plugins folder to a location
$BirtRuntime/plugins
- In you java application, set BIRT_HOME path to $BirtRuntime folder
System.setProperty( "BIRT_HOME", "$BirtRuntime" );
System.setProperty( "PROPERTY_RUN_UNDER_ECLIPSE", "false" );
Let me know if this works.
--Rima Kanguri
Mike Boyersmith wrote:
> hello, I'm using eclipse 3.1, BIRT 1.0.1 source. I have a java project
> that references the BIRT source, and when I try to run the java project
> (as a java console application), it, I get the following error when I
> try to load my report Template.
>
> It seems the parser can't locate datasource information, when it is
> parsing my report template. Any ideas?
>
> Error.DesignFileException.INVALID_XML - 1 errors found!
> 1.) ( line = 7) org.xml.sax.SAXParseException (message : The extension
> with ID 'org.eclipse.birt.report.data.oda.sampledb' is not found!)
>
> at
> org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:101)
> at
> org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:153)
> at
> org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:157)
> at
> org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:90)
|
|
|
Re: DesignReader.openDesign exception SAXParseException can't find extensionwith ID [message #79904 is a reply to message #79889] |
Fri, 07 October 2005 18:36  |
Eclipse User |
|
|
|
A minor correction
I used $Viewer to indicate $eclipse\plugins\org.eclipse.birt.report.viewer_1.0.1\birt
folder.
--Rima
Rima Kanguri wrote:
> Hi Mike,
>
> You are seeing this error because, the report design uses the sampledb datasource type.
> The sample db datasource is implemented as an oda extension in the following plugin
> org.eclipse.birt.report.data.oda.sampledb
>
> If you are writting your standalone application, you need to make sure the oda
> extensions are available.
> One way of doing this would be copying all related files and making them available at
> runtime.
>
> - Copy all the extensions from $/Viewer/plugins folder to a location
> $BirtRuntime/plugins
> - In you java application, set BIRT_HOME path to $BirtRuntime folder
> System.setProperty( "BIRT_HOME", "$BirtRuntime" );
> System.setProperty( "PROPERTY_RUN_UNDER_ECLIPSE", "false" );
>
> Let me know if this works.
>
> --Rima Kanguri
>
> Mike Boyersmith wrote:
>
> > hello, I'm using eclipse 3.1, BIRT 1.0.1 source. I have a java project
> > that references the BIRT source, and when I try to run the java project
> > (as a java console application), it, I get the following error when I
> > try to load my report Template.
> >
> > It seems the parser can't locate datasource information, when it is
> > parsing my report template. Any ideas?
> >
> > Error.DesignFileException.INVALID_XML - 1 errors found!
> > 1.) ( line = 7) org.xml.sax.SAXParseException (message : The extension
> > with ID 'org.eclipse.birt.report.data.oda.sampledb' is not found!)
> >
> > at
> > org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:101)
> > at
> > org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:153)
> > at
> > org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:157)
> > at
> > org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:90)
|
|
|
Powered by
FUDForum. Page generated in 0.25921 seconds