[Embedded JBoss Development] - Re: Maven JBoss AS Embedded Build
by elponderador
When I run the "mvn clean install" on the jboss embedded as is specified http://www.jboss.org/community/docs/DOC-14137 once it gets to the test suite it spits out this after running for some time:
| [INFO] [surefire:test {execution: integration-test}]
| [INFO] Surefire report directory: J:\Development\Java\workspace\developer_ui\jboss-embedded\testsuite\target\surefire-reports
|
| -------------------------------------------------------
| T E S T S
| -------------------------------------------------------
| Running org.jboss.embedded.testsuite.ServerIntegrationTest
| Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 51.842 sec <<< FAILURE!
|
| Results :
|
| Tests in error:
| org.jboss.embedded.testsuite.ServerIntegrationTest
|
| Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
|
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD FAILURE
| [INFO] ------------------------------------------------------------------------
| [INFO] There are test failures.
|
| Please refer to J:\Development\Java\workspace\developer_ui\jboss-embedded\testsuite\target\surefire-reports for the individual test results.
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: 2 minutes 16 seconds
| [INFO] Finished at: Mon Nov 30 14:05:08 MST 2009
| [INFO] Final Memory: 58M/103M
| [INFO] ------------------------------------------------------------------------
|
If I look at the surefire reports it has this:
| 14:05:04,233 ERROR [ScopedProfileServiceController] Error installing to Deploy: name=ProfileKey@112bd54[domain=default, server=default, name=applications] state=Start mode=On Demand requiredState=Installed
| java.lang.OutOfMemoryError: Java heap space
| at java.util.Arrays.copyOf(Arrays.java:2882)
| at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
| at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:597)
| at java.lang.StringBuilder.append(StringBuilder.java:212)
| at java.lang.StackTraceElement.toString(StackTraceElement.java:157)
| at java.lang.String.valueOf(String.java:2827)
| at java.lang.StringBuilder.append(StringBuilder.java:115)
| at java.lang.Throwable.printStackTraceAsCause(Throwable.java:538)
| at java.lang.Throwable.printStackTrace(Throwable.java:516)
| at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:59)
| at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342)
| at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)
| at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
| at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
| at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
| at org.apache.log4j.Category.callAppenders(Category.java:203)
| at org.apache.log4j.Category.forcedLog(Category.java:388)
| at org.apache.log4j.Category.log(Category.java:853)
| at org.jboss.logging.log4j.Log4jLoggerPlugin.error(Log4jLoggerPlugin.java:241)
| at org.jboss.logging.Logger.error(Logger.java:419)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:65)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:258)
| 14:05:07,566 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@1d9a2ab[domain=default, server=default, name=all]
|
I have upped the heap space using MAVEN_OPTS environment setting to:
-Xmx1536m -XX:MaxPermSize=128m
And it still runs out of memory.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268195#4268195
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268195
14 years, 10 months