---
name: "tomcat8-instance-create"
section: "2"
platform: "linux"
package: "tomcat8-user"
version: "8.5.54-0+deb9u1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/tomcat8-instance-create"
---

# tomcat8-instance-create(2)

creates a Tomcat 8 instance

## NAME

tomcat8-instance-create - creates a Tomcat 8 instance

## SYNOPSIS

**tomcat8-instance-create \[*OPTIONS*\] *DIRECTORYNAME***

## DESCRIPTION

The **tomcat8-instance-create** script creates a directory with all required Tomcat 8 CATALINA\_BASE elements so that a separate Tomcat 8 instance with its own configuration, libraries or web applications can be run by a user. bin/startup.sh and bin/shutdown.sh scripts are also generated to allow the instance to be started and stopped.

- **DIRECTORYNAME**

  The name of the directory where the instance will be created. It should not exist and will be created automatically.

## OPTIONS

- **-p HTTPPORT**

  The TCP port to use for the default HTTP connector in the instance. The default port is 8080.

- **-c CONTROLPORT**

  The TCP port to use for Tomcat shutdown control port. The default port is 8005.

- **-w MAGICWORD**

  The magic word that sent to the control port will trigger the shutdown of the Tomcat instance. The default word is SHUTDOWN.

## AUTHOR

This man page was written by Thierry Carrez \<thierry.carrez@ubuntu.com\> and is copyright (C) 2008 Canonical Ltd.
