Continuation of changes to make use of log4j.
This commit is contained in:
		| @@ -130,7 +130,8 @@ public final class Authenticate implements RpcMethod | ||||
|                                  URL[] urls = new URL[]{methClassPathUrl}; | ||||
|  | ||||
|                                  // Create a class loader for the folder | ||||
|                                  ClassLoader customClassLoader = new URLClassLoader(urls); | ||||
|                                  ClassLoader customClassLoader = new URLClassLoader(urls, | ||||
|                                                                                     this.getClass().getClassLoader()); | ||||
|  | ||||
|                                  // Load the mech class using our custom loader | ||||
|                                  Class<?> mechClass = customClassLoader.loadClass(mechClassName); | ||||
|   | ||||
| @@ -252,11 +252,6 @@ rm -f /srv/www/casaats/conf/server.xml | ||||
| %restart_on_update casa_atsd  | ||||
| %insserv_cleanup | ||||
|  | ||||
| # Do not do anything else if this is an upgrade | ||||
| if test "$1" == 1; then | ||||
|         exit 0 | ||||
| fi | ||||
|  | ||||
|  | ||||
| %files | ||||
| %defattr(-,root,root) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user