Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Tomcat server discovery

Tomcat server discovery

Discovery identifies and classifies information about Tomcat servers and Web applications running on Unix machines.

Discovery can identify and classify Web applications present in either the CATALINA_BASE directory or the CATALINA_HOME directory.

The classifier that finds Tomcat server processes uses the condition: [Parameters] [contains] [org.apache.catalina.startup.Bootstrap].
Warning: DO NOT switch from probes to patterns if you are already running Discovery with probes, and your CMDB is already populated. If you do so, it is possible that the pattern Discovery process does not synchronize on the same values that the probe Discovery process does. This could result in duplicate CIs in your CMDB.

Credentials

Configure these credentials:
Credential type
Applicative credentials
SSH credentials

For both Discovery and Service Mapping, see Service Mapping commands requiring a privileged user for a list of the commands that require elevated rights to discover and map Unix-based hosts in your organization.

Classifiers, patterns, and probes

Discovery uses these classifiers, probes, and patterns for Tomcat discovery:
Classifier Trigger probes Pattern
Tomcat
  • Horizontal discovery probe: launches patterns
  • SSHCommand-Tomcat - Find web.xml List*
  • SSHCommand-Tomcat - Get server.xml*
  • SSHCommand-Tomcat - Get Version*
Tomcat
*Probes inactive on new instances.

Verify that the correct pattern is specified in the horizontal pattern probe on the classifier. See Add the Horizontal Pattern probe to a classifier for instructions.

Data collected

The following data is collected on the Tomcat [cmdb_ci_app_server_tomcat] table for both Unix and Windows:
Label Field name Source
Name name server.info
Install Directory install_directory server.xml
Version version server.info
Server Port server_port server.xml
Attributes attributes server.xml
The following data is collected on the Tomcat Connector [cmdb_ci_tomcat_connector] table for both Unix and Windows:
Label Field name Source
Tomcat tomcat server.xml
Port port server.xml
The following data is collected on the Web Service [cmdb_ci_web_service] table for both Unix and Windows:
Label Field name Source
App Server app_server Initial reference
The following data is collected on the Web Application [cmdb_ci_web_application] table for both Unix and Windows:
Label Field name Source
Description description web.xml
Document base document_base web.xml
App server app_server web.xml

Relationships

Parent class Relationship Child class
cmdb_ci_app_server_tomcat Contains::Contained by cmdb_ci_web_application