[jboss-dev-forums] [Embedded JBoss Development] - Tried to check out & build with cygwin - OOME

pgmjsd do-not-reply at jboss.com
Sat Nov 21 20:08:11 EST 2009


I was trying to build/checkout on my windows machine using Cygwin bash this weekend and I wasn't able to get testsuite to run without an OOME.

* JBoss AS was from http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_6_0_0_M1 (because branches/Branch_5_x doesn't seem to be there anymore).
* JDK 1.6.0_12
* Embedded trunk.

Once I set JBOSS_HOME properly using:
export JBOSS_HOME=`cygpath -w /home/josh/...pathtojboss...`

The compile worked fine.  I tried giving Maven more memory with 'export MAVEN_OPTS=-Xmx1024m', but that didn't work.


  | org.jboss.embedded.testsuite.ServerTestCase  Time elapsed: 0 sec  <<< ERROR!
  | java.lang.IllegalStateException: Incompletely deployed:
  | 
  | *** PROFILES IN ERROR: Name -> Error
  | Profile: ProfileKey at fe53cf[domain=default, server=default, name=applications] in error due to java.lang.OutOfMemoryError: Java heap
  | space
  | 
  | *** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
  | ProfileKey at 4610fa[domain=default, server=default, name=farm] is missing following dependencies: ProfileKey at fe53cf[domain=default, se
  | rver=default, name=applications]{Installed:**ERROR**}
  | ProfileKey at 1e0123b[domain=default, server=default, name=all] is missing following dependencies: ProfileKey at 4610fa[domain=default, se
  | rver=default, name=farm]{Installed:PreInstall}
  | 
  |         at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(AbstractProfileService.java:613)
  |         at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(AbstractProfileService.java:390)
  |         at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(AbstractProfileService.java:373)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:267)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97)
  |         at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
  |         at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
  |         at java.lang.Thread.run(Thread.java:619)
  | 

I'm going to try it with jdk1.6.0_17...

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266898#4266898

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266898



More information about the jboss-dev-forums mailing list