You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Srinivas Kashyap <sr...@bamboorose.com.INVALID> on 2021/02/26 09:42:55 UTC
Jetty JNDI connection pooling
Hi,
Our datasource is oracle db and we are pulling data to solr through JDBC(DIH). I have below entry in jetty.xml
<New id="OracleDB" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>jdbc/tss</Arg>
<Arg>
<New class="oracle.jdbc.pool.OracleDataSource">
<Set name="DriverType">thin</Set>
<Set name="URL">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:1521:ORCL</Set>
<Set name="User">XXXXXXXXXXXXXXX</Set>
<Set name="Password">XXXXXXXXXXXXXXXXXXX</Set>
</New>
</Arg>
</New>
And we have added below entry in server/solr-webapp/webapp/WEB-INF/web.xml
<resource-ref>
<res-ref-name>jdbc/tss</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
What is the default connection pool limit for this datasource? Also, how to set the max connections that can be made from jetty?
Thanks,
Srinivas
________________________________
DISCLAIMER:
E-mails and attachments from Bamboo Rose, LLC are confidential.
If you are not the intended recipient, please notify the sender immediately by replying to the e-mail, and then delete it without making copies or using it in any way.
No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient.
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.