+++ This bug was initially created as a clone of Bug #454474 +++ Description of problem: I'm attempting to write a cobbler authn_spacewalk module to authenticate Cobbler's XMLRPC against Spacewalk's XMLRPC. Calling logout generated the following remote traceback when using https://rlx-3-24.rhndev.redhat.com as my test server. 2008-07-08 14:17:59,093 - remote - Exception occured: <class 'xmlrpclib.Fault'> 2008-07-08 14:17:59,094 - remote - Exception value: <Fault -1: 'java.lang.IllegalStateException: Stopwatch must be reset before being restarted. '> -- Additional comment from mdehaan on 2008-07-08 14:23 EST -- This also happened just now when calling client.auth.login() -- Additional comment from mdehaan on 2008-07-15 18:23 EST -- Here is a local bugreport that has a full trace: https://www.redhat.com/archives/spacewalk-list/2008-July/msg00118.html -- Additional comment from msuchy on 2008-07-24 07:17 EST -- This happen sat5.2 too. There we have java-1.5.0-ibm. So it is not related to java 1.6.
replaced commons-lang-2.0-src.jar with 2.1 version. update ivy.xml to point to 2.1 instead of 2.0 update rhn-java.spec to require commons-lang 2.1 finally, updated LoggingInvocationProcessor to reset StopWatch before starting.
Committed revision 175626
TEST PLAN ---------- Write a python script that calls auth.login then auth.logout. Tail the log (tail -f /var/log/tomcat5/catalina.out) as you run script. I'm attaching a test script.
Created attachment 314939 [details] python script that calls auth.login and auth.logout Update script to include the url to your satellite, username, password. chmod +x auth.login.py ./auth.login.py observe no IllegalStateException in log.
verified
[root@fjs-0-01 /]# ./auth.login.py 23x1e6e91a983271b724df8c56ffe7f2ca6 Verified
5.2.0 Satellite is now GA, bugs Closed for Current Release.