2008-04-24

linux下配置tomcat6开机自动启动

关键字: 技术
英文文档参见 http://tomcat.apache.org/tomcat-6.0-doc/setup.html
中文文档参见http://zengsun.javaeye.com/blog/161711

中间遇到的问题有这个几个
1:需要安装autoconfig组件 centos中比较方便 #yum install autoconfig搞定
2:make是可能会出现权限不足 修改权限即可 #chmod 755 configure
3:chkconfig是出现‘tomcat 服务不支持 chkconfig’在tomcat.sh的头部加如下代码
#!/bin/sh
#
# Startup Script for Tomcat6
#
# chkconfig: 345 88 14
# description: Tomcat Daemon
# processname: jsvc
# pidfile: /var/run/jsvc.pid
评论
发表评论

您还没有登录,请登录后发表评论

xly_971223
搜索本博客
博客分类
我的相册
C5b0e206-307c-3f61-aa60-9cfd71c61bb3-thumb
u=3528569133,1587051000&gp=38.jpg
共 2 张
最近加入圈子
存档
最新评论