From lokahi-commits-return-269-apmail-incubator-lokahi-commits-archive=incubator.apache.org@incubator.apache.org Fri Feb 29 15:57:50 2008 Return-Path: Delivered-To: apmail-incubator-lokahi-commits-archive@locus.apache.org Received: (qmail 96665 invoked from network); 29 Feb 2008 15:57:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 15:57:50 -0000 Received: (qmail 9377 invoked by uid 500); 29 Feb 2008 15:57:45 -0000 Delivered-To: apmail-incubator-lokahi-commits-archive@incubator.apache.org Received: (qmail 9359 invoked by uid 500); 29 Feb 2008 15:57:45 -0000 Mailing-List: contact lokahi-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lokahi-dev@incubator.apache.org Delivered-To: mailing list lokahi-commits@incubator.apache.org Received: (qmail 9345 invoked by uid 99); 29 Feb 2008 15:57:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 07:57:45 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 15:57:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8912D234C04E for ; Fri, 29 Feb 2008 07:56:51 -0800 (PST) Message-ID: <1919767085.1204300611560.JavaMail.jira@brutus> Date: Fri, 29 Feb 2008 07:56:51 -0800 (PST) From: "Jeff Feist (JIRA)" To: lokahi-commits@incubator.apache.org Subject: [jira] Commented: (LOKAHI-4) Make configuration files (server.xml, workers.properties) based upon temples In-Reply-To: <4008022.1192478930563.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOKAHI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573799#action_12573799 ] Jeff Feist commented on LOKAHI-4: --------------------------------- Added patch (templateEngine.patch) for the following issues / enhancements: - Updated HostingPoolModel to use the new TemplateDeployer - Added logging code to VelocityTemplateEngine. By default, velocity will use its own logger and write to the current working directory. The updated code used the currently running lokahi log4j logger. - Added MathTool to the VelocityTemplateEngine - Added a buildString() method to the Templating engines so we can now process individual strings with the engine. This comes in handy if you would want to template the location of a deployed file. Eg: /etc/$worker.getPath()/conf/ > Make configuration files (server.xml, workers.properties) based upon temples > ---------------------------------------------------------------------------- > > Key: LOKAHI-4 > URL: https://issues.apache.org/jira/browse/LOKAHI-4 > Project: Lokahi > Issue Type: Improvement > Reporter: Steve Toback > Attachments: conf_DB-patch.txt, java-patch.txt, tomcat-api-worker-serverxmlfile-factory.txt, vms-patch.txt, worker.zip > > > As is right now - the server.xml file and workers.properties files are generated by Lokahi - and are hard-coded into the respective org.apache.lokahi.modjk.WorkersPropertiesFile and org.apache.lokahi.tomcat.worker.ServerXmlFile classes > This does not allow server.xml files to differ based upon the template used. Or newer versions of mod_jk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.