This needs to go into
/svn/tck/tck5/trunk/j2eetck-mods/docs/CTS5_JBoss_howto.doc
Richard Opalka wrote:
Hi folks,
I hope this will help you in the future.
I was dealing with java.lang.OutOfMemoryError: PermGen space error
when preparing jaxws tck5 suite for execution.
The workaround to this problem is to specify
ANT_OPTS="$ANT_OPTS -Xms128m -Xmx512m* -XX:MaxPermSize=256m*"
in $TS_HOME/bin/tsant script.
Richard
Below is the exception I was dealing with:
Executing
$TS_HOME/bin/tsant -Dbuild.vi=true clean build
in TCK5/.../jaxws directory threw the following exception:
--- Nested Exception ---
java.lang.OutOfMemoryError: PermGen space
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at com.sun.ant.taskdefs.common.DoSubdirs.execute(DoSubdirs.java:105)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
...
BUILD FAILED
The following directories failed:
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2401
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2701
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2702
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2705
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2710
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2717
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2718
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2720
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2721
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2723
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2724
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2725
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2726
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2749
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2754
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R2801
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/j2w/rpc/literal/R4003
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R1141
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R2030
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R2707
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R2709
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R2712
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R2747
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R2748
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R4002
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/R4003
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/document/literal/swatest
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1005
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1006
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1007
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1011
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1012
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1014
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1015
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1016
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1027
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R1141
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R11XX
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2009
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2010
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2011
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2030
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2105
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2113
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2114
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2706
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2707
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2709
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2714
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2728
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2729
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2738
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2739
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R273X
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2744
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2745
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2747
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2748
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2751
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R2753
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R4001
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R4002
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R4003
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/R97XX
/home/opalka/tck/tck5/src/com/sun/ts/tests/jaxws/wsi/w2j/rpc/literal/swatest
Total time: 52 minutes 35 seconds
--
B.Sc. Richard Opalka
Senior Software Engineer
JBoss, a division of Red Hat
Mobile: +420 731 186 942
Mail: ropalka(a)redhat.com
------------------------------------------------------------------------
_______________________________________________
jbossws-dev mailing list
jbossws-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossws-dev
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx