axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankur Avlani (JIRA)" <>
Subject [jira] [Commented] (AXIS2-3618) WSDL2Java produces code that causes javac to fail with "code to large"
Date Wed, 11 May 2011 22:23:47 GMT


Ankur Avlani commented on AXIS2-3618:

I am using axis2-1.5.4 and facing the same issue, with the same wsdl as mentioned above. I
tried adding the -u option to my invocation of wsdl2java.bat and got the same "code too large"
error when compiling the generated Java code.

> WSDL2Java produces code that causes javac to fail with "code to large"
> ----------------------------------------------------------------------
>                 Key: AXIS2-3618
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>         Environment: We have encountered this problem both on linux using jdk 1.6 and
on Windows using jdk 1.5.
>            Reporter: Peter Canning
>            Priority: Critical
>         Attachments: Axis2Patch, vim.wsdl, vimService.wsdl
> When generating stubs from a large WSDL document using either the ADB or XMLBeans databindings,
the generated code causes javac to fail with the following error
>     [javac] /exit26/home/pcanning/visdk_clients/2.5/axis2-1.3/axis_stubs/src/com/vmware/vim/
code too large
>     [javac]     private void populateFaults() {
>     [javac]                  ^
> FYI: In order to successfully run the Axis2-1.3 stub generator, I had to modify
to add -Xmx512M to increase the maximum heap size.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message