BIRT Exchange Forum: Dynamically use different datasource in environment and birt report designer - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dynamically use different datasource in environment and birt report designer Rate Topic: -----

#1 User is offline   shazia Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 32
  • Joined: 19-July 12


Posted 02 August 2012 - 12:05 AM

Hi,

im using webviewerexample embedded in my war-file, and build with maven

i want to use different database-configuration for the database for different environments (development/test/production) and the birt report designer. What is the best dynamically way to do this ?

i thought using jndi configuration. Ive done this, and now my tomcat has configured the jndi and i state the jndi when i create the datasource in the birt report designer. All good. But the jndi does not work at design time in the Birt Report Designer...what to do to make it work at design time

any suggestions or ideas ?
0

#2 User is offline   shazia Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 32
  • Joined: 19-July 12


Posted 02 August 2012 - 01:00 AM

its ok, i found out that one can state both the jndi url and database-url in the designer....in design time the database-url takes presedence, and on tomcat the jndi takes presedence, great stuff :)
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users