My last run got past the jaxws module but failed with the same error in the jaxws-integration one. I'm retrying with fork=true in the jaxws-integration module as well. I'm hoping that I'll be able to get the full build working using this method and then I'll attach a patch for what I had to change.
Thanks for your help Nuwan, Katherine Katherine Sanders MP 127, IBM UK Ltd Software Engineer Hursley Park, Winchester, Hampshire SO21 2JN WebSphere ESB Foundation Technologies United Kingdom IBM Software Group, Application and Integration Middleware Software Phone: +44 (0) 1962 815758 Tie-Line: 245758 e-mail: [email protected] From: Nuwan Bandara <[email protected]> To: [email protected] Date: 22/04/2010 14:00 Subject: Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP Can you try building only module/jaxws and see Regards /Nuwan On Thu, Apr 22, 2010 at 6:23 PM, Katherine Sanders (JIRA) <[email protected] > wrote: [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859807#action_12859807 ] Katherine Sanders commented on AXIS2-4691: ------------------------------------------ I tried building with this environment variable set: set MVN_OPTIONS=-Xmx1024m But I got out of memory exceptions instead. I'm trying again with fork = true in the jaxws pom.xml for the maven-compiler-plugin to see if that fixes it. > JAX-WS module compile fails due to Java heap space error on Windows XP > ---------------------------------------------------------------------- > > Key: AXIS2-4691 > URL: https://issues.apache.org/jira/browse/AXIS2-4691 > Project: Axis2 > Issue Type: Bug > Components: jaxws > Environment: Apache Maven 2.0.11 (r909250; 2010-02-12 05:55:50+0000) > Java version: 1.6.0_16 > Java home: C:\Program Files\Java\jdk1.6.0_16\jre > Default locale: en_GB, platform encoding: Cp1252 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > Same errors occur with maven 2.2.1 and jdk 1.5.0_16 > Reporter: Katherine Sanders > > The following error occurs when I do a full axis2 build on the latest revision. The error has been occurring since r934683 (r933791builds without errors). > [INFO] ------------------------------------------------------------------------ > [INFO] Building Apache Axis2 - JAXWS > [INFO] task-segment: [clean, install] > [INFO] ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] Deleting directory C:\sandbox\axis2\modules\jaxws\target > [INFO] [remote-resources:process {execution: default}] > [INFO] [remote-resources:process {execution: legal-files}] > [INFO] [resources:resources] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\sandbox\axis2\modules\jaxws\conf > [INFO] Copying 0 resource > [INFO] Copying 2 resources > [INFO] Copying 5 resources > [INFO] Copying 5 resources > [INFO] [compiler:compile] > [INFO] Compiling 276 source files to C:\sandbox\axis2\modules\jaxws\target\classes > [INFO] ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] Fatal error compiling > Embedded error: Error while executing the compiler. > Java heap space > [INFO] ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 6 minutes 54 seconds > [INFO] Finished at: Wed Apr 21 17:10:03 BST 2010 > [INFO] Final Memory: 53M/63M > [INFO] ------------------------------------------------------------------------ -- 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] -- Nuwan Bandara - www.nuwanbando.com - Stranger Than Fiction [ http://www.linkedin.com/in/nuwanbandara ] [ http://www.twitter.com/nuwanbando ] Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
<<image/gif>>
