You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Katherine Sanders (JIRA)" <ji...@apache.org> on 2010/04/22 14:04:50 UTC

[jira] Created: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Katherine Sanders <ka...@uk.ibm.com>.
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:
katherine_sanders@uk.ibm.com
 





From:
Nuwan Bandara <ba...@gmail.com>
To:
java-dev@axis.apache.org
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) <jira@apache.org
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org




-- 
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






Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Katherine Sanders <ka...@uk.ibm.com>.
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:
katherine_sanders@uk.ibm.com
 





From:
Nuwan Bandara <ba...@gmail.com>
To:
java-dev@axis.apache.org
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) <jira@apache.org
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org




-- 
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






Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Katherine Sanders <ka...@uk.ibm.com>.
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:
katherine_sanders@uk.ibm.com
 





From:
Nuwan Bandara <ba...@gmail.com>
To:
java-dev@axis.apache.org
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) <jira@apache.org
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org




-- 
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






Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Katherine Sanders <ka...@uk.ibm.com>.
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:
katherine_sanders@uk.ibm.com
 





From:
Nuwan Bandara <ba...@gmail.com>
To:
java-dev@axis.apache.org
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) <jira@apache.org
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org




-- 
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






Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Katherine Sanders <ka...@uk.ibm.com>.
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:
katherine_sanders@uk.ibm.com
 





From:
Nuwan Bandara <ba...@gmail.com>
To:
java-dev@axis.apache.org
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) <jira@apache.org
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org




-- 
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






Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Nuwan Bandara <ba...@gmail.com>.
Can you try building only module/jaxws and see

Regards
/Nuwan

On Thu, Apr 22, 2010 at 6:23 PM, Katherine Sanders (JIRA)
<ji...@apache.org>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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]

Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Nuwan Bandara <ba...@gmail.com>.
Can you try building only module/jaxws and see

Regards
/Nuwan

On Thu, Apr 22, 2010 at 6:23 PM, Katherine Sanders (JIRA)
<ji...@apache.org>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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]

Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Nuwan Bandara <ba...@gmail.com>.
Can you try building only module/jaxws and see

Regards
/Nuwan

On Thu, Apr 22, 2010 at 6:23 PM, Katherine Sanders (JIRA)
<ji...@apache.org>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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]

Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Nuwan Bandara <ba...@gmail.com>.
Can you try building only module/jaxws and see

Regards
/Nuwan

On Thu, Apr 22, 2010 at 6:23 PM, Katherine Sanders (JIRA)
<ji...@apache.org>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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]

Re: [jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by Nuwan Bandara <ba...@gmail.com>.
Can you try building only module/jaxws and see

Regards
/Nuwan

On Thu, Apr 22, 2010 at 6:23 PM, Katherine Sanders (JIRA)
<ji...@apache.org>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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]

[jira] Resolved: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katherine Sanders resolved AXIS2-4691.
--------------------------------------

    Resolution: Fixed

Thanks Andreas.  When I googled for how to set the heap size with maven, both those environment variables came back and I wrongly assumed the MAVEN_OPTS variable was only for maven 1.  After setting MAVEN_OPTS=-Xmx1024m, the build ran without errors using maven 2.0.11, Sun JDK 1.6.0_16 and axis2 r937071.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860140#action_12860140 ] 

Lahiru Gunathilake commented on AXIS2-4691:
-------------------------------------------

Hi Katherine,

What is the maven version you are using, these depends on the JDK version and maven version you are using?

Lahiru

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860497#action_12860497 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

I'm able to reproduce this on Windows Server 2003 R2 with Maven 2.0.11 and jdk1.5.0_21. Note that the environment variable to set Java options for Maven is MAVEN_OPTS, not MVN_OPTIONS. That may explain your strange finding that increasing the heap size doesn't solve the problem.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859787#action_12859787 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

This seemed similar to the error from AXIS2-4666 so I tried adding <fork>true</fork> to the maven-dependency-plugin stanza added to the metadata module pom.xml file in r934683, but the build still failed with the same error.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859999#action_12859999 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Adding fork=true to the jaxws module pom.xml fixed the first error, but then I hit the same error in the jaxws-integration and axis2-idea-plugin modules.  I added the fork=true option to their pom.xml files too.  However, then I got the same error in the corba module and it didn't have a maven-compiler-plugin stanza to add the fork property to.  I tried increasing the heap size to 2048m but that still didn't fix the problem.  To get a successful build I had to take the corba module out of the top level pom.xml and then build it separately afterwards.

Does anyone have any ideas how to fix this more permanently?

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860000#action_12860000 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

For me this sounds like there is something badly broken in your environment (JDK, Maven setup or OS).

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860000#action_12860000 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

For me this sounds like there is something badly broken in your environment (JDK, Maven setup or OS).

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860140#action_12860140 ] 

Lahiru Gunathilake commented on AXIS2-4691:
-------------------------------------------

Hi Katherine,

What is the maven version you are using, these depends on the JDK version and maven version you are using?

Lahiru

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859806#action_12859806 ] 

Nuwan Bandara commented on AXIS2-4691:
--------------------------------------

Can you increase the Java Heap size when running the build, Build works okey to me

Regards
/Nuwan

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859806#action_12859806 ] 

Nuwan Bandara commented on AXIS2-4691:
--------------------------------------

Can you increase the Java Heap size when running the build, Build works okey to me

Regards
/Nuwan

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860234#action_12860234 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Yes I still get the same error without the tests, but thanks for the suggestion.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860213#action_12860213 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

I've tried the following JDK and maven combinations, and I get the same heap space error in the jaxws component every time using the latest build without changes:

Maven 2.0.11 + Sun JDK 1.6.0_16
Maven 2.2.1   + Sun JDK 1.6.0_16
Maven 2.0.11 + Sun JDK 1.5.0_16
Maven 2.2.1   + Sun JDK 1.5.0_16

I'm using Windows XP Pro SP3 on a machine with 3GB of RAM and I've tried expanding the max heap size to 3GB using:
MVN_OPTIONS=-Xmx3072m

When I montior task manager I can still see memory available so I'm not sure if the heap size option is actually working.

I'm not sure the problem is my environment either because I can build r933791 without any problems.

If anyone can recommend a better combination of maven and JDK, I'm happy to give it a try.  Otherwise I'll just continue building with the method I described above.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860140#action_12860140 ] 

Lahiru Gunathilake commented on AXIS2-4691:
-------------------------------------------

Hi Katherine,

What is the maven version you are using, these depends on the JDK version and maven version you are using?

Lahiru

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860225#action_12860225 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4691:
-----------------------------------------------------

Are you getting this error even without tests?

i.e mvn clean install -Dmaven.test.skip=true -o

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860213#action_12860213 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

I've tried the following JDK and maven combinations, and I get the same heap space error in the jaxws component every time using the latest build without changes:

Maven 2.0.11 + Sun JDK 1.6.0_16
Maven 2.2.1   + Sun JDK 1.6.0_16
Maven 2.0.11 + Sun JDK 1.5.0_16
Maven 2.2.1   + Sun JDK 1.5.0_16

I'm using Windows XP Pro SP3 on a machine with 3GB of RAM and I've tried expanding the max heap size to 3GB using:
MVN_OPTIONS=-Xmx3072m

When I montior task manager I can still see memory available so I'm not sure if the heap size option is actually working.

I'm not sure the problem is my environment either because I can build r933791 without any problems.

If anyone can recommend a better combination of maven and JDK, I'm happy to give it a try.  Otherwise I'll just continue building with the method I described above.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katherine Sanders resolved AXIS2-4691.
--------------------------------------

    Resolution: Fixed

Thanks Andreas.  When I googled for how to set the heap size with maven, both those environment variables came back and I wrongly assumed the MAVEN_OPTS variable was only for maven 1.  After setting MAVEN_OPTS=-Xmx1024m, the build ran without errors using maven 2.0.11, Sun JDK 1.6.0_16 and axis2 r937071.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859999#action_12859999 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Adding fork=true to the jaxws module pom.xml fixed the first error, but then I hit the same error in the jaxws-integration and axis2-idea-plugin modules.  I added the fork=true option to their pom.xml files too.  However, then I got the same error in the corba module and it didn't have a maven-compiler-plugin stanza to add the fork property to.  I tried increasing the heap size to 2048m but that still didn't fix the problem.  To get a successful build I had to take the corba module out of the top level pom.xml and then build it separately afterwards.

Does anyone have any ideas how to fix this more permanently?

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859806#action_12859806 ] 

Nuwan Bandara commented on AXIS2-4691:
--------------------------------------

Can you increase the Java Heap size when running the build, Build works okey to me

Regards
/Nuwan

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860000#action_12860000 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

For me this sounds like there is something badly broken in your environment (JDK, Maven setup or OS).

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860213#action_12860213 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

I've tried the following JDK and maven combinations, and I get the same heap space error in the jaxws component every time using the latest build without changes:

Maven 2.0.11 + Sun JDK 1.6.0_16
Maven 2.2.1   + Sun JDK 1.6.0_16
Maven 2.0.11 + Sun JDK 1.5.0_16
Maven 2.2.1   + Sun JDK 1.5.0_16

I'm using Windows XP Pro SP3 on a machine with 3GB of RAM and I've tried expanding the max heap size to 3GB using:
MVN_OPTIONS=-Xmx3072m

When I montior task manager I can still see memory available so I'm not sure if the heap size option is actually working.

I'm not sure the problem is my environment either because I can build r933791 without any problems.

If anyone can recommend a better combination of maven and JDK, I'm happy to give it a try.  Otherwise I'll just continue building with the method I described above.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860497#action_12860497 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

I'm able to reproduce this on Windows Server 2003 R2 with Maven 2.0.11 and jdk1.5.0_21. Note that the environment variable to set Java options for Maven is MAVEN_OPTS, not MVN_OPTIONS. That may explain your strange finding that increasing the heap size doesn't solve the problem.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859787#action_12859787 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

This seemed similar to the error from AXIS2-4666 so I tried adding <fork>true</fork> to the maven-dependency-plugin stanza added to the metadata module pom.xml file in r934683, but the build still failed with the same error.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860225#action_12860225 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4691:
-----------------------------------------------------

Are you getting this error even without tests?

i.e mvn clean install -Dmaven.test.skip=true -o

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860140#action_12860140 ] 

Lahiru Gunathilake commented on AXIS2-4691:
-------------------------------------------

Hi Katherine,

What is the maven version you are using, these depends on the JDK version and maven version you are using?

Lahiru

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860234#action_12860234 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Yes I still get the same error without the tests, but thanks for the suggestion.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860225#action_12860225 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4691:
-----------------------------------------------------

Are you getting this error even without tests?

i.e mvn clean install -Dmaven.test.skip=true -o

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859999#action_12859999 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Adding fork=true to the jaxws module pom.xml fixed the first error, but then I hit the same error in the jaxws-integration and axis2-idea-plugin modules.  I added the fork=true option to their pom.xml files too.  However, then I got the same error in the corba module and it didn't have a maven-compiler-plugin stanza to add the fork property to.  I tried increasing the heap size to 2048m but that still didn't fix the problem.  To get a successful build I had to take the corba module out of the top level pom.xml and then build it separately afterwards.

Does anyone have any ideas how to fix this more permanently?

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katherine Sanders resolved AXIS2-4691.
--------------------------------------

    Resolution: Fixed

Thanks Andreas.  When I googled for how to set the heap size with maven, both those environment variables came back and I wrongly assumed the MAVEN_OPTS variable was only for maven 1.  After setting MAVEN_OPTS=-Xmx1024m, the build ran without errors using maven 2.0.11, Sun JDK 1.6.0_16 and axis2 r937071.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860000#action_12860000 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

For me this sounds like there is something badly broken in your environment (JDK, Maven setup or OS).

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860000#action_12860000 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

For me this sounds like there is something badly broken in your environment (JDK, Maven setup or OS).

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859787#action_12859787 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

This seemed similar to the error from AXIS2-4666 so I tried adding <fork>true</fork> to the maven-dependency-plugin stanza added to the metadata module pom.xml file in r934683, but the build still failed with the same error.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860497#action_12860497 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

I'm able to reproduce this on Windows Server 2003 R2 with Maven 2.0.11 and jdk1.5.0_21. Note that the environment variable to set Java options for Maven is MAVEN_OPTS, not MVN_OPTIONS. That may explain your strange finding that increasing the heap size doesn't solve the problem.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860234#action_12860234 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Yes I still get the same error without the tests, but thanks for the suggestion.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859999#action_12859999 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Adding fork=true to the jaxws module pom.xml fixed the first error, but then I hit the same error in the jaxws-integration and axis2-idea-plugin modules.  I added the fork=true option to their pom.xml files too.  However, then I got the same error in the corba module and it didn't have a maven-compiler-plugin stanza to add the fork property to.  I tried increasing the heap size to 2048m but that still didn't fix the problem.  To get a successful build I had to take the corba module out of the top level pom.xml and then build it separately afterwards.

Does anyone have any ideas how to fix this more permanently?

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860234#action_12860234 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Yes I still get the same error without the tests, but thanks for the suggestion.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859787#action_12859787 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

This seemed similar to the error from AXIS2-4666 so I tried adding <fork>true</fork> to the maven-dependency-plugin stanza added to the metadata module pom.xml file in r934683, but the build still failed with the same error.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859806#action_12859806 ] 

Nuwan Bandara commented on AXIS2-4691:
--------------------------------------

Can you increase the Java Heap size when running the build, Build works okey to me

Regards
/Nuwan

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859787#action_12859787 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

This seemed similar to the error from AXIS2-4666 so I tried adding <fork>true</fork> to the maven-dependency-plugin stanza added to the metadata module pom.xml file in r934683, but the build still failed with the same error.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860213#action_12860213 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

I've tried the following JDK and maven combinations, and I get the same heap space error in the jaxws component every time using the latest build without changes:

Maven 2.0.11 + Sun JDK 1.6.0_16
Maven 2.2.1   + Sun JDK 1.6.0_16
Maven 2.0.11 + Sun JDK 1.5.0_16
Maven 2.2.1   + Sun JDK 1.5.0_16

I'm using Windows XP Pro SP3 on a machine with 3GB of RAM and I've tried expanding the max heap size to 3GB using:
MVN_OPTIONS=-Xmx3072m

When I montior task manager I can still see memory available so I'm not sure if the heap size option is actually working.

I'm not sure the problem is my environment either because I can build r933791 without any problems.

If anyone can recommend a better combination of maven and JDK, I'm happy to give it a try.  Otherwise I'll just continue building with the method I described above.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Nuwan Bandara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859806#action_12859806 ] 

Nuwan Bandara commented on AXIS2-4691:
--------------------------------------

Can you increase the Java Heap size when running the build, Build works okey to me

Regards
/Nuwan

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katherine Sanders resolved AXIS2-4691.
--------------------------------------

    Resolution: Fixed

Thanks Andreas.  When I googled for how to set the heap size with maven, both those environment variables came back and I wrongly assumed the MAVEN_OPTS variable was only for maven 1.  After setting MAVEN_OPTS=-Xmx1024m, the build ran without errors using maven 2.0.11, Sun JDK 1.6.0_16 and axis2 r937071.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860497#action_12860497 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

I'm able to reproduce this on Windows Server 2003 R2 with Maven 2.0.11 and jdk1.5.0_21. Note that the environment variable to set Java options for Maven is MAVEN_OPTS, not MVN_OPTIONS. That may explain your strange finding that increasing the heap size doesn't solve the problem.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860225#action_12860225 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4691:
-----------------------------------------------------

Are you getting this error even without tests?

i.e mvn clean install -Dmaven.test.skip=true -o

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katherine Sanders resolved AXIS2-4691.
--------------------------------------

    Resolution: Fixed

Thanks Andreas.  When I googled for how to set the heap size with maven, both those environment variables came back and I wrongly assumed the MAVEN_OPTS variable was only for maven 1.  After setting MAVEN_OPTS=-Xmx1024m, the build ran without errors using maven 2.0.11, Sun JDK 1.6.0_16 and axis2 r937071.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860497#action_12860497 ] 

Andreas Veithen commented on AXIS2-4691:
----------------------------------------

I'm able to reproduce this on Windows Server 2003 R2 with Maven 2.0.11 and jdk1.5.0_21. Note that the environment variable to set Java options for Maven is MAVEN_OPTS, not MVN_OPTIONS. That may explain your strange finding that increasing the heap size doesn't solve the problem.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860213#action_12860213 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

I've tried the following JDK and maven combinations, and I get the same heap space error in the jaxws component every time using the latest build without changes:

Maven 2.0.11 + Sun JDK 1.6.0_16
Maven 2.2.1   + Sun JDK 1.6.0_16
Maven 2.0.11 + Sun JDK 1.5.0_16
Maven 2.2.1   + Sun JDK 1.5.0_16

I'm using Windows XP Pro SP3 on a machine with 3GB of RAM and I've tried expanding the max heap size to 3GB using:
MVN_OPTIONS=-Xmx3072m

When I montior task manager I can still see memory available so I'm not sure if the heap size option is actually working.

I'm not sure the problem is my environment either because I can build r933791 without any problems.

If anyone can recommend a better combination of maven and JDK, I'm happy to give it a try.  Otherwise I'll just continue building with the method I described above.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859999#action_12859999 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Adding fork=true to the jaxws module pom.xml fixed the first error, but then I hit the same error in the jaxws-integration and axis2-idea-plugin modules.  I added the fork=true option to their pom.xml files too.  However, then I got the same error in the corba module and it didn't have a maven-compiler-plugin stanza to add the fork property to.  I tried increasing the heap size to 2048m but that still didn't fix the problem.  To get a successful build I had to take the corba module out of the top level pom.xml and then build it separately afterwards.

Does anyone have any ideas how to fix this more permanently?

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860234#action_12860234 ] 

Katherine Sanders commented on AXIS2-4691:
------------------------------------------

Yes I still get the same error without the tests, but thanks for the suggestion.

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860140#action_12860140 ] 

Lahiru Gunathilake commented on AXIS2-4691:
-------------------------------------------

Hi Katherine,

What is the maven version you are using, these depends on the JDK version and maven version you are using?

Lahiru

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Katherine Sanders (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4691) JAX-WS module compile fails due to Java heap space error on Windows XP

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860225#action_12860225 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4691:
-----------------------------------------------------

Are you getting this error even without tests?

i.e mvn clean install -Dmaven.test.skip=true -o

> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org