Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022

tomcat8 (8)


tomcat8 - Apache Tomcat Version 8 overview


Please see following description for synopsis


System Administration Commands                                      tomcat8(8)

       tomcat - Apache Tomcat Version 8 overview

       Apache  Tomcat Version 8 (Tomcat) is implementation of the Java Servlet
       and JavaServer Pages technologies.

       Tomcat can be enabled by authorized user within the service  management
       facility  (SMF),  using the following fault management resource identi-
       fier (FMRI):


       Tomcat enabled via SMF is executed for better security with  "webservd"
       user  credentials  and with added "net_privaddr" privilege so it can be
       configured to listen on privileged TCP ports (e.g.  80).  With  default
       configuration Tomcat listens on TCP port 8080.

       Unauthorized  user  can  start Tomcat with his or her credentials using
       ordinary startup scripts and by setting CATALINA_BASE environment vari-
       able  to  path  with his or her conf/, webapp/ and logs/ subdirectories
       (see Tomcat directory structure bellow).

       Similarly it's possible to run multiple SMF Tomcat instances by setting
       CATALINA_BASE  for both start and stop methods for newly created Tomcat

       Tomcat from version 8.5 starts with more strict umask(1) 0027.  If this
       is  not  convenient, different umask value can be set by UMASK variable
       in setenv.sh file.

       The following files specify the installation locations for Tomcat 6:


           Symbolic link to directory containing Tomcat 8 configuration  files


           Contains Tomcat startup scripts.


           Contains Tomcat private libraries.


           Contains  Tomcat  documentation  in  HTML format. The directory has
           classical  WEBAPP  structure  and  it's  symbolically   linked   as
           /var/tomcat8/webapps/docs   (the   link   is   part   of  web/java-
           servlet/tomcat/tomcat-examples packages).


           Contains Tomcat configuration files. A newly-installed Tomcat  con-
           tains  a  default  server.xml  file. This is the main configuration
           file.  For setting Tomcat environment variables  it's  possible  to
           create  here  setenv.sh  file  which  is  sourced  during  start by


           Contains Tomcat log and output files.


           Directory used by the JVM for temporary files (java.io.tmpdir).


           Tomcat Web Application  Directory  where  are  WAR  files  put  for


           Directory  with default (ROOT) web application which is served when
           URL is requested without further path specifier (http://hostname/).
           After  Tomcat packages installation this directory is intentionally
           left empty with just index.jsp and index.htm files. The  HTML  file
           redirects  requester  to Tomcat home page which is in ROOT.example/
           directory (this file  is  part  of  web/java-servlet/tomcat/tomcat-
           examples package). The JSP file is default home page which is shown
           when web/java-servlet/tomcat/tomcat-examples (and thus  HTML  file)
           is not installed. This shall allow better deployment of custom ROOT
           web application while maintain upgrade ability via packaging system
           (without losing data).


           Tomcat  home  web application (part of web/java-servlet/tomcat/tom-
           cat-examples package).


           This directory contains web application with various  ServLets  and
           JSP examples. The directory is part of web/java-servlet/tomcat/tom-
           cat-examples package which can be removed if it's required (to per-
           manently disable this web application).


           Directory  where  Tomcat  places  for web applications intermediate
           files (such as compiled JSP files) during its work.

       See attributes(7) for descriptions of the following attributes:

       |Availability   | web/java-servlet/tomcat-8 |
       |Stability      | Uncommitted               |


       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source was downloaded from  https://archive.apache.org/dist/tomcat/tom-

       Further information about this software can be found on the open source
       community website at https://tomcat.apache.org/.

Solaris 11.4                      8 Dec 2016                        tomcat8(8)