###発生している問題・エラーメッセージ
現在javaを勉強中なのですが先日いきなりeclipse上で正常に作動していたTomcatが起動できなくなりました。
ビルドなどもみたのですが原因がわからずTomcatを入れなおしたのですが症状は変わらずです。
起動すると下のようなエラーがコンソールに表示されます。
開始中ローカルホストのTomcat v7.0サーバー’に問題が発生しました’
サーバー ローカル・ホスト の Tomcat v7.0 サーバー は始動に失敗しました。
と出てきます。
またビルドパスにもライブラリーの追加でTomcat v7.0も追加しています。
Tomcat自体は停止してあります。
他の方の質問などもみているのですが直らずです。
https://teratail.com/questions/19650
https://teratail.com/questions/19804
プラグインでは使用していないのですが。。。
どうかご教授お願いします。
###補足情報(言語/FW/ツール等のバージョンなど)
eclipse 3.7 Indigo
JDK 1.7
Tomcat 7.0.697
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TomcatTest' did not find a matching property. 情報: Server version: Apache Tomcat/7.0.69 情報: Server built: Apr 11 2016 07:57:09 UTC 情報: Server number: 7.0.69.0 情報: OS Name: Windows 7 情報: OS Version: 6.1 情報: Architecture: amd64 情報: Java Home: C:\Program Files\Java\jre7 情報: JVM Version: 1.7.0_71-b14 情報: JVM Vendor: Oracle Corporation 情報: CATALINA_BASE: C:\Users\\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2 情報: CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 7.0 情報: Command line argument: -Dcatalina.base=C:\Usersi\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2 情報: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 7.0 情報: Command line argument: -Dwtp.deploy=C:\Users\\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps 情報: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 7.0\endorsed 情報: Command line argument: -Dfile.encoding=MS932 情報: Initializing ProtocolHandler ["http-bio-8080"] 情報: Initializing ProtocolHandler ["ajp-bio-8009"] 情報: Initialization processed in 655 ms 情報: サービス Catalina を起動します 情報: Starting Servlet Engine: Apache Tomcat/7.0.69 情報: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [156] milliseconds. 重大: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/TomcatTest]] at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1120) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ... 6 more Caused by: java.lang.IllegalArgumentException: The servlets named [jp.co.servlet.BoardServlet] and [jp.co.servlet.BoardServlet1] are both mapped to the url-pattern [/board] which is not permitted at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:293) at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2460) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2135) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2096) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088) at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1302) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:887) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 more 5 20, 2016 10:06:04 午前 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(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1120) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:444) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:756) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.startup.Catalina.start(Catalina.java:693) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1128) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 more 5 20, 2016 10:06:04 午前 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:153) at org.apache.catalina.startup.Catalina.start(Catalina.java:693) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:756) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 7 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBas ... 9 more Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1128) ... 11 more 5 20, 2016 10:06:04 午前 org.apache.coyote.AbstractProtocol pause 情報: Pausing ProtocolHandler ["http-bio-8080"] 5 20, 2016 10:06:04 午前 org.apache.coyote.AbstractProtocol pause 情報: Pausing ProtocolHandler ["ajp-bio-8009"] 5 20, 2016 10:06:04 午前 org.apache.catalina.core.StandardService stopInternal 情報: サービス Catalina を停止します 5 20, 2016 10:06:04 午前 org.apache.coyote.AbstractProtocol destroy 情報: Destroying ProtocolHandler ["http-bio-8080"] 5 20, 2016 10:06:04 午前 org.apache.coyote.AbstractProtocol destroy 情報: Destroying ProtocolHandler ["ajp-bio-8009"]
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/05/23 07:54