{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud-samples/eureka/issues/17","labels_url":"https://api.github.com/repos/spring-cloud-samples/eureka/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud-samples/eureka/issues/17/comments","events_url":"https://api.github.com/repos/spring-cloud-samples/eureka/issues/17/events","html_url":"https://github.com/spring-cloud-samples/eureka/issues/17","id":76487072,"number":17,"title":"Failure while trying to run eureka sample as war on Tomcat","user":{"login":"bagerman","id":6977580,"avatar_url":"https://avatars.githubusercontent.com/u/6977580?v=3","gravatar_id":"","url":"https://api.github.com/users/bagerman","html_url":"https://github.com/bagerman","followers_url":"https://api.github.com/users/bagerman/followers","following_url":"https://api.github.com/users/bagerman/following{/other_user}","gists_url":"https://api.github.com/users/bagerman/gists{/gist_id}","starred_url":"https://api.github.com/users/bagerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagerman/subscriptions","organizations_url":"https://api.github.com/users/bagerman/orgs","repos_url":"https://api.github.com/users/bagerman/repos","events_url":"https://api.github.com/users/bagerman/events{/privacy}","received_events_url":"https://api.github.com/users/bagerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-14T20:52:14Z","updated_at":"2015-05-14T20:52:14Z","closed_at":null,"body":"I tried to run sample off \"war-packaging\" branch to no avail. The only changes I made is commenting out git plugin and adding \"commons-logging\" dependency that was missing.\r\n\r\nHere is the stack:\r\n2015-05-14 13:46:01.369  INFO 12264 --- [ost-startStop-1] c.s.j.api.core.ScanningResourceConfig    : Root resource classes found:\r\n  class com.netflix.eureka.resources.ASGResource\r\n  class com.netflix.eureka.resources.ApplicationsResource\r\n  class com.netflix.eureka.resources.InstancesResource\r\n  class com.netflix.eureka.resources.SecureVIPResource\r\n  class com.netflix.eureka.resources.PeerReplicationResource\r\n  class com.netflix.eureka.resources.StatusResource\r\n  class com.netflix.eureka.resources.VIPResource\r\n2015-05-14 13:46:01.369  INFO 12264 --- [ost-startStop-1] c.s.j.api.core.ScanningResourceConfig    : Provider classes found:\r\n  class com.netflix.discovery.provider.DiscoveryJerseyProvider\r\n2015-05-14 13:46:01.646  INFO 12264 --- [ost-startStop-1] c.s.j.s.i.a.WebApplicationImpl           : Initiating Jersey application, version 'Jersey: 1.13 06/29/2012 05:14 PM'\r\n2015-05-14 13:46:02.478 ERROR 12264 --- [           main] org.apache.catalina.core.ContainerBase   : A child container failed during start\r\n\r\njava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]\r\n\tat java.util.concurrent.FutureTask.report(FutureTask.java:122)\r\n\tat java.util.concurrent.FutureTask.get(FutureTask.java:192)\r\n\tat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:917)\r\n\tat org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:769)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.startup.Catalina.start(Catalina.java:625)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:483)\r\n\tat org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)\r\n\tat org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)\r\nCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.apache.catalina.LifecycleException: A child container failed during start\r\n\tat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:925)\r\n\tat org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\t... 6 common frames omitted\r\n"}}