I'm using Actuate 11 M9 beta, deploying its war file into a jboss 4.2.3 server. It's working well except when I try to switch from a direct jdbc connection to a pooled jndi data source.<br />
<br />
I've read lots of other threads and the new document by vdodson: <a class='bbc_url' href='
http://www.birt-exchange.org/modules/wfdownloads/singlefile.php?cid=5&lid=1055'>Using the BIRT Viewer with JBoss - Articles - BIRT Exchange</a>. My situation differs from the latter document in that I'm using different birt and jboss versions, of course.<br />
<br />
When I follow all the advice I've seen there is no indication in the reporting log file or the jmx console that a jndi connection is being tried. I have logging set to FINE (also tried FINER and FINEST) and the only entries have to do with direct jdbc. <br />
<br />
Here's the data source from my test report:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<data-sources>
<oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="27">
<property name="odaDriverClass">com.mysql.jdbc.Driver</property>
<property name="odaURL">jdbc:mysql://localhost:3306/mydb</property>
<property name="odaUser">dev</property>
<encrypted-property name="odaPassword" encryptionID="base64">ZGV2</encrypted-property>
<property name="odaJndiName">java:/MyDB</property>
</oda-data-source>
</data-sources>
</pre>
<br />
The jndi data source is definitely functional since it is in use by other parts of the web app. I see its entry in the jndi tree.<br />
<br />
I've tried many variations on the data source definition above, including changing the odaURL property to be incorrect. In that case the connection fails with a jdbc error. The user and password are valid for both the jdbc connection and the jndi connection.<br />
<br />
Any additional advice on getting this to work in my situation? Why would I see no indication that jndi is being attempted?<br />
<br />
Thanks,<br />
Kim