Quartz scheduled jobs could not access datasource in Websphere
问题 I am developing a web app where batch programs need to run for specific times. I used Quartz library to schedule the jobs. The web app is deployed on Websphere 8.5.5 and its working fine, accessing the tables through datasources (Datasource given in code is java:comp/env/jdbc/db_datasource ). The job is also triggered at the mentioned times. I am getting an error when the scheduled job makes a DB connection through the datasource and the error is: javax.naming.ConfigurationException: A JNDI