Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:55 Go to next message
Tony M is currently offline Tony MFriend
Messages: 7
Registered: December 2011
Location: Lodon
Junior Member
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] Wed, 28 March 2012 03:19 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 07:48 Go to previous messageGo to next message
Tony M is currently offline Tony MFriend
Messages: 7
Registered: December 2011
Location: Lodon
Junior Member
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] Wed, 31 October 2012 03:28 Go to previous message
Puneet Nebhani is currently offline Puneet NebhaniFriend
Messages: 2
Registered: October 2012
Junior Member
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 Apr 25 08:29:51 GMT 2024

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

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

Back to the top