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)
connection pooling
mh10
can anybody explain me abount connection pooling with BIRT datasource.
Step by step instruction will be helpful.
Thanks
Find more posts tagged with
Comments
JasonW
Are you using connection pooling with JNDI or are you implementing your own?<br />
<br />
What app server are you using?<br />
<br />
Look here for Tomcat:<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Data_Access#Q:_How_can_I_pass_a_connection_object_to_BIRT.3F'>BIRT/FAQ/Data
Access - Eclipsepedia</a><br />
<br />
Jason
mh10
Yes i am looking to use connection pooling with JNDI.<br />
<br />
Also, while creating datasource, when we specify driver information, username, password, JNDI url. How it works.....<br />
does it connect using JNDI connection pool first? <br />
<br />
I am using Sun Application server - glassfish v2<br />
<br />
<br />
<br />
Thanks<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="JasonW"><p>Are you using connection pooling with JNDI or are you implementing your own?<br />
<br />
What app server are you using?<br />
<br />
Look here for Tomcat:<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Data_Access#Q:_How_can_I_pass_a_connection_object_to_BIRT.3F'>BIRT/FAQ/Data
Access - Eclipsepedia</a><br />
<br />
Jason</p></blockquote>
JasonW
It will try the JNDI entry first. If it is not located it will then use the user and pass defined in the report.
mh10
can we know that ....whether entered JNDI entry is working right or wrong ......on BIRT end<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="JasonW"><p>It will try the JNDI entry first. If it is not located it will then use the user and pass defined in the report.</p></blockquote>
JasonW
I believe there is a log entry, but if you want to verify just put invalid credentials in user and pass fields and deploy the report and run it. Note in the designer it always uses the user/pass credentials (although these can be in a connection profile).
Jason
mh10
Hi jason,<br />
<br />
I tried with wrong credentials in user and pass fields and deployed the report and ran it.<br />
It is giving me invalid credential Error.<br />
<br />
then i tried with just Driver Class and JNDI url name......it is also giving me connection error.<br />
<br />
while the JNDI url which i am using is working fine with my other java applications.<br />
<br />
Why this is happening?<br />
I am using BIRT 2.3.2, Sun java Application Server 9.1_02<br />
<br />
<br />
Any suggestions?<br />
<br />
<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="JasonW"><p>I believe there is a log entry, but if you want to verify just put invalid credentials in user and pass fields and deploy the report and run it. Note in the designer it always uses the user/pass credentials (although these can be in a connection profile).<br />
<br />
Jason</p></blockquote>
JasonW
Make sure it has a driver class, url, urser and pwd fields in addition to the jndi entry and set the log level to finest and run it again. Post the log file.
Jason
mh10
Jason,<br />
How can i set log levels in BIRT reports?<br />
<br />
<br />
Thanks<br />
<br />
<blockquote class='ipsBlockquote' data-author="JasonW"><p>Make sure it has a driver class, url, urser and pwd fields in addition to the jndi entry and set the log level to finest and run it again. Post the log file.<br />
<br />
Jason</p></blockquote>
JasonW
If you are using the viewer there is a setting for log level in the web.xml.
Jason