title: How to create BIRT Reporting Data Source using JNDI?
body: <p>I want to create BIRT Report which uses JNDI as it's Data Source. I use Tomcat 7 Server and PostgreSQL Database. I searched it at Google but couldn't find any exact instructions I need. I already add the following at the Tomcat's <b>context.xml</b>.</p>
  
  <pre><code>&lt;Resource name="jdbc/myapp" auth="Container" type="javax.sql.DataSource"
  driverClassName="org.postgresql.Driver" url="jdbc:postgresql://localhost:5432/myapp"
  username="postgres" password="postgres" maxActive="100" maxIdle="30" maxWait="-1" /&gt;
  </code></pre>
  
  <p>Then, I create the Data Source at BIRT Designer. Right Click > New Data Source > JDBC Data Source and enter " jdbc/myapp " at JNDI URL. When I click " Test Connection ", <b>" The selected driver cannot parse the given JNDI Data Source URL. "</b> I have no idea and any help is really appreciated. Thanks in advance!</p>