tomcat内退,求解!!!!!!!!!!!!!!!

问题描述

tomcat内退,求解!!!!!!!!!!!!!!!

23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.14
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 24 2014 09:01:51
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.14.0
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2008 R2
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0-b132
23-Jan-2015 08:48:06.634 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
23-Jan-2015 08:48:06.821 INFO [main] org.apache.catalina.core.AprLifecycleListener.init Loaded APR based Apache Tomcat Native library 1.1.31 using APR version 1.4.8.
23-Jan-2015 08:48:06.821 INFO [main] org.apache.catalina.core.AprLifecycleListener.init APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
23-Jan-2015 08:48:06.914 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/'. The path [test] does not meet these criteria and has been changed to [/test]
23-Jan-2015 08:48:07.445 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.1h 5 Jun 2014)
23-Jan-2015 08:48:07.585 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]
23-Jan-2015 08:48:07.585 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]
23-Jan-2015 08:48:07.601 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1027 ms
23-Jan-2015 08:48:07.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
23-Jan-2015 08:48:07.632 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.14
23-Jan-2015 08:48:07.679 SEVERE [Catalina-startStop-1] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@39dee35b]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4900)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5029)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
Caused by: java.lang.IllegalArgumentException: The main resource set specified [E:javawebApp] is not valid
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:665)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more

23-Jan-2015 08:48:07.694 SEVERE [main] org.apache.catalina.core.ContainerBase.startInternal A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:924)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more

23-Jan-2015 08:48:07.694 SEVERE [main] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:924)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more

23-Jan-2015 08:48:07.710 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-8080"]
23-Jan-2015 08:48:07.710 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-apr-8009"]
23-Jan-2015 08:48:07.710 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
23-Jan-2015 08:48:07.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-8080"]
23-Jan-2015 08:48:07.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-apr-8009"]

解决方案

23-Jan-2015 08:48:06.914 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/'. The path [test] does not meet these criteria and has been changed to [/test]
这应该是把tomcat的某个配置文件改得有问题了,所以导致不能启动吧。把这个test项目删了再试

解决方案二:

解决访法:检查web.xml中的servlet映射

出现此异常,一般是由于过滤器造成的。

@WebFilter("/*")

过滤器弄错了,检查中配置的内容是否缺少“/” ,"/"表示当前web应用。

解决方案三:

估计你是把某个项目新部署到 tomcat,导致 tomcat 启动失败。
1. 你是修改的 %tomcat%/conf/server.xml 部署的该项目还是通过 %tomcat%/conf/Catalina/localhost/项目名.xml 部署的该项目?
如果是以上之一的话,检查 server.xml 或者 项目名.xml 下的 Context 标签的 docBase 有没有正确指向新项目的 web 根目录(maven-web 项目的话这个目录是 项目名/src/main/webapp);
2. 如果你是直接把 war 包丢进 %tomcat%/webapps 目录,请确认项目名和你配置的访问 path 一致。不过看你错误的描述,应该不是这种 war 部署。

时间: 2024-12-28 08:26:15

tomcat内退,求解!!!!!!!!!!!!!!!的相关文章

tomcat-----MyEclipse关联Tomcat报错 --

问题描述 ----MyEclipse关联Tomcat报错 -- Plug-in "com.genuitec.eclipse.ast.deploy.core" was unable to instantiate class "com.genuitec.eclipse.ast.deploy.core.ui.ServerView". MyEclipse 关联Tomcat启动本来OK的,因为电脑上配置了 tomcat7w.exe 启动,后来MyEclipse中怎么都不能关联

tomcat启动工程一闪而过,单独启动能成功!求解

问题描述 tomcat启动工程一闪而过,单独启动能成功!求解 只启动tomcat能成功,是配置没问题吧. 附图: 加工程的文件配置路径后,就一闪而过了: 附图: 查了很多资料,但是都没能解决.崩溃!

重新装的JDK,tomcat运行的时候显示这个怎么回事?求解

问题描述 重新装的JDK,tomcat运行的时候显示这个怎么回事?求解 2015-11-24 13:29:34 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.

maven2-MAVEN求解No plugin found for prefix 'tomcat'

问题描述 MAVEN求解No plugin found for prefix 'tomcat' [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.jeecgframework:jeecg:war:3.5.2 [WARNING] 'dependencies.dependency.systemPath

tomcat下访问自己打的jar包的问题,急求解!

问题描述 tomcat下访问自己打的jar包的问题,急求解! 请教大家一个问题 把web工程里面的classes文件打成了一个a.jar的包放到lib里面 tomcat部署成功之后 访问里面的webService接口(类似与http://192.168.1.200:7000/工程名/rest/user/login) 为什么会报404找不到呢,确认tomcat已经部署成功了!求解释! 解决方案 路径的中文名,改一个英文名试试 解决方案二: 确定tomcat是否正常启动,然后url中的中文改成英文

apache运行过程-apache与tomcat交互过程求解

问题描述 apache与tomcat交互过程求解 各位大神们好,关于apache的运行流程还是有些疑惑,如下 1.浏览器请求-〉apache->tomcat , 2.tomcat返回给->apache->浏览器. 弟2部分,tomcat返回apache,apache是完全接收到tomcat返回的内容后再返回给浏览器,还是接收多少就返回给浏览器多少,也就是apache是不是等浏览器拿到全部数据后才关闭与tomcat的连接? 多谢各位大神们,致谢.

tomcat-小白求解Tomcat中Servlet 发生[localhost-startStop-1]

问题描述 小白求解Tomcat中Servlet 发生[localhost-startStop-1] 最近想做jsp 但是无奈第一步就卡住了(是在idea+tomcat 8.0.28下面做的) 其实就是一个最简单的helloworld服务网页,但是tomcat报错,如下: 18-Nov-2015 16:04:10.665 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deplo

Tomcat报错。。求解

问题描述 大家好.我是一个JAVA新手..问的问题可能有些简单.希望各位多多包涵.我的Eclipse是7.0的.JDK是jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.Tomcat是apache-tomcat-6.0.26版本的.之前也用过做了一些小东西.后来有段时间没怎么练习过了就没怎么用.这几天想复习下然后去找工作.想先看下以前自己做的项目..于是配好Tomcat发布项目..结果悲剧出现了如图:[img=C:UsersAdministrator

myeclipse中启动tomcat,出现如下问题?求解?

问题描述 严重:Errorinitializingendpointjava.net.SocketException:UnrecognizedWindowsSocketserror:0:JVM_Bindatjava.net.PlainSocketImpl.socketBind(NativeMethod)atjava.net.PlainSocketImpl.bind(UnknownSource)atjava.net.ServerSocket.bind(UnknownSource)atjava.net