JCrontab uses the old "Class.forName()" method of obtaining a
class given its name, rather than the preferred "Thread.
currentThread().getContextClassLoader().loadClass()".
See this article for a detailed description of why the current approach
will not work in J2EE applications:
http://www.develop.com/downloads/DynLoad.zip
Or this post:
http://64.233.167.104/search?q=cache:h9nJ26r14akJ:www.
mail-archive.com/struts-dev%40jakarta.apache.org/msg01232.
html+%2B%22Class.forName%22+%2Bpreferred+-JDBC+%
2Bgetcontextclassloader&hl=en
My patch corrects all uses of Class.forName() in the 1.4.1 branch,
allowing JCrontab to be embedded in J2EE applications.
The only downside is that the context class loader didn't exist in
jdk1.1, so jdk1.2 or higher will be required.
If you have any questions please drop me a note at
dgilliland62@users.sourceforge.net.
--David
jar containing only the affected source files