Hey Martin,

On Sep 7, 2012, at 7:22 AM, Martin Desruisseaux wrote:

> Le 07/09/12 01:30, Mattmann, Chris A (388J) a écrit :
>> I think this was introduced by Adam in SIS-30 [1] when we put in
>> Jetty integration in sis-webapp. I think Jetty is just picking the default
>> port to run unit tests on (8080), and that port is in use from time to time.
>> We should probably file a JIRA issue for this as a bug and simply update
>> the config to choose a random, unused port.
> 
> If Jetty can easily locate an unused port, that would help. Otherwise maybe 
> an alternative could be for Apache to create a wiki page were each project 
> list the port that they use for their Jenkins build? It could be project 
> responsibility to choose an unused port and list it on that wiki.

Looks like we can solve it using Maven2 config (yay!), see:

http://blog.andyhot.gr/controlling-jetty-port-in-maven-2/#comment-108

Looks like we can define a start and stop port for it to check on.

I'll file a JIRA issue today and update this.

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: [email protected]
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to