Re: How to run two instances in same server/host for cruise control

Keith Felt <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CACn5GBwfM8HMH0CZTUwcuT+NNgXb0atfKFM5wOidZ1SuVSdhWw@mail.gmail.com>
There are two ways we are doing this:

1. Modify your cruisecontrol.bat file with some of the following switches:
"-jmxport 8010 -webport 8090 -rmiport 1109".  Changing these port numbers
will allow you to run multiple instances of CC on different ports.  We
regularly run four separate copies (from separated directories) of CC on the
same machine.

2. Consider using the <threads> element in your config.xml to allow multiple
projects to be built simultaneously within CC.  We do this too, so many
projects can all build at the same time.  See:
http://cruisecontrol.sourceforge.net/main/configxml.html#threads.  The only
caveat, is that if you have projects which "overlap", i.e. use the same
files or directories, you often cannot run two compiles/builds
simultaneously in the same directory without them stepping on each others
toes.  To avoid the contention use the <lockfilebootstrapper> and
<lockfilelistener> (
http://cruisecontrol.sourceforge.net/main/configxml.html#lockfilebootstrapper)
to avoid overlapping projects from building simultaneously.

Good luck!

On Thu, Aug 18, 2011 at 1:47 PM, JS Jupally <[email protected]> wrote:

> <[email protected]>Hi,
>
> Could you please help me how to setup different setup for cruise control
> with same server(i mean i need to run diff ports). I have setup 3 projects
> on cruise control and running fine but each project has 9 components.So i
> need to setup each project has different instances so that no need to wait
> for build queued.
>
> --
> Thanks,
> --JS
> Srini Jupally
>
>
>
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.