Configure Tomcat under Mac, enter startup.sh prompt command not found

Source: Internet
Author: User

Tomcat Configuration steps:

1. TheCD command goes under the bin of the Tomcat installation path

2.sudo chmod 755*.sh enter AppleID password to obtain relevant permissions

3.sudo sh startup.sh start tomcat

If you still prompt for command not found or

Cannot find./catalina.sh

The file is absent or does not have execute permission

This file is needed to run this program, workaround:

Replace the following two command inputs (generally with the first one)

1. SH catalina.sh Run
2. Nohup./start.sh &

The first command line, when you start, you can see that the log is refreshing, but when you turn off SSH, Tomcat is automatically turned off, not running in the background;
The second command line, which does not see the Log on screen at startup, but does not turn off Tomcat after shutting down the SSH because it is running in the background;


Now open the browser input: http://localhost:8080/

Should be able to display the normal

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.