{"action":"created","issue":{"url":"https://api.github.com/repos/OAuth-Apis/apis/issues/94","repository_url":"https://api.github.com/repos/OAuth-Apis/apis","labels_url":"https://api.github.com/repos/OAuth-Apis/apis/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/OAuth-Apis/apis/issues/94/comments","events_url":"https://api.github.com/repos/OAuth-Apis/apis/issues/94/events","html_url":"https://github.com/OAuth-Apis/apis/issues/94","id":173949489,"number":94,"title":"Not working in distributed environment(when deployed on 2 tomcats)","user":{"login":"loukikpurohit","id":17587324,"avatar_url":"https://avatars.githubusercontent.com/u/17587324?v=3","gravatar_id":"","url":"https://api.github.com/users/loukikpurohit","html_url":"https://github.com/loukikpurohit","followers_url":"https://api.github.com/users/loukikpurohit/followers","following_url":"https://api.github.com/users/loukikpurohit/following{/other_user}","gists_url":"https://api.github.com/users/loukikpurohit/gists{/gist_id}","starred_url":"https://api.github.com/users/loukikpurohit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loukikpurohit/subscriptions","organizations_url":"https://api.github.com/users/loukikpurohit/orgs","repos_url":"https://api.github.com/users/loukikpurohit/repos","events_url":"https://api.github.com/users/loukikpurohit/events{/privacy}","received_events_url":"https://api.github.com/users/loukikpurohit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-30T07:35:47Z","updated_at":"2016-09-01T04:30:02Z","closed_at":null,"body":"I deployed this application on two servers(tomcats). I changed apis.application.properties to point to mysql.\r\nI created token on one server but when I tried to verify it on different server I got \"token not found\".\r\nBoth the servers point to same database and when token was created on one server it was saved in database but still the other server was not able to find it.\r\nwhen I restarted this second server, the token was fetched successfully.\r\n\r\naccessTokenRepository.findByToken(accessToken); returned null even if the token was in db."},"comment":{"url":"https://api.github.com/repos/OAuth-Apis/apis/issues/comments/243973144","html_url":"https://github.com/OAuth-Apis/apis/issues/94#issuecomment-243973144","issue_url":"https://api.github.com/repos/OAuth-Apis/apis/issues/94","id":243973144,"user":{"login":"loukikpurohit","id":17587324,"avatar_url":"https://avatars.githubusercontent.com/u/17587324?v=3","gravatar_id":"","url":"https://api.github.com/users/loukikpurohit","html_url":"https://github.com/loukikpurohit","followers_url":"https://api.github.com/users/loukikpurohit/followers","following_url":"https://api.github.com/users/loukikpurohit/following{/other_user}","gists_url":"https://api.github.com/users/loukikpurohit/gists{/gist_id}","starred_url":"https://api.github.com/users/loukikpurohit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loukikpurohit/subscriptions","organizations_url":"https://api.github.com/users/loukikpurohit/orgs","repos_url":"https://api.github.com/users/loukikpurohit/repos","events_url":"https://api.github.com/users/loukikpurohit/events{/privacy}","received_events_url":"https://api.github.com/users/loukikpurohit/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T04:30:02Z","updated_at":"2016-09-01T04:30:02Z","body":"Thanks Tom, it worked for me too.  :)"}}
{"actor":{"display_login":"loukikpurohit"}}