tomcat中关于更新类后重启服务的问题

版本:Tomcat  4.0
方法一:通过后台管理http://localhost:8080/manager/html  应用管理来RELOAD  
 
方法二:修改conf/server.xml中相关的上下文<content>描述,指定  reloadable=true ;
模拟其中的example示例,将其中的example替换你的工程名

版本:Tomcat  5.0
假设工程名为:TTBM 
在D:/Tomcat  5.0/conf/Catalina/localhost 下添加一个文件TTBM.xml,其内容为:  
<!--  
 
       Context  configuration  file  for  the  Tomcat  Balancer  Web  App  
       This  is  only  needed  to  keep  the  distribution  small  and  avoid  duplicating  
       commons  libraries  
 
       $Id:  balancer.xml,v  1.1  2003/11/20  21:43:32  remm  Exp  $  
 
-->  
 
 
<Context  path="/TTBM"  docBase="TTBM"  debug="0"  privileged="true"  reloadable="true">  
 
</Context>  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值