赞
踩
Apache Jakarta的开源项目
JSP/Servlet容器
默认端口:8080
startup.bat:启动Tomcat的批处理文件
shutdown.bat:停止Tomcat服务并释放资源的批处理文件
1. 启动服务
2. 关闭此窗口就关闭了Tomcat服务
快捷键:ctrl+c
3. 有时,端口会被占用,请记住端口被占用时的异常:
严重: Catalina.stop: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:189) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。