配置并运行 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 阅读(244) 评论(0)  编辑  收藏 所属分类: tomcat

只有注册用户登录后才能发表评论。


网站导航: