<?xml version="1.0"?> 
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 
<!-- 
    Copyright 2004 Sun Microsystems, Inc.  All rights reserved. 
    Use is subject to license terms.

    ident       "@(#)http-apache2.xml   1.2     04/11/11 SMI" 
-->

<service_bundle type='manifest' name='SUNWcsr:coreadm'>
<service 
        name='site/tomcat' 
        type='service' 
        version='1'>

        <!-- 
          Because we may have multiple instances of network/http 
          provided by different implementations, we keep dependencies 
          and methods within the instance. 
        -->

        <create_default_instance enabled='true' /> 
        <single_instance />

        <dependency name='loopback' 
            grouping='require_all' 
            restart_on='error' 
            type='service'> 
                <service_fmri value='svc:/network/loopback:default'/> 
        </dependency>

        <dependency name='physical' 
            grouping='optional_all' 
            restart_on='error' 
            type='service'> 
                <service_fmri value='svc:/network/physical:default'/> 
        </dependency>

        <dependency name='filesystem' 
                grouping='require_all' 
                restart_on='none' 
                type='service'> 
                <service_fmri 
                        value='svc:/system/filesystem/local' /> 
        </dependency>

        <exec_method 
                type='method' 
                name='start' 
                exec='/lib/svc/method/NWSINTtomcat55 start' 
                timeout_seconds='60' />

        <exec_method 
                type='method' 
                name='stop' 
                exec='/lib/svc/method/NWSINTtomcat55 stop' 
                timeout_seconds='60' />

        <stability value='Stable' />

        <template> 
                <common_name> 
                        <loctext xml:lang='C'> 
                                Tomcat v5.5 application server 
                        </loctext> 
                </common_name> 
        </template> 
</service>
</service_bundle>

