Home » Archived » BIRT » Deploying a Report that use my own Data Source and Data Set
Deploying a Report that use my own Data Source and Data Set [message #242588] |
Wed, 13 June 2007 21:48 |
Eclipse User |
|
|
|
Originally posted by: kiev.gama.fpf.br
Hi,
I've extended the oda.jdbc and provided a UI for it. I am able to create a
data source and a data set using my custom UIs. The data can be previewed
with no problem in design time.
However, I am not able to display the data when I deploy the report in the
report viewer.
The steps that I've followed:
1 - Jarred my two plugins (myODAExtension.jar and myODAExtensionUI.jar)
and copied to the BIRT Report Designer's plugins directory
2 - Using the above application, created my reports with no problem using
my ODA extensions. Data preview OK.
3 - Copied the myODAExtension.jar file to the plugins directory of the
WebViewer
4 - Copied my report to the deploy folder
5 - Result: Just the column names are displayed. No data at all.
If I change the extension ID's of my data set and data source to the
corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs the
report works fine.
I guess I've missing something.
Any help would be welcome.
Regards,
Kiev Gama
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244336 is a reply to message #242588] |
Fri, 22 June 2007 15:44 |
Eclipse User |
|
|
|
Originally posted by: andrey.gmail.com
I have faced with the same problem.
Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report and
error messages in logs
Pligin with custom ODA Runtime Driver implementation was placed in
WEB-INF/platform/plugins
Recieved exception
SEVERE: Cannot process data source extension configuration.
java.lang.IllegalArgumentException: custom.data.source.id
at
org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
at
org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
at
org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
at
org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
at
org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
at
org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
at
org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
at
org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
at
org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
at
org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
Environment - BIRT 2.2
Any advices and suggestions will be appeciated
Best regards,
Andrey Dulub
"Kiev Gama" <kiev.gama@fpf.br> wrote in message
news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
> Hi,
>
> I've extended the oda.jdbc and provided a UI for it. I am able to create a
> data source and a data set using my custom UIs. The data can be previewed
> with no problem in design time.
>
> However, I am not able to display the data when I deploy the report in the
> report viewer.
>
> The steps that I've followed:
> 1 - Jarred my two plugins (myODAExtension.jar and myODAExtensionUI.jar)
> and copied to the BIRT Report Designer's plugins directory 2 - Using the
> above application, created my reports with no problem using my ODA
> extensions. Data preview OK.
> 3 - Copied the myODAExtension.jar file to the plugins directory of the
> WebViewer
> 4 - Copied my report to the deploy folder
> 5 - Result: Just the column names are displayed. No data at all.
>
> If I change the extension ID's of my data set and data source to the
> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs the
> report works fine.
>
> I guess I've missing something.
> Any help would be welcome.
>
> Regards,
>
> Kiev Gama
>
|
|
| |
Re: Deploying a Report that use my own Data Source and Data Set [message #244451 is a reply to message #244445] |
Fri, 22 June 2007 21:54 |
Andrey Dulub Messages: 54 Registered: July 2009 |
Member |
|
|
Thank you for attention,
I 'm not using BIRT extesion points and working with DTP ODA only.
On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin (zip
file with BIRT runtime stored inside this plugin)
Andrey
"Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
news:f5hdrh$c0b$1@build.eclipse.org...
> You seem to use BIRT 2.2. A possible reason for your exception is because
> BIRT 2.2 no longer supports BIRT ODA extension point
> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA extension
> point.
>
> If your report works in Eclipse but doesn't work in runtime, you probably
> have different versions of BIRT libraries or plugins in Eclipse and
> Tomcat.
>
> Regards,
> Snjeza
>
> Andrey Dulub wrote:
>> I have faced with the same problem.
>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report and
>> error messages in logs
>> Pligin with custom ODA Runtime Driver implementation was placed in
>> WEB-INF/platform/plugins
>>
>> Recieved exception
>> SEVERE: Cannot process data source extension configuration.
>>
>> java.lang.IllegalArgumentException: custom.data.source.id
>>
>> at
>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>
>> at
>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>
>> at
>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>
>> at
>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>
>> Environment - BIRT 2.2
>>
>> Any advices and suggestions will be appeciated
>>
>> Best regards,
>> Andrey Dulub
>>
>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>> Hi,
>>>
>>> I've extended the oda.jdbc and provided a UI for it. I am able to create
>>> a data source and a data set using my custom UIs. The data can be
>>> previewed with no problem in design time.
>>>
>>> However, I am not able to display the data when I deploy the report in
>>> the report viewer.
>>>
>>> The steps that I've followed:
>>> 1 - Jarred my two plugins (myODAExtension.jar and myODAExtensionUI.jar)
>>> and copied to the BIRT Report Designer's plugins directory 2 - Using the
>>> above application, created my reports with no problem using my ODA
>>> extensions. Data preview OK.
>>> 3 - Copied the myODAExtension.jar file to the plugins directory of the
>>> WebViewer
>>> 4 - Copied my report to the deploy folder
>>> 5 - Result: Just the column names are displayed. No data at all.
>>>
>>> If I change the extension ID's of my data set and data source to the
>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs the
>>> report works fine.
>>>
>>> I guess I've missing something.
>>> Any help would be welcome.
>>>
>>> Regards,
>>>
>>> Kiev Gama
>>>
>>
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244454 is a reply to message #244451] |
Fri, 22 June 2007 22:33 |
Snjezana Peco Messages: 789 Registered: July 2009 |
Senior Member |
|
|
Check versions of plugins in your Eclipse and Tomcat.
You can see a version of a plugin within the name of the plugin's jar
file or plugin's directory.
Andrey Dulub wrote:
> Thank you for attention,
>
> I 'm not using BIRT extesion points and working with DTP ODA only.
> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin (zip
> file with BIRT runtime stored inside this plugin)
>
> Andrey
>
> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
> news:f5hdrh$c0b$1@build.eclipse.org...
>> You seem to use BIRT 2.2. A possible reason for your exception is because
>> BIRT 2.2 no longer supports BIRT ODA extension point
>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA extension
>> point.
>>
>> If your report works in Eclipse but doesn't work in runtime, you probably
>> have different versions of BIRT libraries or plugins in Eclipse and
>> Tomcat.
>>
>> Regards,
>> Snjeza
>>
>> Andrey Dulub wrote:
>>> I have faced with the same problem.
>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report and
>>> error messages in logs
>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>> WEB-INF/platform/plugins
>>>
>>> Recieved exception
>>> SEVERE: Cannot process data source extension configuration.
>>>
>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>
>>> at
>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>
>>> at
>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>
>>> at
>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>
>>> at
>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>
>>> Environment - BIRT 2.2
>>>
>>> Any advices and suggestions will be appeciated
>>>
>>> Best regards,
>>> Andrey Dulub
>>>
>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>> Hi,
>>>>
>>>> I've extended the oda.jdbc and provided a UI for it. I am able to create
>>>> a data source and a data set using my custom UIs. The data can be
>>>> previewed with no problem in design time.
>>>>
>>>> However, I am not able to display the data when I deploy the report in
>>>> the report viewer.
>>>>
>>>> The steps that I've followed:
>>>> 1 - Jarred my two plugins (myODAExtension.jar and myODAExtensionUI.jar)
>>>> and copied to the BIRT Report Designer's plugins directory 2 - Using the
>>>> above application, created my reports with no problem using my ODA
>>>> extensions. Data preview OK.
>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of the
>>>> WebViewer
>>>> 4 - Copied my report to the deploy folder
>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>
>>>> If I change the extension ID's of my data set and data source to the
>>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs the
>>>> report works fine.
>>>>
>>>> I guess I've missing something.
>>>> Any help would be welcome.
>>>>
>>>> Regards,
>>>>
>>>> Kiev Gama
>>>>
>
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244467 is a reply to message #244454] |
Sat, 23 June 2007 10:09 |
Andrey Dulub Messages: 54 Registered: July 2009 |
Member |
|
|
I'm working with BIRT 2.2 and get runtime from its WTP integration plugin.
Runtime has the same 2.2 version.
May be runtime from
eclipse\plugins\org.eclipse.birt.integration.wtp.ui_2.2.0.v2 0070413\runtime\birt.zip
doesn't contain all needed plugins ?
Where I have to place my plugin with ODA Data Source implementation ?
Thanks,
Andrey
"Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
news:f5hinj$9ug$1@build.eclipse.org...
> Check versions of plugins in your Eclipse and Tomcat.
> You can see a version of a plugin within the name of the plugin's jar file
> or plugin's directory.
>
> Andrey Dulub wrote:
>> Thank you for attention,
>>
>> I 'm not using BIRT extesion points and working with DTP ODA only.
>> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin
>> (zip file with BIRT runtime stored inside this plugin)
>>
>> Andrey
>>
>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>> news:f5hdrh$c0b$1@build.eclipse.org...
>>> You seem to use BIRT 2.2. A possible reason for your exception is
>>> because BIRT 2.2 no longer supports BIRT ODA extension point
>>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA
>>> extension point.
>>>
>>> If your report works in Eclipse but doesn't work in runtime, you
>>> probably have different versions of BIRT libraries or plugins in Eclipse
>>> and Tomcat.
>>>
>>> Regards,
>>> Snjeza
>>>
>>> Andrey Dulub wrote:
>>>> I have faced with the same problem.
>>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report
>>>> and error messages in logs
>>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>>> WEB-INF/platform/plugins
>>>>
>>>> Recieved exception
>>>> SEVERE: Cannot process data source extension configuration.
>>>>
>>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>>
>>>> at
>>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>>
>>>> at
>>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>>
>>>> Environment - BIRT 2.2
>>>>
>>>> Any advices and suggestions will be appeciated
>>>>
>>>> Best regards,
>>>> Andrey Dulub
>>>>
>>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> I've extended the oda.jdbc and provided a UI for it. I am able to
>>>>> create a data source and a data set using my custom UIs. The data can
>>>>> be previewed with no problem in design time.
>>>>>
>>>>> However, I am not able to display the data when I deploy the report in
>>>>> the report viewer.
>>>>>
>>>>> The steps that I've followed:
>>>>> 1 - Jarred my two plugins (myODAExtension.jar and
>>>>> myODAExtensionUI.jar) and copied to the BIRT Report Designer's plugins
>>>>> directory 2 - Using the above application, created my reports with no
>>>>> problem using my ODA extensions. Data preview OK.
>>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of the
>>>>> WebViewer
>>>>> 4 - Copied my report to the deploy folder
>>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>>
>>>>> If I change the extension ID's of my data set and data source to the
>>>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs the
>>>>> report works fine.
>>>>>
>>>>> I guess I've missing something.
>>>>> Any help would be welcome.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Kiev Gama
>>>>>
>>
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244483 is a reply to message #244467] |
Sat, 23 June 2007 16:10 |
Snjezana Peco Messages: 789 Registered: July 2009 |
Senior Member |
|
|
I am using an RCP application that creates its own classloader. It
starts its own web server and a web application using that classloader.
Since you are using an independent web application, I suppose
that you need to place your plugin in WEB-INF/platform/plugins.
If this doesn't work, you probably have started the application the
first time without your plugin. Eclipse environment has been configured
without your plugin. Adding plugins after configuring Eclipse is
ignored. You can solve this issue in the following way:
- remove the file
WEB-INF/platform/plugins/configuration/org.eclipse.update/pl atform.xml
that contains the configuration.
- add 'osgi.clean=true' to the
WEB-INF/platform/plugins/configuration/config.ini file
You wouldn't use 'osgi.clean=true' in production environment.
Snjeza
Andrey Dulub wrote:
> I'm working with BIRT 2.2 and get runtime from its WTP integration plugin.
> Runtime has the same 2.2 version.
> May be runtime from
> eclipse\plugins\org.eclipse.birt.integration.wtp.ui_2.2.0.v2 0070413\runtime\birt.zip
> doesn't contain all needed plugins ?
> Where I have to place my plugin with ODA Data Source implementation ?
>
> Thanks,
> Andrey
>
>
>
> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
> news:f5hinj$9ug$1@build.eclipse.org...
>> Check versions of plugins in your Eclipse and Tomcat.
>> You can see a version of a plugin within the name of the plugin's jar file
>> or plugin's directory.
>>
>> Andrey Dulub wrote:
>>> Thank you for attention,
>>>
>>> I 'm not using BIRT extesion points and working with DTP ODA only.
>>> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin
>>> (zip file with BIRT runtime stored inside this plugin)
>>>
>>> Andrey
>>>
>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>> news:f5hdrh$c0b$1@build.eclipse.org...
>>>> You seem to use BIRT 2.2. A possible reason for your exception is
>>>> because BIRT 2.2 no longer supports BIRT ODA extension point
>>>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA
>>>> extension point.
>>>>
>>>> If your report works in Eclipse but doesn't work in runtime, you
>>>> probably have different versions of BIRT libraries or plugins in Eclipse
>>>> and Tomcat.
>>>>
>>>> Regards,
>>>> Snjeza
>>>>
>>>> Andrey Dulub wrote:
>>>>> I have faced with the same problem.
>>>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report
>>>>> and error messages in logs
>>>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>>>> WEB-INF/platform/plugins
>>>>>
>>>>> Recieved exception
>>>>> SEVERE: Cannot process data source extension configuration.
>>>>>
>>>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>>>
>>>>> at
>>>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>>>
>>>>> at
>>>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>>>
>>>>> Environment - BIRT 2.2
>>>>>
>>>>> Any advices and suggestions will be appeciated
>>>>>
>>>>> Best regards,
>>>>> Andrey Dulub
>>>>>
>>>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> I've extended the oda.jdbc and provided a UI for it. I am able to
>>>>>> create a data source and a data set using my custom UIs. The data can
>>>>>> be previewed with no problem in design time.
>>>>>>
>>>>>> However, I am not able to display the data when I deploy the report in
>>>>>> the report viewer.
>>>>>>
>>>>>> The steps that I've followed:
>>>>>> 1 - Jarred my two plugins (myODAExtension.jar and
>>>>>> myODAExtensionUI.jar) and copied to the BIRT Report Designer's plugins
>>>>>> directory 2 - Using the above application, created my reports with no
>>>>>> problem using my ODA extensions. Data preview OK.
>>>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of the
>>>>>> WebViewer
>>>>>> 4 - Copied my report to the deploy folder
>>>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>>>
>>>>>> If I change the extension ID's of my data set and data source to the
>>>>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs the
>>>>>> report works fine.
>>>>>>
>>>>>> I guess I've missing something.
>>>>>> Any help would be welcome.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Kiev Gama
>>>>>>
>
>
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244593 is a reply to message #244483] |
Mon, 25 June 2007 14:52 |
Eclipse User |
|
|
|
Originally posted by: andrey.gmail.com
Unfortunatelly, any changes - still "java.lang.IllegalArgumentException:
custom.data.source.id"
You are rigth, my plugin doesn't available for BIRT viewer application - I
debugged BIRT vierer under Tomcat.
Best regards,
Andrey Dulub
"Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
news:f5jgmf$lur$1@build.eclipse.org...
>I am using an RCP application that creates its own classloader. It starts
>its own web server and a web application using that classloader.
> Since you are using an independent web application, I suppose
> that you need to place your plugin in WEB-INF/platform/plugins.
> If this doesn't work, you probably have started the application the first
> time without your plugin. Eclipse environment has been configured without
> your plugin. Adding plugins after configuring Eclipse is ignored. You can
> solve this issue in the following way:
> - remove the file
> WEB-INF/platform/plugins/configuration/org.eclipse.update/pl atform.xml
> that contains the configuration.
> - add 'osgi.clean=true' to the
> WEB-INF/platform/plugins/configuration/config.ini file
>
> You wouldn't use 'osgi.clean=true' in production environment.
>
> Snjeza
>
> Andrey Dulub wrote:
>> I'm working with BIRT 2.2 and get runtime from its WTP integration
>> plugin. Runtime has the same 2.2 version.
>> May be runtime from
>> eclipse\plugins\org.eclipse.birt.integration.wtp.ui_2.2.0.v2 0070413\runtime\birt.zip
>> doesn't contain all needed plugins ?
>> Where I have to place my plugin with ODA Data Source implementation ?
>>
>> Thanks,
>> Andrey
>>
>>
>>
>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>> news:f5hinj$9ug$1@build.eclipse.org...
>>> Check versions of plugins in your Eclipse and Tomcat.
>>> You can see a version of a plugin within the name of the plugin's jar
>>> file or plugin's directory.
>>>
>>> Andrey Dulub wrote:
>>>> Thank you for attention,
>>>>
>>>> I 'm not using BIRT extesion points and working with DTP ODA only.
>>>> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin
>>>> (zip file with BIRT runtime stored inside this plugin)
>>>>
>>>> Andrey
>>>>
>>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>>> news:f5hdrh$c0b$1@build.eclipse.org...
>>>>> You seem to use BIRT 2.2. A possible reason for your exception is
>>>>> because BIRT 2.2 no longer supports BIRT ODA extension point
>>>>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA
>>>>> extension point.
>>>>>
>>>>> If your report works in Eclipse but doesn't work in runtime, you
>>>>> probably have different versions of BIRT libraries or plugins in
>>>>> Eclipse and Tomcat.
>>>>>
>>>>> Regards,
>>>>> Snjeza
>>>>>
>>>>> Andrey Dulub wrote:
>>>>>> I have faced with the same problem.
>>>>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report
>>>>>> and error messages in logs
>>>>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>>>>> WEB-INF/platform/plugins
>>>>>>
>>>>>> Recieved exception
>>>>>> SEVERE: Cannot process data source extension configuration.
>>>>>>
>>>>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>>>>
>>>>>> at
>>>>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>>>>
>>>>>> Environment - BIRT 2.2
>>>>>>
>>>>>> Any advices and suggestions will be appeciated
>>>>>>
>>>>>> Best regards,
>>>>>> Andrey Dulub
>>>>>>
>>>>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>>>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>>>>> Hi,
>>>>>>>
>>>>>>> I've extended the oda.jdbc and provided a UI for it. I am able to
>>>>>>> create a data source and a data set using my custom UIs. The data
>>>>>>> can be previewed with no problem in design time.
>>>>>>>
>>>>>>> However, I am not able to display the data when I deploy the report
>>>>>>> in the report viewer.
>>>>>>>
>>>>>>> The steps that I've followed:
>>>>>>> 1 - Jarred my two plugins (myODAExtension.jar and
>>>>>>> myODAExtensionUI.jar) and copied to the BIRT Report Designer's
>>>>>>> plugins directory 2 - Using the above application, created my
>>>>>>> reports with no problem using my ODA extensions. Data preview OK.
>>>>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of
>>>>>>> the WebViewer
>>>>>>> 4 - Copied my report to the deploy folder
>>>>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>>>>
>>>>>>> If I change the extension ID's of my data set and data source to the
>>>>>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs
>>>>>>> the report works fine.
>>>>>>>
>>>>>>> I guess I've missing something.
>>>>>>> Any help would be welcome.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Kiev Gama
>>>>>>>
>>
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244634 is a reply to message #244593] |
Mon, 25 June 2007 16:43 |
Snjezana Peco Messages: 789 Registered: July 2009 |
Senior Member |
|
|
Could you send the
WEB-INF/platform/plugins/configuration/org.eclipse.update/pl atform.xml file?
Snjeza
Andrey Dulub wrote:
> Unfortunatelly, any changes - still "java.lang.IllegalArgumentException:
> custom.data.source.id"
> You are rigth, my plugin doesn't available for BIRT viewer application - I
> debugged BIRT vierer under Tomcat.
>
> Best regards,
> Andrey Dulub
>
> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
> news:f5jgmf$lur$1@build.eclipse.org...
>> I am using an RCP application that creates its own classloader. It starts
>> its own web server and a web application using that classloader.
>> Since you are using an independent web application, I suppose
>> that you need to place your plugin in WEB-INF/platform/plugins.
>> If this doesn't work, you probably have started the application the first
>> time without your plugin. Eclipse environment has been configured without
>> your plugin. Adding plugins after configuring Eclipse is ignored. You can
>> solve this issue in the following way:
>> - remove the file
>> WEB-INF/platform/plugins/configuration/org.eclipse.update/pl atform.xml
>> that contains the configuration.
>> - add 'osgi.clean=true' to the
>> WEB-INF/platform/plugins/configuration/config.ini file
>>
>> You wouldn't use 'osgi.clean=true' in production environment.
>>
>> Snjeza
>>
>> Andrey Dulub wrote:
>>> I'm working with BIRT 2.2 and get runtime from its WTP integration
>>> plugin. Runtime has the same 2.2 version.
>>> May be runtime from
>>> eclipse\plugins\org.eclipse.birt.integration.wtp.ui_2.2.0.v2 0070413\runtime\birt.zip
>>> doesn't contain all needed plugins ?
>>> Where I have to place my plugin with ODA Data Source implementation ?
>>>
>>> Thanks,
>>> Andrey
>>>
>>>
>>>
>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>> news:f5hinj$9ug$1@build.eclipse.org...
>>>> Check versions of plugins in your Eclipse and Tomcat.
>>>> You can see a version of a plugin within the name of the plugin's jar
>>>> file or plugin's directory.
>>>>
>>>> Andrey Dulub wrote:
>>>>> Thank you for attention,
>>>>>
>>>>> I 'm not using BIRT extesion points and working with DTP ODA only.
>>>>> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin
>>>>> (zip file with BIRT runtime stored inside this plugin)
>>>>>
>>>>> Andrey
>>>>>
>>>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>>>> news:f5hdrh$c0b$1@build.eclipse.org...
>>>>>> You seem to use BIRT 2.2. A possible reason for your exception is
>>>>>> because BIRT 2.2 no longer supports BIRT ODA extension point
>>>>>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA
>>>>>> extension point.
>>>>>>
>>>>>> If your report works in Eclipse but doesn't work in runtime, you
>>>>>> probably have different versions of BIRT libraries or plugins in
>>>>>> Eclipse and Tomcat.
>>>>>>
>>>>>> Regards,
>>>>>> Snjeza
>>>>>>
>>>>>> Andrey Dulub wrote:
>>>>>>> I have faced with the same problem.
>>>>>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report
>>>>>>> and error messages in logs
>>>>>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>>>>>> WEB-INF/platform/plugins
>>>>>>>
>>>>>>> Recieved exception
>>>>>>> SEVERE: Cannot process data source extension configuration.
>>>>>>>
>>>>>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>>>>>
>>>>>>> Environment - BIRT 2.2
>>>>>>>
>>>>>>> Any advices and suggestions will be appeciated
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Andrey Dulub
>>>>>>>
>>>>>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>>>>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I've extended the oda.jdbc and provided a UI for it. I am able to
>>>>>>>> create a data source and a data set using my custom UIs. The data
>>>>>>>> can be previewed with no problem in design time.
>>>>>>>>
>>>>>>>> However, I am not able to display the data when I deploy the report
>>>>>>>> in the report viewer.
>>>>>>>>
>>>>>>>> The steps that I've followed:
>>>>>>>> 1 - Jarred my two plugins (myODAExtension.jar and
>>>>>>>> myODAExtensionUI.jar) and copied to the BIRT Report Designer's
>>>>>>>> plugins directory 2 - Using the above application, created my
>>>>>>>> reports with no problem using my ODA extensions. Data preview OK.
>>>>>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of
>>>>>>>> the WebViewer
>>>>>>>> 4 - Copied my report to the deploy folder
>>>>>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>>>>>
>>>>>>>> If I change the extension ID's of my data set and data source to the
>>>>>>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs
>>>>>>>> the report works fine.
>>>>>>>>
>>>>>>>> I guess I've missing something.
>>>>>>>> Any help would be welcome.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Kiev Gama
>>>>>>>>
>
|
|
|
Re: Deploying a Report that use my own Data Source and Data Set [message #244653 is a reply to message #244593] |
Mon, 25 June 2007 18:20 |
Snjezana Peco Messages: 789 Registered: July 2009 |
Senior Member |
|
|
You can also look over the
WEB-INF/platform/plugins/configuration/<BIG_NUMBER>.log file and check
if your plugin has been started correctly. It is possible that your
plugin depends on other plugins that you haven't added to the configuration.
You can set
osgi.console=8089
to the config.ini file and explore the configuration using:
telnet <your_host> 8089
You will get the osgi prompt.
The 'ss' command will display installed bundles, for instance.
Regards,
Snjeza
Andrey Dulub wrote:
> Unfortunatelly, any changes - still "java.lang.IllegalArgumentException:
> custom.data.source.id"
> You are rigth, my plugin doesn't available for BIRT viewer application - I
> debugged BIRT vierer under Tomcat.
>
> Best regards,
> Andrey Dulub
>
> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
> news:f5jgmf$lur$1@build.eclipse.org...
>> I am using an RCP application that creates its own classloader. It starts
>> its own web server and a web application using that classloader.
>> Since you are using an independent web application, I suppose
>> that you need to place your plugin in WEB-INF/platform/plugins.
>> If this doesn't work, you probably have started the application the first
>> time without your plugin. Eclipse environment has been configured without
>> your plugin. Adding plugins after configuring Eclipse is ignored. You can
>> solve this issue in the following way:
>> - remove the file
>> WEB-INF/platform/plugins/configuration/org.eclipse.update/pl atform.xml
>> that contains the configuration.
>> - add 'osgi.clean=true' to the
>> WEB-INF/platform/plugins/configuration/config.ini file
>>
>> You wouldn't use 'osgi.clean=true' in production environment.
>>
>> Snjeza
>>
>> Andrey Dulub wrote:
>>> I'm working with BIRT 2.2 and get runtime from its WTP integration
>>> plugin. Runtime has the same 2.2 version.
>>> May be runtime from
>>> eclipse\plugins\org.eclipse.birt.integration.wtp.ui_2.2.0.v2 0070413\runtime\birt.zip
>>> doesn't contain all needed plugins ?
>>> Where I have to place my plugin with ODA Data Source implementation ?
>>>
>>> Thanks,
>>> Andrey
>>>
>>>
>>>
>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>> news:f5hinj$9ug$1@build.eclipse.org...
>>>> Check versions of plugins in your Eclipse and Tomcat.
>>>> You can see a version of a plugin within the name of the plugin's jar
>>>> file or plugin's directory.
>>>>
>>>> Andrey Dulub wrote:
>>>>> Thank you for attention,
>>>>>
>>>>> I 'm not using BIRT extesion points and working with DTP ODA only.
>>>>> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration plugin
>>>>> (zip file with BIRT runtime stored inside this plugin)
>>>>>
>>>>> Andrey
>>>>>
>>>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>>>> news:f5hdrh$c0b$1@build.eclipse.org...
>>>>>> You seem to use BIRT 2.2. A possible reason for your exception is
>>>>>> because BIRT 2.2 no longer supports BIRT ODA extension point
>>>>>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA
>>>>>> extension point.
>>>>>>
>>>>>> If your report works in Eclipse but doesn't work in runtime, you
>>>>>> probably have different versions of BIRT libraries or plugins in
>>>>>> Eclipse and Tomcat.
>>>>>>
>>>>>> Regards,
>>>>>> Snjeza
>>>>>>
>>>>>> Andrey Dulub wrote:
>>>>>>> I have faced with the same problem.
>>>>>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty report
>>>>>>> and error messages in logs
>>>>>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>>>>>> WEB-INF/platform/plugins
>>>>>>>
>>>>>>> Recieved exception
>>>>>>> SEVERE: Cannot process data source extension configuration.
>>>>>>>
>>>>>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>>>>>
>>>>>>> Environment - BIRT 2.2
>>>>>>>
>>>>>>> Any advices and suggestions will be appeciated
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Andrey Dulub
>>>>>>>
>>>>>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>>>>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I've extended the oda.jdbc and provided a UI for it. I am able to
>>>>>>>> create a data source and a data set using my custom UIs. The data
>>>>>>>> can be previewed with no problem in design time.
>>>>>>>>
>>>>>>>> However, I am not able to display the data when I deploy the report
>>>>>>>> in the report viewer.
>>>>>>>>
>>>>>>>> The steps that I've followed:
>>>>>>>> 1 - Jarred my two plugins (myODAExtension.jar and
>>>>>>>> myODAExtensionUI.jar) and copied to the BIRT Report Designer's
>>>>>>>> plugins directory 2 - Using the above application, created my
>>>>>>>> reports with no problem using my ODA extensions. Data preview OK.
>>>>>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of
>>>>>>>> the WebViewer
>>>>>>>> 4 - Copied my report to the deploy folder
>>>>>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>>>>>
>>>>>>>> If I change the extension ID's of my data set and data source to the
>>>>>>>> corresponding org.eclipse.birt.report.data.oda.jdbc extension IDs
>>>>>>>> the report works fine.
>>>>>>>>
>>>>>>>> I guess I've missing something.
>>>>>>>> Any help would be welcome.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Kiev Gama
>>>>>>>>
>
|
|
| | | |
Re: Deploying a Report that use my own Data Source and Data Set [message #244821 is a reply to message #244653] |
Tue, 26 June 2007 10:45 |
Eclipse User |
|
|
|
Originally posted by: andrey.gmail.com
Thank you very much, Snjeza
You are exactly right - reason is unresolved dependencies.
Problem solved
Best regards,
Andrey
"Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
news:f5p10j$tnk$1@build.eclipse.org...
> You can also look over the
> WEB-INF/platform/plugins/configuration/<BIG_NUMBER>.log file and check if
> your plugin has been started correctly. It is possible that your plugin
> depends on other plugins that you haven't added to the configuration.
> You can set
> osgi.console=8089
> to the config.ini file and explore the configuration using:
> telnet <your_host> 8089
>
> You will get the osgi prompt.
> The 'ss' command will display installed bundles, for instance.
>
> Regards,
> Snjeza
>
>
> Andrey Dulub wrote:
>> Unfortunatelly, any changes - still "java.lang.IllegalArgumentException:
>> custom.data.source.id"
>> You are rigth, my plugin doesn't available for BIRT viewer application -
>> I debugged BIRT vierer under Tomcat.
>>
>> Best regards,
>> Andrey Dulub
>>
>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>> news:f5jgmf$lur$1@build.eclipse.org...
>>> I am using an RCP application that creates its own classloader. It
>>> starts its own web server and a web application using that classloader.
>>> Since you are using an independent web application, I suppose
>>> that you need to place your plugin in WEB-INF/platform/plugins.
>>> If this doesn't work, you probably have started the application the
>>> first time without your plugin. Eclipse environment has been configured
>>> without your plugin. Adding plugins after configuring Eclipse is
>>> ignored. You can solve this issue in the following way:
>>> - remove the file
>>> WEB-INF/platform/plugins/configuration/org.eclipse.update/pl atform.xml
>>> that contains the configuration.
>>> - add 'osgi.clean=true' to the
>>> WEB-INF/platform/plugins/configuration/config.ini file
>>>
>>> You wouldn't use 'osgi.clean=true' in production environment.
>>>
>>> Snjeza
>>>
>>> Andrey Dulub wrote:
>>>> I'm working with BIRT 2.2 and get runtime from its WTP integration
>>>> plugin. Runtime has the same 2.2 version.
>>>> May be runtime from
>>>> eclipse\plugins\org.eclipse.birt.integration.wtp.ui_2.2.0.v2 0070413\runtime\birt.zip
>>>> doesn't contain all needed plugins ?
>>>> Where I have to place my plugin with ODA Data Source implementation ?
>>>>
>>>> Thanks,
>>>> Andrey
>>>>
>>>>
>>>>
>>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>>> news:f5hinj$9ug$1@build.eclipse.org...
>>>>> Check versions of plugins in your Eclipse and Tomcat.
>>>>> You can see a version of a plugin within the name of the plugin's jar
>>>>> file or plugin's directory.
>>>>>
>>>>> Andrey Dulub wrote:
>>>>>> Thank you for attention,
>>>>>>
>>>>>> I 'm not using BIRT extesion points and working with DTP ODA only.
>>>>>> On the Tomcat I deployed BIRT runtime from BIRT/WTP integration
>>>>>> plugin (zip file with BIRT runtime stored inside this plugin)
>>>>>>
>>>>>> Andrey
>>>>>>
>>>>>> "Snjezana Peco" <snjeza.peco@gmail.com> wrote in message
>>>>>> news:f5hdrh$c0b$1@build.eclipse.org...
>>>>>>> You seem to use BIRT 2.2. A possible reason for your exception is
>>>>>>> because BIRT 2.2 no longer supports BIRT ODA extension point
>>>>>>> (org.eclipse.birt.data.oda.dataSource) and supports only DTP ODA
>>>>>>> extension point.
>>>>>>>
>>>>>>> If your report works in Eclipse but doesn't work in runtime, you
>>>>>>> probably have different versions of BIRT libraries or plugins in
>>>>>>> Eclipse and Tomcat.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Snjeza
>>>>>>>
>>>>>>> Andrey Dulub wrote:
>>>>>>>> I have faced with the same problem.
>>>>>>>> Under Eclipse all works fine, in runtime (Tomcat 5.5) - empty
>>>>>>>> report and error messages in logs
>>>>>>>> Pligin with custom ODA Runtime Driver implementation was placed in
>>>>>>>> WEB-INF/platform/plugins
>>>>>>>>
>>>>>>>> Recieved exception
>>>>>>>> SEVERE: Cannot process data source extension configuration.
>>>>>>>>
>>>>>>>> java.lang.IllegalArgumentException: custom.data.source.id
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.datatools.connectivity.oda.util.manifest.Manifes tExplorer.getExtensionManifest(ManifestExplorer.java:163)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverM anifest(Driver.java:147)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSour ceExtensionConfig(Driver.java:123)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExt ensionConfig(Driver.java:78)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getExtension Config(Driver.java:60)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHel per(Driver.java:93)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDr iverHelper(DriverManager.java:86)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.o penConnection(ConnectionManager.java:136)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.executor.DataSource.newConnecti on(DataSource.java:134)
>>>>>>>>
>>>>>>>> at
>>>>>>>> org.eclipse.birt.data.engine.executor.DataSource.open(DataSo urce.java:121)
>>>>>>>>
>>>>>>>> Environment - BIRT 2.2
>>>>>>>>
>>>>>>>> Any advices and suggestions will be appeciated
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Andrey Dulub
>>>>>>>>
>>>>>>>> "Kiev Gama" <kiev.gama@fpf.br> wrote in message
>>>>>>>> news:7a5059c1780fc1a6ae03e52ff04ddabe$1@www.eclipse.org...
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I've extended the oda.jdbc and provided a UI for it. I am able to
>>>>>>>>> create a data source and a data set using my custom UIs. The data
>>>>>>>>> can be previewed with no problem in design time.
>>>>>>>>>
>>>>>>>>> However, I am not able to display the data when I deploy the
>>>>>>>>> report in the report viewer.
>>>>>>>>>
>>>>>>>>> The steps that I've followed:
>>>>>>>>> 1 - Jarred my two plugins (myODAExtension.jar and
>>>>>>>>> myODAExtensionUI.jar) and copied to the BIRT Report Designer's
>>>>>>>>> plugins directory 2 - Using the above application, created my
>>>>>>>>> reports with no problem using my ODA extensions. Data preview OK.
>>>>>>>>> 3 - Copied the myODAExtension.jar file to the plugins directory of
>>>>>>>>> the WebViewer
>>>>>>>>> 4 - Copied my report to the deploy folder
>>>>>>>>> 5 - Result: Just the column names are displayed. No data at all.
>>>>>>>>>
>>>>>>>>> If I change the extension ID's of my data set and data source to
>>>>>>>>> the corresponding org.eclipse.birt.report.data.oda.jdbc extension
>>>>>>>>> IDs the report works fine.
>>>>>>>>>
>>>>>>>>> I guess I've missing something.
>>>>>>>>> Any help would be welcome.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> Kiev Gama
>>>>>>>>>
>>
|
|
| |
Goto Forum:
Current Time: Thu Jan 02 16:06:36 GMT 2025
Powered by FUDForum. Page generated in 0.03975 seconds
|