LifeNote
  Try to find something different in your life and then write it down      Java乐园:www.java-bj.cn 资料下载

配置并运行 Tomcat 服务器(入门整理)

by BeanSoft@126.com

安装tomcat后,启动不了.
错误提示:
 # ./startup.sh
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
原因:Linux上文件的执行权限造成的.很多文件不能运行.
解决办法:
cd $CATALINA_HOME/bin
chmod u+x *
这个是普通用户会出现这种问题, 如果是 root 或者超级用户, 只需要
chmod u+x *.sh.

posted on 2007-12-12 10:40 LifeNote 阅读(127) 评论(0)  编辑  收藏 所属分类: tomcat



标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2007-12-12 17:02 编辑过