Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » JNDI DataSource question
JNDI DataSource question [message #519953] Wed, 10 March 2010 15:52 Go to next message
Craig M is currently offline Craig MFriend
Messages: 19
Registered: July 2009
Junior Member
I understand how to setup a JNDI DataSource in my server environment and get it working there. How can I configure that JNDI DataSource in the BIRT report designer so I can test my reports against real data without having to specify the JDBC URL and credentials?
Re: JNDI DataSource question [message #520050 is a reply to message #519953] Wed, 10 March 2010 23:58 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Craig,

Take a look at this article. Although its for JBOSS it shows how to
configure the report to use JNDI.
http://www.birt-exchange.org/devshare/deploying-birt-reports /1055-using-the-birt-viewer-with-jboss/#description

Jason

Craig M wrote:
> I understand how to setup a JNDI DataSource in my server environment and
> get it working there. How can I configure that JNDI DataSource in the
> BIRT report designer so I can test my reports against real data without
> having to specify the JDBC URL and credentials?
Re: JNDI DataSource question [message #520058 is a reply to message #520050] Thu, 11 March 2010 00:42 Go to previous messageGo to next message
Craig M is currently offline Craig MFriend
Messages: 19
Registered: July 2009
Junior Member
So basically, if you have defined a JDBC URL *and* a JNDI name, the report engine will attempt to lookup the JNDI DataSource first. So I can configure my development database connection for use in the Eclipse environment, and in my app server it will ignore that and use the JNDI DataSource. Thanks!
Re: JNDI DataSource question [message #520243 is a reply to message #520058] Thu, 11 March 2010 16:44 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Correct

Craig M wrote:
> So basically, if you have defined a JDBC URL *and* a JNDI name, the
> report engine will attempt to lookup the JNDI DataSource first. So I can
> configure my development database connection for use in the Eclipse
> environment, and in my app server it will ignore that and use the JNDI
> DataSource. Thanks!
Previous Topic:Problem with Scripted DataSource and POJOs
Next Topic:More than one default value for Combo/List
Goto Forum:
  


Current Time: Fri Apr 26 11:54:28 GMT 2024

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

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

Back to the top