Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
jndi vs jdbc, how's it supposed to work?
badhorse
We have both jdbc credentials and jndi url defined in our reports. We discovered that at runtime the jndi url wasn't being used unless we took out the jdbc credentials or otherwise made them invalid. Changing the hostname in the jdbc url to a non-existent host, caused runtime to use the jndi url, but it still used the jdbc credentials!
Isn't the purpose to be able to develop reports with jdbc and deploy using jndi, so that jndi is used if found and jdbc is used as a fallback? That's the way I described it to the guys testing the database, but it sure looks like I described it wrong.
Is this a bug?
Does anyone know of a way to define a jndi resource to eclipse so that we can have a single jndi reference and don't have to strip the jdbc creds from our rptdesigns to force jndi to be used?
Find more posts tagged with
Comments
mwilliams
Hi badhorse,<br />
<br />
Here are some posts from the Newsgroup mirror and a bug report that may help:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/forum/eclipse-birt-newsgroup-mirror/3646-jndi-datasource.html'>http://www.birt-exchange.com/forum/eclipse-birt-newsgroup-mirror/3646-jndi-datasource.html</a><br
/>
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/forum/eclipse-birt-newsgroup-mirror/6441-jndi-datasource.html'>http://www.birt-exchange.com/forum/eclipse-birt-newsgroup-mirror/6441-jndi-datasource.html</a><br
/>
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/forum/eclipse-birt-newsgroup-mirror/3801-jndi-username-password.html'>http://www.birt-exchange.com/forum/eclipse-birt-newsgroup-mirror/3801-jndi-username-password.html</a><br
/>
<br />
<a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150965'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=150965</a><br
/>
<br />
You may have seen all of these already in your searching.
badhorse
Thanks Michael, this looks like one of those things that folks just learn to deal with, I guess I will too. :-)
J