view dist/README @ 17:012d66bbc61f

README. Set default homeBase value.
author Mikhail Kryshen <mikhail@kryshen.net>
date Tue, 03 Nov 2009 03:32:45 +0300
parents
children 1915c9c69129
line source
1 = Description =
3 Tomcat event listener to automatically deploy update and undeploy
4 applications from user home directories.
6 This is a rewrite of org.apache.catalina.startup.UserConfig listener
7 included in Tomcat which adds the following features:
8 - multiple web applications for each user,
9 - automatic application deployment,
10 - on UNIX access remote user database using getent command.
12 = Installation =
14 Copy userconfig.jar to Tomcat lib directory. Add Listener to the Host
15 element in the Tomcat configuration file (server.xml).
17 Listener that uses passwd database to list users:
18 <Listener className="kryshen.catalina.startup.PasswdUserConfig"/>
20 Listener that considers all home directories in the specified base
21 directory:
22 <Listener className="kryshen.catalina.startup.HomesUserConfig"/>
24 = Listener properties =
26 Common:
28 directoryName - base directory for web applications inside user's
29 home directory. Default: "public_webapps".
31 appsPerUser - maximum number of application each user is allowed to
32 deploy. Default: -1 (unlimited).
34 PasswdUserConfig:
36 passwd - path to local passwd file. Default: "/etc/passwd".
38 getent - getent command. Local passwd is used if this is not set.
39 Default: not set (null).
41 HomesUserConfig
43 homeBase - base directory for user homes. Default: "/home".