Bug 534287 (RHQ-1099)

Summary: Error processing Web Service return value for updateConfiguration services
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: No ComponentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: asantos, cwelton
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1099
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-02 20:12:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 535516, 565628    

Description Jay Shaughnessy 2008-11-10 20:18:00 UTC
The updateConfiguration API calls return PluginResourceUpdate or ResourceConfigurationUpdate depending on the config type. When called remotely via jbossws we get an error:

[com.sun.istack.SAXException2: A cycle is detected in the object graph. This will cause infinitely deep XML: ResourceConfigurationUpdate[status=In Progress,
configuration=Configuration[id=503052, notes=null], 
  subjectName=ws-test,   
  createdTime=1226344038239, 
  modifiedTime=1226344038240, 
  errorMessage=null,
  id=501051,
  resource=Resource[id=500055,   *************** LOOKS LIKE THIS RESOURCE RECURSES **************
    type=JBossAS Server, 
    key=C:\Eclipse-ws\rhq\dev-container\jbossas\server\default, 
     name=jshaughnessy-PC RHQ Server,  
    JBossAS 4.2.1.GA default (0.0.0.0:2099), 
    version=4.2.1.GA]] -> 
       Resource[id=500055, *************** HERE IT IS AGAIN ***************
       type=JBossAS Server, 
       key=C:\Eclipse-ws\rhq\dev-container\jbossas\server\default, 
       name=jshaughnessy-PC RHQ Server,  
      JBossAS 4.2.1.GA default (0.0.0.0:2099), 
      version=4.2.1.GA] ->  
        ResourceConfigurationUpdate[status=In Progress,configuration=Configuration[id=503052, 
        notes=null], subjectName=ws-test,createdTime=1226344038239, 
        modifiedTime=1226344038240, 
        errorMessage=null, id=501051, 
        resource=Resource[id=500055,   *************** AGAIN ***************
          type=JBossAS Server, 
          key=C:\Eclipse-ws\rhq\dev-container\jbossas\server\default, 
          name=jshaughnessy-PC RHQ Server,  
         JBossAS 4.2.1.GA default (0.0.0.0:2099), version=4.2.1.GA]]]

The update succeeds, this is in the return processing

Comment 1 Jay Shaughnessy 2008-11-20 20:28:30 UTC
This most likely needs judicious placement of an @XmlTransient


Comment 2 Jay Shaughnessy 2009-06-30 17:41:26 UTC
We're first working to get java clients working via jboss remoting.  After that we'll revisit WS clients and jaxb serialization issues.

Comment 3 Red Hat Bugzilla 2009-11-10 20:23:54 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1099


Comment 4 wes hayutin 2010-02-16 16:59:31 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 5 wes hayutin 2010-02-16 17:04:40 UTC
making sure we're not missing any bugs in rhq_triage

Comment 6 Corey Welton 2010-08-18 15:15:57 UTC
jshaugh, is this still an issue?