Tomcat SMF Manifest

Description

Solaris service management facility manifest and method files for Apache Tomcat 4.X and 5.X

Download

Version 1.3: tcatsmf-1.3.pkg.gz

Installation

  1. Uncompress the file:
    # gunzip tcatsmf-1.3.pkg.gz
  2. Install package:
    # pkgadd -d tcatsmf-1.3.pkg tcatsmf

Configuration

Default environment variables:

  • CATALINA_HOME=”/usr/apache/tomcat”
  • CATALINA_BASE=”/var/apache/tomcat”
  • JAVA_HOME=”/usr/java”

2 Responses to “Tomcat SMF Manifest”

  1. Steve Foster Says:

    Hi,

    just looking at these instructions, the setenv statements only apply changes to the ‘default’ instance, which in this case is ’start’. You are also using JAVA_HOME and CATALINA_HOME in the ’stop’ instance as well. So to apply the above changes to the environment you would need to either do a editprop or other in the svccfg().

    Cheers

    Steve

  2. Ilya Voronin Says:

    Great thanks for your feedback! I’ve fixed the example.

Leave a Reply