[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2387) When Objects involved in methods are very hughe and nested, jboss goes into and endless loop when deployment

Tonio Caputo (JIRA) jira-events at lists.jboss.org
Fri Nov 7 13:39:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBWS-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tonio Caputo updated JBWS-2387:
-------------------------------

    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.

  was:
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



When restarting jboss it just stops when deploying this application and never
completes the startup.

Don't know if I can send you a jar, containing the classes with the problem, the
sources are not mine, but if you need them I'll try to do my best to
obtain an authorization.

> When Objects involved in methods are very hughe and nested, jboss goes into and endless loop when deployment
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-2387
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2387
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions: jbossws-native-3.0.4
>         Environment: linux ubuntu 7.10 64 bits / jboss-4.2.2-GA / jdk 1.5.0_16 64bits
> also tested in
>      jboss-4.2.3-GA /  sun jdk 1.6.0_07 64bits
>            Reporter: Tonio Caputo
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list