What may happen is that the classloader where your connector class is loaded is different from the classloader where it is used, preventing the load of the classpath resource.
Try with:
Thread.currentThread().getContextClassLoader().getResourceAsStream(configFile)