windows中修改catalina.sh上传到linux执行报错This file is needed to run this program解决 一.发现问题 由于tomcat内存溢出,在windows下修改了catalina.sh,然后通过ssh传到linux服务器上,执行catalina.sh时出现如下错误: Cannot find ./catalina.sh This file is needed to run this program 二.尝试解决 使用sh catalina.sh命…
Tomcat版本为 8.5.29. 1.情景 kill调用tomcat进程后,重启tomcat报如下错误: Cannot find /usr/local/apache-tomcat-/bin/setclasspath.sh This file is needed to run this program 2.解决方法 编辑 catalina.sh,发现前两行多了如下内容: export CATALINA_BASE=$CATALINA_BASE2 export CATALINA_HOME=$CATA…
tomcat启动报错后显示以下错误 ## There is insufficient memory for the Java Runtime Environment to continue.# Native memory allocation (malloc) failed to allocate 1297136 bytes for Chunk::new# An error report file with more information is saved as:# D:\apache-tom…
SHH框架工程,Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误 1.查看配置文件web.xml中是否配置.org.springframework.web.context.ContextLoaderListener在web.xml配置文件中已经配置 2.查看工程是否添加此jar包,org.springframework.web.context.ContextLoaderListener的jar包为spring…
liunx下tomcat启动 Cannot find ./catalina.sh 2013-08-23 11:50 1521人阅读 评论(0) 收藏 举报 Cannot find ./catalina.shThe file is absent or does not have execute permission This file is needed to run this program 没有给bin目录下的文件授权可执行权限: chmod +x bin/*.sh…
tomcat启动报错 如下图: 问题:8080.8009端口已经被占用. 解决办法: 1.在命令提示符下,输入netstat -aon | findstr 8080 2.继续输入taskkill -F -IM javaw.exe或taskkill /pid 848 /F  结束该进程…
[toc]启动错误 does not exist or is not a readable directory 问题:tomcat启动报错:does not exist or is not a readable directory 原因:由于个人配置问题,tomcat的项目目录下(webapps)找不到相应的项目根路径, 如果在eclipse里面修改过:右键项目-properties-web project settings-contexts root,此处是修改项目访问的根路径, 做过如上修改…
tomcat启动报错too low setting for -Xss 网上给的答案都是调整Xss参数,其实不是正确的做法, -Xss:每个线程的Stack大小,“-Xss 15120” 这使得tomcat每增加一个线程(thread)就会立即消耗15M内存,而最佳值应该是128K,默认值好像是512k. 具体报错如下 Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations fo…
系统:centos6.5 x86_64 jdk: 1.8.0_102 tomcat:8.0.37 tomcat 启动报错: ERROR o.a.catalina.session.StandardManager 182 - Exception loading sessions from persistent storage 网络上的解决方案:    (1) Tomcat/work/Catalina/localhost/工程名/SESSIONS.ser session未超时的情况下服务器关闭大的时候…
1,场景说明: 偶然碰见Tomcat启动报错,此时并没有Add任何Web项目: Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete. 2,解决方案: 重新添加Servers:Window-->Show View-->Servers,选中Servers右键--…