Add Server Instance Wizard: Tomcat Installation and Login Details

The Tomcat Installation and Login Details panel of the Add Server Instance wizard enables you to register an instance of the Apache Tomcat web server with the IDE.

Use this page to specify the details of the web server.

Element Description

Server Location

Specifies the Tomcat installation directory (Catalina Home) on your local system. Note that the IDE verifies that you have specified a valid Tomcat installation directory.
Use Private Configuration Folder (Catalina Base) Specifies that you expect to use Tomcat in a multi-user configuration. When you select this option, you can set the Catalina Base directory.
    Catalina Base Specifies the Tomcat base directory.

Typically, a base directory is placed under a user's directory. If you associate a base directory with the server, the base directory must have the following subdirectories.

  • conf. Directory for server configuration files. This directory must have a server.xml file.
  • logs. Directory for log and output files
  • webapps. Directory for automatically loaded web applications
  • work. Temporary working directory for web applications

If the base directory is empty, the IDE creates the subdirectories by copying them from Tomcat's home directory.

Username

Type the username for the server instance.

The user must be a Tomcat user who has a manager role.

If the username does not exist, you can select the box to create it.

Password

Type the password for the server instance.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.