以前配置好的tomcat7.0,之前是能用的,不知道是动了,什么,现在在myeclipse中启动tomcat总是不会显示最后的成功启动时间,而是显示下面这些就没有下文了:
2013-6-25 22:25:31 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2013-6-25 22:25:31 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2013-6-25 22:25:31 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
2013-6-25 22:25:32 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
2013-6-25 22:25:32 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2013-6-25 22:25:32 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 595 ms
2013-6-25 22:25:32 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2013-6-25 22:25:32 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.40
2013-6-25 22:25:32 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs
2013-6-25 22:25:32 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\EquipmentManagerWeb
而且还会自动打开Class.class文件,Debug窗口也会出现一些文件列表。这个时候在myeclipse上查看tomcat是启动了的,但是实际上无法使用,而且点击停止tomcat还会报如下错误
2013-6-25 22:32:17 org.apache.catalina.startup.Catalina stopServer
严重: 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:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)