[ 
http://issues.apache.org/jira/browse/AXIS2-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Lin updated AXIS2-1925:
-----------------------------

    Description: 
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: [
    ]


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

Error 1:
Dec 27, 2006 3:52:53 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /axis2 from URL 
file:c:/servers/jakarta-tomcat-5.0.28/webapps/axis2
count = 0, total = 342
count = 0, total = 342
[JAM] Warning: You are running under a pre-1.5 JDK.  JSR175-style source 
annotations will not be available

Error 2:
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: [
    ]



> Error: java.lang.OutOfMemoryError
> ---------------------------------
>
>                 Key: AXIS2-1925
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1925
>             Project: Apache 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
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to