Linux下tomcat启动BASEDIR environment variable问题
来源:互联网 发布:基于标签的分析算法 编辑:程序博客网 时间:2024/05/19 23:02
今天安装TOMCAT5,下载的是其ZIP安装包,在Linux下unzip后,使用sh startup.sh启动tomcat,出现
- Cannot find ./catalina.sh
- This file is needed to run this program
Cannot find ./catalina.shThis file is needed to run this program
然后又使用sh catalina.sh命令执行,结果
没有设置javahome,然后在catalina.sh里面添加:
- JAVA_HOME=/usr/lib/jvm/jdk1.5.0_16;
JAVA_HOME=/usr/lib/jvm/jdk1.5.0_16;
再次执行sh catalina.sh,错误如下:
- The BASEDIRenvironmentvariable is not defined correctly
- This environmentvariable is needed to run this program
The BASEDIRenvironmentvariable is not defined correctly This environmentvariable is needed to run this program
经过无数百度后,才发现那些.sh文件都不是可执行文件,于是找到命令:
- chmod +x *.sh
chmod +x *.sh
再次执行 sh catalina.sh通过,然后用sh startup.sh成功启动
原贴:http://zhangzcz1999.javaeye.com/blog/244023
- Linux下tomcat启动BASEDIR environment variable问题
- linux下启动tomcat报错:The BASEDIR environment variable is not defined correctly解决方法
- Linux下启动tomcat 6.x 提示The BASEDIR environment variable is not defined correctly
- linux下tomcat启动报错The BASEDIR environment variable is not defined correctly
- Linux下Tomcat启动报 The BASEDIR environment variable is not defined
- linux下启动tomcat报错:The BASEDIR environment...
- mac下启动tomcat报错:The BASEDIR environment variable is not defined correctly
- linux启动tomcat异常:The BASEDIR environment variable is not defined correctly
- linux启动tomcat报:The BASEDIR environment variable is not defined correctly
- linux启动tomcat异常:The BASEDIR environment variable is not defined correctly
- linux下tomcat出现The BASEDIR environment variable is not defined correctly
- Tomcat启动报The BASEDIR environment variable is not defined correctly
- 解决Linux下启动Tomcat遇到Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- Linux下tomcat启动Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of
- Linux下Tomcat启动报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one
- 把二元查找树转变成排序的双向链表
- Unable to Cancel Invoice As Exchange Rate Missing Invoice Now On No Rate Hold.
- 何必言精通——十年杂感 兼谈其它
- 开发人员一定要加入收藏夹的网站
- 怎么在JSP页面里面捕捉关闭IE浏览器事件
- Linux下tomcat启动BASEDIR environment variable问题
- 要监听服务器,要将服务器的RUN.BAT 中的监听打开。将'WELCOME'上面中的rem set JAVA.OPS=中的注释rem去掉,端口改为8787与Eclipse 中Remote JAVa application中的一致即可。
- PDF转换成Word文档(大家记一下,绝对实用)
- MapInfo地图查询的简单实现
- 网站状态验证WebBrowser控件实现
- Cacti安装错误:Warning: exec(): Unable to fork [c:/rrdtool/rrdtool.exe] 已解决
- vs数据控件中时间显示问题
- 滚动字幕标签的用途
- jewelry Business Card Holder KH06