tomcat无法启动,昨天通过新件一个web解决启动问题,今天又不能启动了 求大神详细步骤本人新手谢谢!

轻松熊面条 发布于 2016/02/18 12:55
阅读 4K+
收藏 0

用的是meeclipse 2015 CI mac破解版 不知道和软件有没有关系,但错天还能启动,今天又不能启动,

错误代码

?? 18, 2016 11:35:50 ?? org.apache.tomcat.util.digester.SetPropertiesRule begin

??: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:myhttp' did not find a matching property.

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Server version:        Apache Tomcat/7.0.67

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Server built:          Dec 7 2015 13:07:11 UTC

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Server number:         7.0.67.0

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: OS Name:               Mac OS X

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: OS Version:            10.11.3

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Architecture:          x86_64

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Java Home:             /Applications/MyEclipse 2015 CI/MyEclipse 2015 CI.app/Contents/Profile/binary/com.sun.java.jdk7.macosx.x86_64_1.7.0.u45/jre

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: JVM Version:           1.7.0_45-b18

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: JVM Vendor:            Oracle Corporation

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: CATALINA_BASE:         /usr/local/tomcat

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: CATALINA_HOME:         /usr/local/tomcat

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dcatalina.base=/usr/local/tomcat

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dcatalina.home=/usr/local/tomcat

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dwtp.deploy=/usr/local/tomcat/me-webapps

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dfile.encoding=US-ASCII

?? 18, 2016 11:35:50 ?? org.apache.catalina.core.AprLifecycleListener lifecycleEvent

??: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/wjw/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

?? 18, 2016 11:35:50 ?? org.apache.coyote.AbstractProtocol init

??: Initializing ProtocolHandler ["http-bio-8080"]

?? 18, 2016 11:35:50 ?? org.apache.coyote.AbstractProtocol init

??: Initializing ProtocolHandler ["ajp-bio-8009"]

?? 18, 2016 11:35:50 ?? org.apache.catalina.startup.Catalina load

??: Initialization processed in 849 ms

?? 18, 2016 11:35:50 ?? org.apache.catalina.core.StandardService startInternal

??: Starting service Catalina

?? 18, 2016 11:35:50 ?? org.apache.catalina.core.StandardEngine startInternal

??: Starting Servlet Engine: Apache Tomcat/7.0.67

?? 18, 2016 11:35:51 ?? org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom

??: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [301] milliseconds.

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deploying web application directory /usr/local/tomcat/webapps/docs

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deployment of web application directory /usr/local/tomcat/webapps/docs has finished in 67 ms

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deploying web application directory /usr/local/tomcat/webapps/examples

?? 18, 2016 11:35:51 ?? org.apache.catalina.core.ApplicationContext log

??: ContextListener: contextInitialized()

?? 18, 2016 11:35:51 ?? org.apache.catalina.core.ApplicationContext log

??: SessionListener: contextInitialized()

?? 18, 2016 11:35:51 ?? org.apache.catalina.core.ApplicationContext log

??: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@322d115e')

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deployment of web application directory /usr/local/tomcat/webapps/examples has finished in 201 ms

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deploying web application directory /usr/local/tomcat/webapps/host-manager

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deployment of web application directory /usr/local/tomcat/webapps/host-manager has finished in 51 ms

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deploying web application directory /usr/local/tomcat/webapps/manager

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deployment of web application directory /usr/local/tomcat/webapps/manager has finished in 49 ms

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deploying web application directory /usr/local/tomcat/webapps/ROOT

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.HostConfig deployDirectory

??: Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 70 ms

?? 18, 2016 11:35:51 ?? org.apache.coyote.AbstractProtocol start

??: Starting ProtocolHandler ["http-bio-8080"]

?? 18, 2016 11:35:51 ?? org.apache.coyote.AbstractProtocol start

??: Starting ProtocolHandler ["ajp-bio-8009"]

?? 18, 2016 11:35:51 ?? org.apache.catalina.startup.Catalina start

??: Server startup in 1453 ms

?? 18, 2016 11:35:51 ?? org.apache.catalina.core.StandardServer await

??: StandardServer.await: create[localhost:8005]: 

java.net.BindException: Can't assign requested address

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)

at java.net.ServerSocket.bind(ServerSocket.java:376)

at java.net.ServerSocket.<init>(ServerSocket.java:237)

at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)

at org.apache.catalina.startup.Catalina.await(Catalina.java:781)

at org.apache.catalina.startup.Catalina.start(Catalina.java:727)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)

?? 18, 2016 11:35:51 ?? org.apache.coyote.AbstractProtocol pause

??: Pausing ProtocolHandler ["http-bio-8080"]

?? 18, 2016 11:35:53 ?? org.apache.coyote.AbstractProtocol pause

??: Pausing ProtocolHandler ["ajp-bio-8009"]

?? 18, 2016 11:35:54 ?? org.apache.catalina.core.StandardService stopInternal

??: Stopping service Catalina

?? 18, 2016 11:35:54 ?? org.apache.catalina.core.ApplicationContext log

??: SessionListener: contextDestroyed()

?? 18, 2016 11:35:54 ?? org.apache.catalina.core.ApplicationContext log

??: ContextListener: contextDestroyed()

?? 18, 2016 11:35:54 ?? org.apache.coyote.AbstractProtocol stop

??: Stopping ProtocolHandler ["http-bio-8080"]

?? 18, 2016 11:35:55 ?? org.apache.coyote.AbstractProtocol stop

??: Stopping ProtocolHandler ["ajp-bio-8009"]

?? 18, 2016 11:35:56 ?? org.apache.coyote.AbstractProtocol destroy

??: Destroying ProtocolHandler ["http-bio-8080"]

?? 18, 2016 11:35:56 ?? org.apache.coyote.AbstractProtocol destroy

??: Destroying ProtocolHandler ["ajp-bio-8009"]


加载中
0
会哭的鳄鱼
会哭的鳄鱼
这个版本的myeclipse确实有问题,不过,我这里的tomcat是可以启动起来的。建议你还是退到2014版吧,或则更低版本比较靠谱。因为2015版的从ci 12(具体哪个小版本号记不清了)开始,已经没法破解了。要么降到低版本,要么,就等等破解器出来!现在2015的最近版是ci19
轻松熊面条
谢谢答复,我在公司用tomcat就会出现这个问题,在家就没事。我的解决办法是用tomcat文件覆盖掉原路径,重新安装就可以了。但是重启后又会有这问题。
0
轻松熊面条

引用来自“会哭的鳄鱼”的评论

这个版本的myeclipse确实有问题,不过,我这里的tomcat是可以启动起来的。建议你还是退到2014版吧,或则更低版本比较靠谱。因为2015版的从ci 12(具体哪个小版本号记不清了)开始,已经没法破解了。要么降到低版本,要么,就等等破解器出来!现在2015的最近版是ci19

我的解决办法是用tomcat文件覆盖掉原路径,重新安装就可以了。但是重启后又会有这问题。此方法只能暂时解决tomcat服务器的启动问题。

返回顶部
顶部