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}; |                                  URL[] urls = new URL[]{methClassPathUrl}; | ||||||
|  |  | ||||||
|                                  // Create a class loader for the folder |                                  // 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 |                                  // Load the mech class using our custom loader | ||||||
|                                  Class<?> mechClass = customClassLoader.loadClass(mechClassName); |                                  Class<?> mechClass = customClassLoader.loadClass(mechClassName); | ||||||
|   | |||||||
| @@ -252,11 +252,6 @@ rm -f /srv/www/casaats/conf/server.xml | |||||||
| %restart_on_update casa_atsd  | %restart_on_update casa_atsd  | ||||||
| %insserv_cleanup | %insserv_cleanup | ||||||
|  |  | ||||||
| # Do not do anything else if this is an upgrade |  | ||||||
| if test "$1" == 1; then |  | ||||||
|         exit 0 |  | ||||||
| fi |  | ||||||
|  |  | ||||||
|  |  | ||||||
| %files | %files | ||||||
| %defattr(-,root,root) | %defattr(-,root,root) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user