Bug 454474 - java.lang.IllegalStateException on client.auth.logout (XMLRPC)
Summary: java.lang.IllegalStateException on client.auth.logout (XMLRPC)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 0.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jesus M. Rodriguez
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space02
TreeView+ depends on / blocked
 
Reported: 2008-07-08 18:21 UTC by Michael DeHaan
Modified: 2009-09-17 06:59 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-17 06:59:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael DeHaan 2008-07-08 18:21:32 UTC
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. '>

Comment 1 Michael DeHaan 2008-07-08 18:23:32 UTC
This also happened just now when calling client.auth.login()

Comment 2 Michael DeHaan 2008-07-15 22:23:11 UTC
Here is a local bugreport that has a full trace:

https://www.redhat.com/archives/spacewalk-list/2008-July/msg00118.html


Comment 3 Miroslav Suchý 2008-07-24 11:17:30 UTC
This happen sat5.2 too. There we have java-1.5.0-ibm. So it is not related to
java 1.6.

Comment 4 Jesus M. Rodriguez 2008-07-29 18:53:13 UTC
This was related to building the code using commons-lang-2.0 and running with
commons-lang 2.1. Also, velocity-deps-1.5 included its own copy of StopWatch.

I've updated to commons-lang 2.1, and uses velocity-1.5 jar without all of its
dependencies, which is the proper way of doing it.

Comment 6 Devan Goodwin 2008-09-05 14:41:43 UTC
Verified logout now working in spacewalk 0.2.

Comment 7 Miroslav Suchý 2009-09-17 06:59:31 UTC
Spacewalk is released for long time.


Note You need to log in before you can comment on or make changes to this bug.