Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 87461 invoked from network); 7 Nov 2008 18:27:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2008 18:27:13 -0000 Received: (qmail 40468 invoked by uid 500); 7 Nov 2008 18:27:19 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 40452 invoked by uid 500); 7 Nov 2008 18:27:19 -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 40441 invoked by uid 99); 7 Nov 2008 18:27:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2008 10:27:19 -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; Fri, 07 Nov 2008 18:26:01 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 4245714A801B for ; Fri, 7 Nov 2008 12:26:13 -0600 (CST) Message-ID: <7010829.1226082373230.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 7 Nov 2008 12:26: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=153456#action_153456 ] Michael Johns commented on CONTINUUM-1963: ------------------------------------------ One more thing is the location of continuum.log. That's currently configured in WEB-INF/classes/log4j.xml. Without a change, all instances log to the same file, which gets very confusing. > 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