[ 
https://issues.apache.org/jira/browse/AXIS2-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469198
 ] 

Eric Deshayes commented on AXIS2-1925:
--------------------------------------

This issue is invalid:

You cannot do that, for more details see
http://www.w3.org/TR/xmlschema-1/#ct-props-correct
Point 3:
***
3 Circular definitions are disallowed, except for the - ur-type
definition- . That is, it must be possible to reach the - ur-type
definition-  by repeatedly following the {base type definition}.
*** 

The codegen should not generate anything but report an invalid schema.
Same for the deployment....


> Error: java.lang.OutOfMemoryError
> ---------------------------------
>
>                 Key: AXIS2-1925
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1925
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb, codegen
>    Affects Versions: 1.1
>         Environment: Tomcat 5.0.28, Windows XP, JVM 1.4.2_10-b03
>            Reporter: Danny Lin
>         Assigned To: Amila Chinthaka Suriarachchi
>
> Please see defect Axis2-1920 
> (http://issues.apache.org/jira/browse/AXIS2-1920) for more details.
> Use the same schema as attached to Axis2-1920, modify the build.xml so that 
> WSDL2JAVA is using adb (i.e. databinding="adb") WSDL2JAVA appears to generate 
> classes and an AAR file is created. However, when the AAR is deployed a Java 
> OutOfMemoryError occurs. If I trim down the schema some, and change the 
> databinding to databinding="none", it doesn't resolve the problem, instead, I 
> got a stack overflow error.
> 2006-12-27 22:11:54,990 DEBUG main 
> org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: module:module
> 2006-12-27 22:11:55,006 DEBUG main 
> org.apache.axis2.i18n.ProjectResourceBundle - 
> org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)
> 2006-12-27 22:11:55,006 DEBUG main 
> org.apache.axis2.deployment.DeploymentEngine - adding new module
> 2006-12-27 22:11:55,006 DEBUG main 
> org.apache.axis2.i18n.ProjectResourceBundle - 
> org.apache.axis2.i18n.resource::handleGetObject(deployeingmodule)
> 2006-12-27 22:11:55,021 INFO main 
> org.apache.axis2.deployment.DeploymentEngine - Deploying module : 
> soapmonitor-1.1
> 2006-12-27 22:11:55,052 DEBUG main 
> org.apache.axis2.deployment.WarBasedAxisConfigurator - loaded repository from 
> /WEB-INF folder (unpacked war)
> 2006-12-27 22:11:55,068 DEBUG main org.apache.axiom.om.util.StAXUtils - 
> XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
> 2006-12-27 22:11:55,084 DEBUG main 
> org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: 
> {http://schemas.xmlsoap.org/wsdl/}definitions:definitions
> 2006-12-27 22:12:00,959 DEBUG main 
> org.apache.axis2.i18n.ProjectResourceBundle - 
> org.apache.axis2.i18n.resource::handleGetObject(invalidservice)
> 2006-12-27 22:12:00,974 INFO main 
> org.apache.axis2.deployment.DeploymentEngine - Invalid service  
> InmateMatchService.aar due to java.lang.StackOverflowError
>  
> 2006-12-27 22:12:00,990 DEBUG main org.apache.axiom.om.util.StAXUtils - 
> XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
> 2006-12-27 22:12:00,990 DEBUG main 
> org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: 
> service:service
> 2006-12-27 22:12:00,990 DEBUG main 
> org.apache.axiom.om.impl.builder.StAXOMBuilder - CHARACTERS: [
>     ]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to