try SecurityActions.setThreadContextClassLoader(SecurityActions.getClassLoader(rar.getClass())); SecurityActions.setThreadContextClassLoader(oldTCCL);
try SecurityActions.setThreadContextClassLoader(SecurityActions.getClassLoader(rar.getClass())); SecurityActions.setThreadContextClassLoader(oldTCCL);