continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak (JIRA)" <>
Subject [jira] Commented: (CONTINUUM-1963) Problems running multiple instances in Tomcat
Date Fri, 07 Nov 2008 20:12:13 GMT


Wendy Smoak commented on CONTINUUM-1963:

Is there an issue open for the problem with it using the same log file?

(It would probably be better to break this up into individual issues and move this discussion
on the dev list.)

> Problems running multiple instances in Tomcat
> ---------------------------------------------
>                 Key: CONTINUUM-1963
>                 URL:
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.2
>         Environment: Continuum 1.2.2 web archive (not standalone)
> Tomcat 6.0.18
>            Reporter: Michael Johns
> I'm trying to run multiple instances of apache-continuum-1.2.2.war in a single Tomcat
container.  I've got it up and running just fine, but there are a few areas where the instances
overlap that prevent me from actually using them.
> 1. By default, the values from the "Configuration" page on the GUI are saved to continuum.xml
in the ${appserver.base}/conf directory.  This is a problem because all instances want to
share that same file.  That means all instances try to share working directories, which is
very bad.  I tracked down this value in the WEB-INF/classes/META-INF/continuum directory of
the web archive, but changing it there did no good.  Then I found it in the spring-context.xml
file within the META-INF directory of the continuum-configuration-1.2.2.jar file that's within
the WEB-INF/lib directory of the main web application.  Updating it in that file did the trick.
 But now I need a separate web archive for each of my instances, which is what I was trying
to avoid in the first place.
> 2. The values on the "Appearance" page are saved in a continuum-appearance.xml file that
also lives in the ${appserver.base}/conf directory.  Unfortunately, the path to this file
is hard-coded in the DefaultAppareanceConfiguration implementation.  The location of this
config file should really come out of config as well.  Fortunately I don't care too much if
each of my instances has the same footer.
> There needs to be a way to override the default configuration directory per instance
without having to dig two libraries deep into the web archive.  As far as I can tell, this
is the only thing preventing me from cleanly running N Continuum instances in parallel.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message