{"action":"opened","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4483","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4483/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4483/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4483/events","html_url":"https://github.com/hazelcast/hazelcast/issues/4483","id":55485407,"number":4483,"title":"Starting an embedded Tomcat instance with hazelcast-filter com.hazelcast.web.WebFilter","user":{"login":"Danny-Hazelcast","id":5988678,"avatar_url":"https://avatars.githubusercontent.com/u/5988678?v=3","gravatar_id":"","url":"https://api.github.com/users/Danny-Hazelcast","html_url":"https://github.com/Danny-Hazelcast","followers_url":"https://api.github.com/users/Danny-Hazelcast/followers","following_url":"https://api.github.com/users/Danny-Hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/Danny-Hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/Danny-Hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danny-Hazelcast/subscriptions","organizations_url":"https://api.github.com/users/Danny-Hazelcast/orgs","repos_url":"https://api.github.com/users/Danny-Hazelcast/repos","events_url":"https://api.github.com/users/Danny-Hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/Danny-Hazelcast/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-26T14:04:47Z","updated_at":"2015-01-26T14:04:47Z","closed_at":null,"body":"\r\nError\r\n```\r\ncom.hazelcast.core.HazelcastException: java.lang.ClassCastException: Cannot cast com.hazelcast.instance.DefaultNodeExtension to com.hazelcast.instance.NodeExtension\r\n```\r\n\r\nFull Log\r\n```\r\nJan 26, 2015 1:58:03 PM org.apache.coyote.AbstractProtocol init\r\nINFO: Initializing ProtocolHandler [\"http-bio-6555\"]\r\nJan 26, 2015 1:58:03 PM org.apache.catalina.core.StandardService startInternal\r\nINFO: Starting service Tomcat\r\nJan 26, 2015 1:58:03 PM org.apache.catalina.core.StandardEngine startInternal\r\nINFO: Starting Servlet Engine: Apache Tomcat/7.0.54\r\nJan 26, 2015 1:58:04 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment\r\nINFO: No global web.xml found\r\nJan 26, 2015 1:58:22 PM org.apache.catalina.core.StandardContext filterStart\r\nSEVERE: Exception starting filter hazelcast-filter\r\ncom.hazelcast.core.HazelcastException: java.lang.ClassCastException: Cannot cast com.hazelcast.instance.DefaultNodeExtension to com.hazelcast.instance.NodeExtension\r\n\tat com.hazelcast.util.ServiceLoader$1.next(ServiceLoader.java:99)\r\n\tat com.hazelcast.instance.NodeExtensionFactory.create(NodeExtensionFactory.java:35)\r\n\tat com.hazelcast.instance.Node.<init>(Node.java:155)\r\n\tat com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:117)\r\n\tat com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:153)\r\n\tat com.hazelcast.instance.HazelcastInstanceFactory.getOrCreateHazelcastInstance(HazelcastInstanceFactory.java:99)\r\n\tat com.hazelcast.core.Hazelcast.getOrCreateHazelcastInstance(Hazelcast.java:116)\r\n\tat com.hazelcast.web.HazelcastInstanceLoader.createHazelcastInstance(HazelcastInstanceLoader.java:93)\r\n\tat com.hazelcast.web.HazelcastInstanceLoader.createInstance(HazelcastInstanceLoader.java:84)\r\n\tat com.hazelcast.web.WebFilter.getInstance(WebFilter.java:484)\r\n\tat com.hazelcast.web.WebFilter.initInstance(WebFilter.java:276)\r\n\tat com.hazelcast.web.WebFilter.init(WebFilter.java:173)\r\n\tat org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)\r\n\tat org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)\r\n\tat org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)\r\n\tat org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4809)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5485)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassCastException: Cannot cast com.hazelcast.instance.DefaultNodeExtension to com.hazelcast.instance.NodeExtension\r\n\tat java.lang.Class.cast(Class.java:3094)\r\n\tat com.hazelcast.util.ServiceLoader$1.next(ServiceLoader.java:97)\r\n\t... 23 more\r\n\r\nJan 26, 2015 1:58:22 PM org.apache.catalina.core.StandardContext startInternal\r\nSEVERE: Error filterStart\r\nJan 26, 2015 1:58:22 PM org.apache.catalina.core.StandardContext startInternal\r\nSEVERE: Context [/] startup failed due to previous errors\r\nJan 26, 2015 1:58:22 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks\r\nSEVERE: The web application [/] created a ThreadLocal with key of type [com.hazelcast.util.UuidUtil$1] (value [com.hazelcast.util.UuidUtil$1@fb7b093]) and a value of type [java.util.Random] (value [java.util.Random@64a98af4]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.\r\nJan 26, 2015 1:58:22 PM org.apache.coyote.AbstractProtocol start\r\nINFO: Starting ProtocolHandler [\"http-bio-6555\"]\r\n```\r\n"}}