Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2387

When Objects involved in methods are very hughe and nested, jboss goes into and endless loop when deployment

    XMLWordPrintable

Details

    Description

      When deploying a simple web-service that returns a hughe and nested tree, in my example (near 300 classes),
      jboss generates the JAXB, and starts and endless loop when running JBossXSModel.

      Found a similar case in forums where they are trying to return an HTML element obtained,
      form mapping the xhtml xsd (see the jforum reference)

      The log in jboss shows:

      2008-10-30 18:01:08,213 INFO [org.jboss.wsf.stack.jbws.WSDLFilePublisher] WSDL published to: file:/
      home/xtra/u/jdesa/mccg/jboss-4.2.2.GA/server/default/data/wsdl/wstest.war/EchoService23289.wsdl

      2008-10-30 18:01:08,394 DEBUG [org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl] Eager
      InitializeDeploymentAspect:Start

      2008-10-30 18:01:08,394 DEBUG [org.jboss.ws.metadata.umdm.UnifiedMetaData] Eagerly initialize the me
      ta data model

      2008-10-30 18:01:08,397 DEBUG [org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel] Registered as anon
      type:

      {http://www.mccg.net/xsd/phoenix/base-types/claim.xsd:>claimInvolvedParty>listOfExtraAttr}

      -> Complex type name='http://www.mccg.net/xsd/phoenix/base-types/basic.xsd,#AnonType_listOfExtraAttrib
      sObject', base type name='anyType', content type='ELEMENT', isAbstract='false', hasTypeId='false
      ', final='0', block='0', particle='("http://www.mccg.net/xsd/phoenix/base-types/basic.xsd":extraAttr

      {0-UNBOUNDED}

      )', derivedBy='RESTRICTION'

      A similar last line is repeated forever and ever (it filled 20Gb of log in my computer).

      I've tried to create a smaller example, up to 10 classes, all nested etc., but still cannot reproduce the
      problem, I keep on trying.

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              tonioc_jira Tonio Caputo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: