Project: springxd
Issue XD-2111: JDBC driver classpath issues for custom job modules
There is a class-loader issue when defining JDBC driver/pool dataSource for a custom job module. If I use the Tomcat DataSource it pulls the driver classes from /xd/lib, but if I use a DataSource class that's not loaded by the XD runtime like SimpleDriverDataSource then it pulls the jdbc driver jars from my job module's lib directory which I was expecting since the JDBC drivers I'm using are not delivered as part of XD. The whole class-loading scheme for custom modules needs either better documentation or improvement. Currently it's difficult to tell where classes will be loaded from and what classes are available on the server classpath and which classes have already been loaded.
Story points: 3