{"action":"created","issue":{"url":"https://api.github.com/repos/akhikhl/gretty/issues/155","labels_url":"https://api.github.com/repos/akhikhl/gretty/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/akhikhl/gretty/issues/155/comments","events_url":"https://api.github.com/repos/akhikhl/gretty/issues/155/events","html_url":"https://github.com/akhikhl/gretty/issues/155","id":66010255,"number":155,"title":"Enable JSR 356","user":{"login":"gaborbernat","id":690238,"avatar_url":"https://avatars.githubusercontent.com/u/690238?v=3","gravatar_id":"","url":"https://api.github.com/users/gaborbernat","html_url":"https://github.com/gaborbernat","followers_url":"https://api.github.com/users/gaborbernat/followers","following_url":"https://api.github.com/users/gaborbernat/following{/other_user}","gists_url":"https://api.github.com/users/gaborbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborbernat/subscriptions","organizations_url":"https://api.github.com/users/gaborbernat/orgs","repos_url":"https://api.github.com/users/gaborbernat/repos","events_url":"https://api.github.com/users/gaborbernat/events{/privacy}","received_events_url":"https://api.github.com/users/gaborbernat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-02T20:57:50Z","updated_at":"2015-04-07T09:29:08Z","closed_at":null,"body":"When developing a websocket at start I get: \r\n\r\nNot running on Jetty, JSR-356 support unavailable\r\n\r\nAdding a jetty-env.xml of:\r\n\r\n<?xml version=\"1.0\"?>\r\n<Configure class=\"org.eclipse.jetty.webapp.WebAppContext\">\r\n    <Call name=\"setAttribute\">\r\n        <Arg>org.eclipse.jetty.websocket.jsr356</Arg>\r\n        <Arg type=\"Boolean\">true</Arg>\r\n    </Call>\r\n</Configure>\r\n\r\nI get the error:\r\n\r\njava.lang.IllegalArgumentException: Object of class 'org.akhikhl.gretty.JettyWebAppContext' is not of type 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type Class are from different loaders."},"comment":{"url":"https://api.github.com/repos/akhikhl/gretty/issues/comments/90482073","html_url":"https://github.com/akhikhl/gretty/issues/155#issuecomment-90482073","issue_url":"https://api.github.com/repos/akhikhl/gretty/issues/155","id":90482073,"user":{"login":"akhikhl","id":4534412,"avatar_url":"https://avatars.githubusercontent.com/u/4534412?v=3","gravatar_id":"","url":"https://api.github.com/users/akhikhl","html_url":"https://github.com/akhikhl","followers_url":"https://api.github.com/users/akhikhl/followers","following_url":"https://api.github.com/users/akhikhl/following{/other_user}","gists_url":"https://api.github.com/users/akhikhl/gists{/gist_id}","starred_url":"https://api.github.com/users/akhikhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhikhl/subscriptions","organizations_url":"https://api.github.com/users/akhikhl/orgs","repos_url":"https://api.github.com/users/akhikhl/repos","events_url":"https://api.github.com/users/akhikhl/events{/privacy}","received_events_url":"https://api.github.com/users/akhikhl/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T09:29:08Z","updated_at":"2015-04-07T09:29:08Z","body":"Please format XML snippets with triple backticks, as described [here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code)."}}