stack overflow 给出的答案: catalina.sh run starts tomcat in the foreground, displaying the logs on the console that you started it. Hitting Ctrl-C will terminate tomcat. startup.sh will start tomcat in the background. You'll have to tail -f logs/catalina.…
执行启动tomcat命令./startup.sh 提示 Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program 问题原因:没有给bin目录下的文件授权可执行权限: chmod +x bin/*.sh 然后用sh startup.sh启动成功…
首先查看Tomcat目录下是否存在catalina.sh,如果文件不存在,文件丢失,最好的方式是重装Tomcat Tomcat官网:http://tomcat.apache.org/ 如果文件存在,那可能是权限的问题,需要进入Tomcat的bin目录中执行chmod +x *.sh,未所有sh文件增加可执行权限 (rwx:代表属主权限,-代表无权限:r代表具有可读权限: w代表具有可写权限:x代表具有可执行权限) cd /Library/Tomcat/bin//进入bin目录 chmod +x…
从终端进入tomcat的bin目录,然后执行startup.sh Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 其实这里是权限,  解决方法: 依旧在tomcat 的bin目录下 执行 chmod +x *.sh 然后用sh startup.sh启动成功…
[root@localhost bin]# ./shutdown.sh shCannot find ./catalina.shThis file is needed to run this program 没有给bin目录下的文件授权可执行权限: chmod +x bin/*.sh…
linux下Tomcat 安装后执行startup.sh,出现– Cannot find …bin/catalina.sh 是因为权限不够,执行以下命令就可以: chmod +x startup.sh chmod +x shutdown.sh chmod +x catalina.sh chmod +x setclasspath.sh chmod +x bootstrap.jar chmod +x tomcat-jni.jar 详细的命令如下: chmod +x startup.sh chmod…
1 - 概述脚本catalina.sh用于启动和关闭tomcat服务器,是最关键的脚本另外的脚本startup.sh和shutdown.sh都是使用不同的参数调用了该脚本该脚本的使用方法如下(引自该脚本本身):  echo "Usage: catalina.sh ( commands ... )"  echo "commands:"  echo "  debug             Start Catalina in a debugger" …
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file t…
JVM的博客: http://blog.csdn.net/java2000_wl/article/category/1249100 http://blog.csdn.net/cutesource/article/details/5904501 有几个链接: http://www.cnblogs.com/fantiantian/p/3623740.html   查看tomcat启动文件都干点啥catalina.bat http://www.cnblogs.com/bluestorm/archive…
例:tomcat路径及名称为/data/apache-tomcat-7.0.67/ vim /data/apache-tomcat-7.0.67/bin/catalina.sh 找到org.apache.catalina.startup.Bootstrap "$@" stop这行,然后在这行下面加上 ];then `ps -ef |grep tomcat |awk '/.*\/data\/apache-tomcat-7.0.67\/.*/{print $2}'` fi 或 ];then…