incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Maître (JIRA) <>
Subject [jira] Updated: (LOKAHI-4) Make configuration files (server.xml, based upon temples
Date Mon, 15 Oct 2007 22:52:50 GMT


Ludovic Maître updated LOKAHI-4:


The Zip file containing the refactored worker package:
- ServerXmlFile : interface for producing server.xml files. It has only one method : build()
which return the file.
- ServerXmlFileImpl : the current class for producing server.xml file. Contain hardcoded values.
- ServerXmlFileFactory : singleton factory for producing ServerXmlFile instance. Contain a
method createServerXmlFile(TomcatWorker). 

The factory can be configured to use another class than ServerXmlFileImpl to produce the files
by using the system property org.apache.lokahi.tomcat.api.worker.ServerXmlFileFactory=<your
implementation class of ServerXmlFile> or at runtime by using the setImplementation(String
classname) method.

The class TomcatWorker and TomcatWorkerModel have been modified to use the factory.

> Make configuration files (server.xml, based upon temples
> ----------------------------------------------------------------------------
>                 Key: LOKAHI-4
>                 URL:
>             Project: Lokahi
>          Issue Type: Improvement
>            Reporter: Steve Toback
>         Attachments: tomcat-api-worker-serverxmlfile-factory.txt,
> As is right now - the server.xml file and 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.

View raw message