使用Java Service Wrapper设置tomcat作为linux服务并且开机自动启动
#******************************************************************** # Wrapper Logging Properties
#******************************************************************** # Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO
# Log file to use for wrapper output logging.
# 设置log文件路径
wrapper.logfile=%CATALINA_BASE%/logs/wrapper.log
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=INFO
# Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes.
# 设置log文件最大值
wrapper.logfile.maxsize=5
# Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. #设置log文件最多个数
wrapper.logfile.maxfiles=10
# Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE
#******************************************************************** # Wrapper Windows Properties
#******************************************************************** # Title to use when running as a console
# windows下tomcat控制台名称
wrapper.console.title=Tomcat6 Application Server
#******************************************************************** # Wrapper Windows NT/2000/XP Service Properties
tomcat-5.5.33" export JAVA_HOME=/opt/jdk1.6.0_22 export CATALINA_...V1.0.1 -3- service tomcatd start 3、把tocmatd加到Linux启动服务中 执行...
tomcat设置为自动启动,会显示错误信息:service tomcat does not support chkconfig... 使用Java Service Wrapp... 5页 免费 tomcat加入系统服务 3页 免费 linux下...
YOURPATH/tomcat/temp 启动tomcat: service tomcat start 停止tomcat: service tomcat stop 至此tomcat开机启动全部配置完毕,下次linux重启的时候就会自动启动tomcat了...
tomcat开机启动设置_电脑基础知识_IT/计算机_专业资料。linux tomcat开机启动设置将tomcat作为linux的服务启动; 1、安装jsvc #cd/usr/java/apache-tomcat-5.5...
Linux下配置jdk+tomcat【附:设置tomcat自动启动,...JAVA_OPTS='-Xms256m -Xmx512m' \\添加这一行,...#service tomcat start #chkconfig tomcat on #...
Linux下两种自动启动Tomcat的方法_IT/计算机_专业...设置环境变量JDK_HOME和JAVA_HOME都指向JDK的安装...完成,启动服务 #service tomcat start 这时重启系统,...
使用 Java Service Wrapper 设置 tomcat 作为 linux 服务并且开机自动启动前几天总结了使用 JSVC 来设置 tomcat 作为 linux 服务并且开机自动启动, 但是如果要更专 ...
虚拟机linux下配置Tomcat并设置开机自启动_电脑基础知识_IT/计算机_专业资料。...tomcat Using CATALINA_TEMDIR: /usr/local/tomcat/temp Using JAVA_HOME: /...
linux tomcat7 开机自动启动 linux tomcat 7 设置...$JAVA_HOME/bin:$JAVA_HOME/jre/bin export CL...选择系统服务(System Service),找找是否有"tomcat"...
6、开机启动tomcat 1)设置脚本 vi /etc/rc.d/init.d/tomcat #!/bin/sh ... Linux下tomcat启动停止 2页 7下载券 使用Java Service Wrapp... 5页 免费...
热门文档