Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313591 - Add JNDI Support for Eclipse Report Viewer
Summary: Add JNDI Support for Eclipse Report Viewer
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Zhang Lei CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 14:03 EDT by Marty Jones CLA
Modified: 2010-07-22 05:09 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marty Jones CLA 2010-05-19 14:03:02 EDT
Can you add JNDI support to the embedded Jetty web server that Eclipse uses for the Birt Report Designer?  By adding jndi support to this server, you would only have to specify the jndi settings on the report DataSource instead of having to supply normal jdbc connection parameters as well as JNDI parameters.  

The big problem I have with this is that if you don't use the same username and password between your dev, test, and production environments then the deployed web server will fail at getting connections if you have specified the username and password from your development database and you are now testing against your test database.

The one thing that stays consistent is the jndi datasource name.  So if you add jndi support to the Jetty server used in the Report Designer then there would be no changes to the report or report library moving the report from one environment to the next.
Comment 1 Linda Chan CLA 2010-05-19 18:55:21 EDT
To set different username/password values based on your deployment environment, you can externalize the connection properties to a connection profile.  This way, only the external connection profile's content need to be adjusted to each deployment installation, and the report design stays the same.