您的位置:程序门 -> java -> eclipse



tomcat  port 设置问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


[向提问]tomcat port 设置问题[已结贴,结贴人:ycutc]
发表于:2008-02-21 00:30:29 楼主
我开发用的配置是tomcat6.0+eclipse3.3+lomboz3.3
以下就是我在设置完成后开发出现的问题:

several   ports   (8005,   8080,   8009)   required   by   tomcat   v6.0   server   at   localhost   are   already   in  
use.   the   server   may   already   be   running   in   another   process,   or   a   system   process   may   be   using  
the   port.   to   start   this   server   you   will   need   to   stop   the   other   process   or   change   the   port  
number(s).

我重装了tomcat6.0把port   改成了1088后,再按上述的方法建了一个项目,出现了以下的问题:
several   ports   (8005,   8009)   required   by   tomcat   v6.0   server   at   localhost   are   already   in   use.   the   server   may   already   be   running   in   another   process,   or   a   system   process   may   be   using   the   port.   to   start   this   server   you   will   need   to   stop   the   other   process   or   change   the   port   number(s).

请多多指教!
发表于:2008-02-21 12:52:591楼 得分:20
modify   server.xml:
        (1)change   shutdown port(8005->????)
          (2)change   the   coyoteconnector   port   of   connector(8009   ->   ????)
          (3)start   tomacat
发表于:2008-02-21 12:57:242楼 得分:70
打开你的[控制面板][管理工具][服务]

把那里面的tomcat   服务关掉!
发表于:2008-02-21 19:00:363楼 得分:0
本人试用两种方法去解决问题,第一种方法,较深奥,不胜理解,我用第2楼主的方法,解决了问题.  
    谢谢你们!
发表于:2008-02-21 19:06:294楼 得分:0
根据二楼的大侠解答,我在想是不是我同时开启了两个tomcat   ,导致冲突?
    请以后多多关照!!!!
发表于:2008-02-21 20:48:025楼 得分:10
你使用了安装版的tomcat,并且选择了[service]   服务选项,
这个是随机自动启动的。   建议你禁用它,   每次自己手工启动tomcat
发表于:2008-02-23 13:22:256楼 得分:0
谢谢老兄了!


快速检索

最新资讯
热门点击