While performing a portability test to an EAR file, I have always the java.lang.OutOfMemoryError exception after the seven jar.......
I did added this : "-Xms1200M" "-Xmx1200M" "-XX:+UseParallelGC" to the asant script but no effects :-((
here is the error
[exec] Exception in thread "main"
[java] 4-lug-2006 16.12.29 com.sun.enterprise.appverification.tools.GenReportTool main
[java] GRAVE: Could not create or parse document
[echo] See "C:\Sun\javke1.4.2\reporttool\static\verifierSummary.html" for results.
Please help me
Message was edited by:
The cause for the problem is obvious from the error message.
Try adding your extra JVM options to 'reporttool' script instead of asant script. The script is found in $AVK_INSTALL_DIR/bin directory.
First thaks for u r reply.
I did what you said but no changes!
The error is not in the report tool but in StaticArchiveTest, the reporttool is launched after this last class finish ...
Any suggestions ??
Thanks a lot
You have mentioned that you have added JVM option in the asant script. In the above thread I have suggested to add this option in the verifier script. Please read this thread carefully.
The other place to add these options is the build file that you are using to run the ant tasks. This is also specified in the above thread.