diff --git a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Authenticate.java b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Authenticate.java index 49146b49..55272fa4 100644 --- a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Authenticate.java +++ b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Authenticate.java @@ -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); diff --git a/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in b/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in index 61245708..27ad2e56 100644 --- a/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in +++ b/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in @@ -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)