Red Hat Bugzilla – Bug 456873
java.lang.IllegalStateException on client.auth.logout (XMLRPC)
Last modified: 2008-11-05 13:41:27 EST
+++ 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
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 email@example.com on 2008-07-08 14:23 EST --
This also happened just now when calling client.auth.login()
-- Additional comment from firstname.lastname@example.org on 2008-07-15 18:23 EST --
Here is a local bugreport that has a full trace:
-- Additional comment from email@example.com 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
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
Committed revision 175626
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
observe no IllegalStateException in log.
[root@fjs-0-01 /]# ./auth.login.py
5.2.0 Satellite is now GA, bugs Closed for Current Release.