Skip to main content



      Home
Home » Archived » BIRT » JNDI configuration for BIRT report designer(BIRT RCP Report Designer 3.7.1 JNDI configuration)
JNDI configuration for BIRT report designer [message #830084] Tue, 27 March 2012 02:55 Go to next message
Eclipse UserFriend
Hi everyone,

I am trying to configure a JNDI for my report design so it can dynamically load the database properties from a JNDI file (.xml extension) which is already been used by my application and deployed under jboss deploy directory.

I am using BIRT RCP REPORT DESIGNER 3.7.1 and i have been trying to achieve this for over two days now.

Any help would be appreciated guys

Thanks a lot

Tony
Re: JNDI configuration for BIRT report designer [message #830772 is a reply to message #830084] Tue, 27 March 2012 23:19 Go to previous messageGo to next message
Eclipse UserFriend
I assume you do not want to use the connection profile mechanisms which
store the connection properties in a file. How do you read the jndi
properties in your current application. You should be able to write
similar code in the property binding expression for the data source.

Jason

On 3/27/2012 2:55 AM, Tony M wrote:
> Hi everyone,
>
> I am trying to configure a JNDI for my report design so it can
> dynamically load the database properties from a JNDI file (.xml
> extension) which is already been used by my application and deployed
> under jboss deploy directory.
>
> I am using BIRT RCP REPORT DESIGNER 3.7.1 and i have been trying to
> achieve this for over two days now.
>
> Any help would be appreciated guys
>
> Thanks a lot
> Tony
Re: JNDI configuration for BIRT report designer [message #830903 is a reply to message #830772] Wed, 28 March 2012 03:48 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the reply Jason,

It is solved now. I am not using the connection profile. My application uses the JNDI file deployed under JBOSS through the hibernate configuration file using this property "<property name="hibernate.connection.datasource">java:jndiName</property>" under the session factory configuration.

So i used the same "java:jndiName" for the jndi URL in the rcp designer under the data source editing window and that worked well. All i have to specify is the driver class, which in my case is "com.mysql.jdbc.Driver (v5.1)".

We have to note that at this point, i cannot test the connection. This will only be validated while using the design in production.

Tony
Re: JNDI configuration for BIRT report designer [message #965178 is a reply to message #830903] Tue, 30 October 2012 23:28 Go to previous message
Eclipse UserFriend
Thanks Tony,

Your last line made my code working.

Puneet
Previous Topic:Showing aggregated data in table 1 in table 2
Next Topic:Bell Curve Chart in BIRT
Goto Forum:
  


Current Time: Thu Jul 03 07:43:36 EDT 2025

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

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

Back to the top