Date: 2004-01-22T23:26:17 Editor: 205.201.8.92 <> Wiki: Apache Avalon Wiki Page: AvalonFAQ/Merlin URL: http://wiki.apache.org/avalon/AvalonFAQ/Merlin
added example for NT service -farra Change Log: ------------------------------------------------------------------------------ @@ -29,6 +29,21 @@ == How can there be more than one activation="startup"? It doesn't seems to matter if I take it away. == +== How to I configure an NT Service? What block is launched? == +Merlin uses the Java Service Wrapper to run as an NT Service. The wrapper is configured with an wrapper.conf file located in %MERLIN_HOME%/bin/nt/. The service is configured to look for an environmental variable called '''MERLIN_DAEMON''' and uses this as the working directory for merlin (merlin.dir). +You can then place a properties file in MERLIN_DAEMON called '''merlin.properties'''. A list of valid properties can be found at [http://avalon.apache.org/merlin/merlin/kernel/properties.html]. The one to notice is '''merlin.deployment'''. This sets the list of blocks you wish to start in your NT service. + +Example file: (%MERLIN_DAEMON/merlin.properties) +{{{ +merlin.info=true +merlin.audit=true +merlin.debug=false +merlin.kernel=file:///${merlin.home}/kernel.xml +merlin.override=file:///${merlin.home}/config.xml +merlin.deployment=file:///${merlin.home}/james.xml +merlin.server=true +}}} + = Extensions = == What kind of extensions are available? == --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
