Hi Rüdiger,

thank you for pointing me to the '-DskipTests' option! With this option 
enabled, I encountered a Java 'out of
memory' error halfway through the build process. So I changed the MAVEN_OPTS 
from

old: -Xms256m -Xmx960m -XX:PermSize=64m -XX:MaxPermSize=256m

to new: -Xms256m -Xmx960m -XX:PermSize=256m -XX:MaxPermSize=512m

With this and '-DskipTests' the build is now successfull. :) Without 
'-DskipTests' and the modified MAVEN_OPTS it
still hangs at the HoldStateTest. Should I be worried skipping all the tests?
BTW: My CentOS 5.7 (64 Bit) runs inside a Virtualbox VM (just for testing). 
Does this interfere in some way with
building Matterhorn?

Regards,
Markus

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Ruediger Rolf
> Sent: Monday, March 05, 2012 1:48 PM
> To: Matterhorn Users
> Subject: Re: [Matterhorn-users] Build hangs (1.3-rc7)
> 
> Hi,
> 
> the easiest way to get it to build then would be to skip the 
> tests that 
> hold the build process. Just add "-DskipTest" to the mvn command line.
> 
> I did not encounter this problem on my ubuntu dev machine. But I will 
> check back on my Centos 5.7 server.
> 
> I currently have no idea why your machine would hang.
> 
> Rüdiger
> 
> Am 05.03.2012 12:56, schrieb Markus Hillig:
> > Hi everyone,
> >
> > I'm trying to build the core server from 1.3-rc7. My 
> environment is CentOS 5.7. For Java I use the original OpenJDK
> > packages from CentOS (java-1.6.0-openjdk, java-1.6.0-openjdk-devel).
> > For build instructions I used this guide
> > 
> http://opencast.jira.com/wiki/display/MH/Install+Source+Linux+
> %28Trunk%29#InstallSourceLinux%28Trunk%29-rhel
> > The build of the 3rd party tools succeeded without problem. 
> But if I try to build the core server, the build
> > process hangs in the 'matterhorn-workflow-service-impl' 
> component at the 'HoldStateTest' test. It just stops there
> > and nothing happens for an hour after which I terminated 
> the build with CTRL-C.
> > The last few lines of output look like that:
> >
> > -------------------------------------------------------
> >   T E S T S
> > -------------------------------------------------------
> > Running org.opencastproject.workflow.impl.PauseFinalOperationTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time 
> elapsed: 4.213 sec
> > Running org.opencastproject.workflow.impl.WorkflowStatisticsTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time 
> elapsed: 7.457 sec
> > Running org.opencastproject.workflow.impl.WorkflowInstanceTest
> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time 
> elapsed: 0.03 sec
> > Running org.opencastproject.workflow.impl.HoldStateTest
> > 20:10:04  INFO (HoldStateTest:201) - checking for the 
> existence of 'anotherproperty', which should have been
> > replaced
> > ^
> > |
> > Thats the last line of output.
> >
> > I searched the mailing list and the web for this problem 
> but to no avail.
> > I would be grateful if anybody could point me to things I 
> could try out/should look into to solve this problem or
> > even to possible solutions. TIA!
> >
> > Regards,
> > Markus
> >
> > --
> > Informationsmanagement          Fachhochschule Potsdam
> > E-Mail: [email protected]    Friedrich-Ebert-Str. 4
> > Tel. 0331/580-1524              14467 Potsdam
> >
> > _______________________________________________
> > Matterhorn-users mailing list
> > [email protected]
> > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
> 
> 
> -- 
> 
> ________________________________________________
> Rüdiger Rolf, M.A.
> Universität Osnabrück - Zentrum virtUOS
> Heger-Tor-Wall 12, 49069 Osnabrück
> Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
> E-Mail: [email protected]
> Internet: www.virtuos.uni-osnabrueck.de
> 
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to