Skip to main content



      Home
Home » Archived » BIRT » runtime connection profile change not working
runtime connection profile change not working [message #250567] Tue, 31 July 2007 12:50 Go to next message
Eclipse UserFriend
Hi

I work with a webapp under Tomcat 5.5, when deploying a profile different
than the one used in development, the connection information from profile
is not used.
I read ProfilePropertyProviderImpl.java. Then I have updated the
Connection Profile Store Url to a url like "file:/// "
(the log show this as OdaConnProfileStorePath). I have given a valid url,
but the information from the connection profile is not used

The idea is to have developers work with a development database, and have
the project manager deploy the app with a connection profile with the same
file name, but different database, user and password. The project manager
does not make the change with Eclipse, it only copies a different profile
file.

Remark: When working in the Eclipse development environment, any update to
the connection profile is updated into report datasource definition.
Apparently report uses the information copied into .rptdesign file

I have also search the news and found similar problems. Linda Chan replied
someone changes the profile and oda framework merges the properties.
However someone can reproduce the situation I have described by using
BirtViewerExample with Tomcat, deploying there a report, and then changing
the connection profile.

Does someone have an example of a working configuration like the one
described?
Could someone give an example of a valid connection profile file url?

Thanks
Re: runtime connection profile change not working [message #251916 is a reply to message #250567] Thu, 09 August 2007 18:11 Go to previous message
Eclipse UserFriend
We found that some Eclipse plugins are missing in the BIRT Runtime
packaging. As a result, the plugin responsible for the lookup of connection
properties from an external connection profile is not loaded.
This will be fixed in BIRT 2.2.1, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=199233 .
In the mean time, you can workaround it by manually adding those 3 missing
Eclipse plugins in your BIRT web application installation, under the
ReportEngine/plugins folder.

Linda

"rcuevas" <rcnunhes@gmail.com> wrote in message
news:0e7f8481a9f38fc74db418049e36e529$1@www.eclipse.org...
> Hi
>
> I work with a webapp under Tomcat 5.5, when deploying a profile different
> than the one used in development, the connection information from profile
> is not used. I read ProfilePropertyProviderImpl.java. Then I have updated
> the Connection Profile Store Url to a url like "file:/// " (the log show
> this as OdaConnProfileStorePath). I have given a valid url, but the
> information from the connection profile is not used
>
> The idea is to have developers work with a development database, and have
> the project manager deploy the app with a connection profile with the same
> file name, but different database, user and password. The project manager
> does not make the change with Eclipse, it only copies a different profile
> file.
>
> Remark: When working in the Eclipse development environment, any update to
> the connection profile is updated into report datasource definition.
> Apparently report uses the information copied into .rptdesign file
>
> I have also search the news and found similar problems. Linda Chan replied
> someone changes the profile and oda framework merges the properties.
> However someone can reproduce the situation I have described by using
> BirtViewerExample with Tomcat, deploying there a report, and then changing
> the connection profile.
>
> Does someone have an example of a working configuration like the one
> described?
> Could someone give an example of a valid connection profile file url?
>
> Thanks
>
>
>
Previous Topic:Parameter Localization
Next Topic:How to do custom ordering for Crosstab columns?
Goto Forum:
  


Current Time: Tue Jul 15 12:12:16 EDT 2025

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

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

Back to the top