In windows, When you upload catalina. sh to linux, the following error occurs: This file is needed to run.

Source: Internet
Author: User

Modify catalina in windows. sh upload to linux run error This file is needed to run this program solve 1. Found the problem due to tomcat memory overflow, modified catalina in windows. sh, then upload it to the linux server through ssh, and run catalina. sh: Cannot find. /catalina. sh This file is needed to run this program 2. Try to solve the problem by using sh catalina. sh command execution, the result does not set javahome, and then in catalina. sh: JAVA_HOME =/usr/lib/jvm/jdk1.5.0 _ 16; execute sh catalina again. sh, The error is as follows: The BASEDIRenvironmentvariable is not defined correctl Y This environmentvariable is needed to run this program 3. solution. sh files are not executable files, so find the command: chmod + x *. sh, this command means to make all. sh files can be executed. Execute sh catalina. sh again and start it with sh startup. sh.

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.