linux 下启动tomcat
[root@test bin]# sh startup.shCannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program
解决办法:
给.sh文件授权
[root@test bin]# chmod +x *.sh
再启动,成功
[root@test bin]# sh startup.shUsing CATALINA_BASE: /home/tomcat2Using CATALINA_HOME: /home/tomcat2Using CATALINA_TMPDIR: /home/tomcat2/tempUsing JRE_HOME: /home/jdkUsing CLASSPATH: /home/tomcat2/bin/bootstrap.jar:/home/tomcat2/bin/tomcat-juli.jarTomcat started.