http-tomcat.xml revision 4246
142N/A<?xml version="1.0"?>
142N/A<!--
142N/ACDDL HEADER START
142N/A
142N/AThe contents of this file are subject to the terms of the
142N/ACommon Development and Distribution License (the "License").
142N/AYou may not use this file except in compliance with the License.
142N/A
142N/AYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
142N/Aor http://www.opensolaris.org/os/licensing.
142N/ASee the License for the specific language governing permissions
142N/Aand limitations under the License.
142N/A
142N/AWhen distributing Covered Code, include this CDDL HEADER in each
142N/Afile and include the License file at usr/src/OPENSOLARIS.LICENSE.
142N/AIf applicable, add the following below this CDDL HEADER, with the
142N/Afields enclosed by brackets "[]" replaced with your own identifying
142N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
142N/A
142N/ACDDL HEADER END
142N/A-->
142N/A
142N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
142N/A<!--
4246N/A Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
142N/A-->
142N/A
142N/A<service_bundle type='manifest' name='SUNWtcatr:tomcat'>
142N/A
142N/A<service
142N/A name='network/http'
142N/A type='service'
142N/A version='1'>
142N/A
142N/A <!--
142N/A Because we may have multiple instances of network/http
142N/A provided by different implementations, we keep dependencies
142N/A and methods within the instance.
142N/A -->
142N/A
4246N/A <instance name='tomcat8' enabled='false'>
142N/A <!--
142N/A Wait for network interfaces to be initialized.
142N/A -->
142N/A <dependency name='network'
142N/A grouping='require_all'
142N/A restart_on='error'
142N/A type='service'>
142N/A <service_fmri value='svc:/milestone/network:default'/>
142N/A </dependency>
142N/A
142N/A <!--
142N/A Wait for all local filesystems to be mounted.
142N/A -->
142N/A <dependency name='filesystem-local'
142N/A grouping='require_all'
142N/A restart_on='none'
142N/A type='service'>
142N/A <service_fmri
142N/A value='svc:/system/filesystem/local:default'/>
142N/A </dependency>
142N/A
142N/A <!--
142N/A Wait for automounting to be available, as we may be
142N/A serving data from home directories or other remote
142N/A filesystems.
142N/A -->
142N/A <dependency name='autofs'
142N/A grouping='optional_all'
142N/A restart_on='error'
142N/A type='service'>
142N/A <service_fmri
142N/A value='svc:/system/filesystem/autofs:default'/>
142N/A </dependency>
142N/A
142N/A <exec_method
142N/A type='method'
142N/A name='start'
4246N/A exec='/lib/svc/method/http-tomcat8 start'
142N/A timeout_seconds='60'>
142N/A <method_context>
142N/A <method_credential
142N/A user='webservd' group='webservd'
142N/A privileges='basic,net_privaddr'/>
142N/A </method_context>
142N/A </exec_method>
142N/A
142N/A <exec_method
142N/A type='method'
142N/A name='stop'
4246N/A exec='/lib/svc/method/http-tomcat8 stop'
142N/A timeout_seconds='60' />
142N/A
142N/A <template>
142N/A <common_name>
142N/A <loctext xml:lang='C'>
4246N/A Apache Tomcat 8
142N/A </loctext>
142N/A </common_name>
142N/A
142N/A <documentation>
4246N/A <manpage title='tomcat8' section='1M'
142N/A manpath='/usr/share/man' />
142N/A <doc_link name='apache.org'
142N/A uri='http://tomcat.apache.org' />
142N/A </documentation>
142N/A </template>
142N/A
142N/A </instance>
142N/A
142N/A <stability value='Evolving' />
142N/A
142N/A</service>
142N/A
142N/A</service_bundle>