Created the ATS daemon and made necessary RPM install changes to allow
for its deployment.
This commit is contained in:
		| @@ -0,0 +1,39 @@ | ||||
| ####################################################################### | ||||
| # | ||||
| #  Copyright (C) 2006 Novell, Inc. | ||||
| # | ||||
| #  This program is free software; you can redistribute it and/or | ||||
| #  modify it under the terms of the GNU General Public | ||||
| #  License as published by the Free Software Foundation; either | ||||
| #  version 2 of the License, or (at your option) any later version. | ||||
| # | ||||
| #  This program is distributed in the hope that it will be useful, | ||||
| #  but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||
| #  General Public License for more details. | ||||
| # | ||||
| #  You should have received a copy of the GNU General Public | ||||
| #  License along with this program; if not, write to the Free | ||||
| #  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
| # | ||||
| #  Author: Juan Carlos Luciani <jluciani@novell.com> | ||||
| # | ||||
| ####################################################################### | ||||
|  | ||||
| SUBDIRS = | ||||
|  | ||||
| DIST_SUBDIRS = | ||||
|  | ||||
| CFILES = | ||||
|  | ||||
| EXTRA_DIST = admin.xml \ | ||||
| 		balancer.xml \ | ||||
| 		manager.xml | ||||
|  | ||||
| .PHONY: package package-clean package-install package-uninstall | ||||
| package package-clean package-install package-uninstall: | ||||
| 	$(MAKE) -C $(TARGET_OS) $@ | ||||
|  | ||||
| maintainer-clean-local: | ||||
| 	rm -f Makefile.in | ||||
|  | ||||
| @@ -0,0 +1,30 @@ | ||||
| <!-- | ||||
|  | ||||
|     Context configuration file for the Tomcat Administration Web App | ||||
|  | ||||
|     $Id: admin.xml,v 1.3 2004/02/20 17:09:19 remm Exp $ | ||||
|  | ||||
| --> | ||||
|  | ||||
|  | ||||
| <Context path="/admin" docBase="${catalina.home}/server/webapps/admin" | ||||
|         debug="0" privileged="true"> | ||||
|  | ||||
|   <!-- Uncomment this Valve to limit access to the Admin app to localhost | ||||
|    for obvious security reasons. Allow may be a comma-separated list of | ||||
|    hosts (or even regular expressions). | ||||
|   <Valve className="org.apache.catalina.valves.RemoteAddrValve" | ||||
|     allow="127.0.0.1"/> | ||||
|   --> | ||||
|  | ||||
|   <Logger className="org.apache.catalina.logger.FileLogger" | ||||
|              prefix="localhost_admin_log." suffix=".txt" | ||||
|           timestamp="true"/> | ||||
|  | ||||
|   <!-- Allow linking since JPackage do not install jar as copies --> | ||||
|  | ||||
|   <Resources className="org.apache.naming.resources.FileDirContext" | ||||
|              allowLinking="true"/> | ||||
|  | ||||
|  | ||||
| </Context> | ||||
| @@ -0,0 +1,14 @@ | ||||
| <!-- | ||||
|  | ||||
|     Context configuration file for the Tomcat Balancer Web App | ||||
|     This is only needed to keep the distribution small and avoid duplicating | ||||
|     commons libraries | ||||
|  | ||||
|     $Id: balancer.xml,v 1.1 2003/11/20 21:43:32 remm Exp $ | ||||
|  | ||||
| --> | ||||
|  | ||||
|  | ||||
| <Context path="/balancer" docBase="balancer" debug="0" privileged="true"> | ||||
|  | ||||
| </Context> | ||||
| @@ -0,0 +1,17 @@ | ||||
| <!-- | ||||
|  | ||||
|     Context configuration file for the Tomcat Manager Web App | ||||
|  | ||||
|     $Id: manager.xml,v 1.2 2004/02/20 17:09:29 remm Exp $ | ||||
|  | ||||
| --> | ||||
|  | ||||
|  | ||||
| <Context path="/manager" docBase="${catalina.home}/server/webapps/manager" | ||||
|         debug="0" privileged="true"> | ||||
|  | ||||
|   <!-- Link to the user database we will get roles from --> | ||||
|   <ResourceLink name="users" global="UserDatabase" | ||||
|                 type="org.apache.catalina.UserDatabase"/> | ||||
|  | ||||
| </Context> | ||||
		Reference in New Issue
	
	Block a user