Re: Curious case of DataSource.getConnection()

2016-04-12 Thread Shalin Shekhar Mangar
What is this Solr scheduler class? Is that your own custom code? None of the information or code snippets in your email related to a Solr problem. I guess you are looking to troubleshoot a DB connectivity problem and it would be better to ask this on stackoverflow. On Tue, Apr 12, 2016 at 4:01

Curious case of DataSource.getConnection()

2016-04-12 Thread Srinivas Kashyap
Hi, In a Solr scheduler class which runs every 'n' interval of seconds, i'm polling a database table to do some custom job. I'm getting the connection to database, through context file as below: try { Context initContext = new InitialContext();