Multiple instance problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multiple instance problem

Nick-7
I have a hudson setup with multiple instances mostly happy, however
there is one annoying problem I can't seem to find a resolution to.
Whenever one instance reloads itself (e.g. due to a new plugin being
installed), the other instance reloads as well.  This is problematic
as the reason I need to run multiple instances is so that multiple
groups can do what they need in their own world, without impacting
other groups.

I have one tomcat instance, with the following configuration:

A single copy of the hudson application is stored in /data/hudson/app.
 Each hudson instance gets a separate home directory in
/data/hudson/home/<projectname>.  Each hudson instance gets a separate
tomcat config file in
$TOMCAT_HOME/conf/Catalina/localhost/hudson#<projectname>.xml.  The
tomcat config files look like this:

<Context path="/hudson/project1" docBase="/data/hudson/app">
 <Environment name="HUDSON_HOME" value="/data/hudson/home/project1"
type="java.lang.String" override="false"/>
</Context>

I also tried using multiple copies of the hudson application (one for
each context), however the problem persists.  It appears that having
multiple hudson instances at different context paths with different
home directories, still share some sort of memory space that causes a
problem.  Is there a way to get around this problem without running
multiple tomcat instances?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]