Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 57413 invoked from network); 10 Nov 2008 15:38:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2008 15:38:13 -0000 Received: (qmail 236 invoked by uid 500); 10 Nov 2008 15:38:20 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 224 invoked by uid 500); 10 Nov 2008 15:38:20 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 212 invoked by uid 99); 10 Nov 2008 15:38:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 07:38:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 15:37:01 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 67BC014A8011 for ; Mon, 10 Nov 2008 09:37:13 -0600 (CST) Message-ID: <13615068.1226331433393.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 10 Nov 2008 09:37:13 -0600 (CST) From: "Michael Johns (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-1963) Problems running multiple instances in Tomcat In-Reply-To: <31380451.1225921551043.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153668#action_153668 ] Michael Johns commented on CONTINUUM-1963: ------------------------------------------ I haven't seen an open issue for the log file contention. We can break this issue up if you think that's best, though it really all falls under the umbrella of not being able to run multiple instances concurrently. I'd hate for some of the contention to be fixed but not all of it. > Problems running multiple instances in Tomcat > --------------------------------------------- > > Key: CONTINUUM-1963 > URL: http://jira.codehaus.org/browse/CONTINUUM-1963 > 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: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira