Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0494348D8 for ; Wed, 11 May 2011 22:24:31 +0000 (UTC) Received: (qmail 33214 invoked by uid 500); 11 May 2011 22:24:30 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 33075 invoked by uid 500); 11 May 2011 22:24:29 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 33060 invoked by uid 99); 11 May 2011 22:24:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 22:24:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 22:24:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A068D826E7 for ; Wed, 11 May 2011 22:23:47 +0000 (UTC) Date: Wed, 11 May 2011 22:23:47 +0000 (UTC) From: "Ankur Avlani (JIRA)" To: java-dev@axis.apache.org Message-ID: <705367957.5113.1305152627653.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-3618) WSDL2Java produces code that causes javac to fail with "code to large" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032130#comment-13032130 ] 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: https://issues.apache.org/jira/browse/AXIS2-3618 > 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/VimServiceStub.java:3090: code too large > [javac] private void populateFaults() { > [javac] ^ > FYI: In order to successfully run the Axis2-1.3 stub generator, I had to modify axis2.sh to add -Xmx512M to increase the maximum heap size. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org