incubator-lokahi-commits mailing list archives

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

     [ https://issues.apache.org/jira/browse/LOKAHI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ludovic Maître updated LOKAHI-4:
--------------------------------

    Attachment: worker.zip

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, 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: tomcat-api-worker-serverxmlfile-factory.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.


Mime
View raw message