5 The contents of this file are subject to the terms of the
6 Common Development and Distribution License (the "License").
7 You may not use this file except in compliance with the License.
9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 or http://www.opensolaris.org/os/licensing.
11 See the License for the specific language governing permissions
12 and limitations under the License.
14 When distributing Covered Code, include this CDDL HEADER in each
15 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 If applicable, add the following below this CDDL HEADER, with the
17 fields enclosed by brackets "[]" replaced with your own identifying
18 information: Portions Copyright [yyyy] [name of copyright owner]
23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
25 Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
28 <service_bundle type='manifest' name='SUNWtcatr:tomcat'>
36 Because we may have multiple instances of network/http
37 provided by different implementations, we keep dependencies
38 and methods within the instance.
41 <instance name='tomcat8' enabled='false'>
43 Wait for network interfaces to be initialized.
45 <dependency name='network'
46 grouping='require_all'
49 <service_fmri value='svc:/milestone/network:default'/>
53 Wait for all local filesystems to be mounted.
55 <dependency name='filesystem-local'
56 grouping='require_all'
60 value='svc:/system/filesystem/local:default'/>
64 Wait for automounting to be available, as we may be
65 serving data from home directories or other remote
68 <dependency name='autofs'
69 grouping='optional_all'
73 value='svc:/system/filesystem/autofs:default'/>
79 exec='/lib/svc/method/http-tomcat8 start'
83 user='webservd' group='webservd'
84 privileges='basic,net_privaddr'/>
91 exec='/lib/svc/method/http-tomcat8 stop'
92 timeout_seconds='60' />
96 <loctext xml:lang='C'>
102 <manpage title='tomcat8' section='1M'
103 manpath='/usr/share/man' />
104 <doc_link name='apache.org'
105 uri='http://tomcat.apache.org' />
111 <stability value='Evolving' />