{"action":"created","comment":{"url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/comments/56342709","id":56342709,"diff_hunk":"@@ -35,7 +36,8 @@ public void start(BundleContext bc) throws Exception {\n         this.processBuilderReg = bc.registerService( new String[]{ ProcessBuilderFactoryService.class.getName(), Service.class.getName()},\n                                                                    new ProcessBuilderFactoryServiceImpl(),\n                                                                    new Hashtable() );\n-        ProcessBuilderFactory.reInitializeProvider();\n+        RuntimeManagerFactory.Factory.reset();\n+        ProcessBuilderFactory.reInitializeProvider();        ","path":"jbpm-flow-builder/src/main/java/org/jbpm/osgi/flow/compiler/Activator.java","position":14,"original_position":14,"commit_id":"9e76430b72904b8b1e1e4c2b9d73ffc955314519","original_commit_id":"9e76430b72904b8b1e1e4c2b9d73ffc955314519","user":{"login":"mswiderski","id":904474,"avatar_url":"https://avatars.githubusercontent.com/u/904474?v=3","gravatar_id":"","url":"https://api.github.com/users/mswiderski","html_url":"https://github.com/mswiderski","followers_url":"https://api.github.com/users/mswiderski/followers","following_url":"https://api.github.com/users/mswiderski/following{/other_user}","gists_url":"https://api.github.com/users/mswiderski/gists{/gist_id}","starred_url":"https://api.github.com/users/mswiderski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mswiderski/subscriptions","organizations_url":"https://api.github.com/users/mswiderski/orgs","repos_url":"https://api.github.com/users/mswiderski/repos","events_url":"https://api.github.com/users/mswiderski/events{/privacy}","received_events_url":"https://api.github.com/users/mswiderski/received_events","type":"User","site_admin":false},"body":"we could and actually that was my first attempt though when jbpm-flow or jbpm-flow-builder is started there might still not be all stuff available - in this case jbpm-runtime-manager so it just makes sure it resets and allows \"clean start\" for clients calls. While the other makes sense to eagerly init as it's possible.","created_at":"2016-03-16T14:30:38Z","updated_at":"2016-03-16T14:30:38Z","html_url":"https://github.com/droolsjbpm/jbpm/pull/424#discussion_r56342709","pull_request_url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424","_links":{"self":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/comments/56342709"},"html":{"href":"https://github.com/droolsjbpm/jbpm/pull/424#discussion_r56342709"},"pull_request":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424"}}},"pull_request":{"url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424","id":63058025,"html_url":"https://github.com/droolsjbpm/jbpm/pull/424","diff_url":"https://github.com/droolsjbpm/jbpm/pull/424.diff","patch_url":"https://github.com/droolsjbpm/jbpm/pull/424.patch","issue_url":"https://api.github.com/repos/droolsjbpm/jbpm/issues/424","number":424,"state":"open","locked":false,"title":"BZ-1310439 - RuntimeManagerFactory may fail to initialize in OSGi","user":{"login":"mswiderski","id":904474,"avatar_url":"https://avatars.githubusercontent.com/u/904474?v=3","gravatar_id":"","url":"https://api.github.com/users/mswiderski","html_url":"https://github.com/mswiderski","followers_url":"https://api.github.com/users/mswiderski/followers","following_url":"https://api.github.com/users/mswiderski/following{/other_user}","gists_url":"https://api.github.com/users/mswiderski/gists{/gist_id}","starred_url":"https://api.github.com/users/mswiderski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mswiderski/subscriptions","organizations_url":"https://api.github.com/users/mswiderski/orgs","repos_url":"https://api.github.com/users/mswiderski/repos","events_url":"https://api.github.com/users/mswiderski/events{/privacy}","received_events_url":"https://api.github.com/users/mswiderski/received_events","type":"User","site_admin":false},"body":"depends on https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/133","created_at":"2016-03-16T12:42:33Z","updated_at":"2016-03-16T14:30:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4f18109dd8219b410223e4edf042433fd49565f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424/commits","review_comments_url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424/comments","review_comment_url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/droolsjbpm/jbpm/issues/424/comments","statuses_url":"https://api.github.com/repos/droolsjbpm/jbpm/statuses/9e76430b72904b8b1e1e4c2b9d73ffc955314519","head":{"label":"mswiderski:BZ-1310439","ref":"BZ-1310439","sha":"9e76430b72904b8b1e1e4c2b9d73ffc955314519","user":{"login":"mswiderski","id":904474,"avatar_url":"https://avatars.githubusercontent.com/u/904474?v=3","gravatar_id":"","url":"https://api.github.com/users/mswiderski","html_url":"https://github.com/mswiderski","followers_url":"https://api.github.com/users/mswiderski/followers","following_url":"https://api.github.com/users/mswiderski/following{/other_user}","gists_url":"https://api.github.com/users/mswiderski/gists{/gist_id}","starred_url":"https://api.github.com/users/mswiderski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mswiderski/subscriptions","organizations_url":"https://api.github.com/users/mswiderski/orgs","repos_url":"https://api.github.com/users/mswiderski/repos","events_url":"https://api.github.com/users/mswiderski/events{/privacy}","received_events_url":"https://api.github.com/users/mswiderski/received_events","type":"User","site_admin":false},"repo":{"id":3694927,"name":"jbpm","full_name":"mswiderski/jbpm","owner":{"login":"mswiderski","id":904474,"avatar_url":"https://avatars.githubusercontent.com/u/904474?v=3","gravatar_id":"","url":"https://api.github.com/users/mswiderski","html_url":"https://github.com/mswiderski","followers_url":"https://api.github.com/users/mswiderski/followers","following_url":"https://api.github.com/users/mswiderski/following{/other_user}","gists_url":"https://api.github.com/users/mswiderski/gists{/gist_id}","starred_url":"https://api.github.com/users/mswiderski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mswiderski/subscriptions","organizations_url":"https://api.github.com/users/mswiderski/orgs","repos_url":"https://api.github.com/users/mswiderski/repos","events_url":"https://api.github.com/users/mswiderski/events{/privacy}","received_events_url":"https://api.github.com/users/mswiderski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mswiderski/jbpm","description":"a Business Process Management (BPM) Suite","fork":true,"url":"https://api.github.com/repos/mswiderski/jbpm","forks_url":"https://api.github.com/repos/mswiderski/jbpm/forks","keys_url":"https://api.github.com/repos/mswiderski/jbpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mswiderski/jbpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mswiderski/jbpm/teams","hooks_url":"https://api.github.com/repos/mswiderski/jbpm/hooks","issue_events_url":"https://api.github.com/repos/mswiderski/jbpm/issues/events{/number}","events_url":"https://api.github.com/repos/mswiderski/jbpm/events","assignees_url":"https://api.github.com/repos/mswiderski/jbpm/assignees{/user}","branches_url":"https://api.github.com/repos/mswiderski/jbpm/branches{/branch}","tags_url":"https://api.github.com/repos/mswiderski/jbpm/tags","blobs_url":"https://api.github.com/repos/mswiderski/jbpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mswiderski/jbpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mswiderski/jbpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/mswiderski/jbpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mswiderski/jbpm/statuses/{sha}","languages_url":"https://api.github.com/repos/mswiderski/jbpm/languages","stargazers_url":"https://api.github.com/repos/mswiderski/jbpm/stargazers","contributors_url":"https://api.github.com/repos/mswiderski/jbpm/contributors","subscribers_url":"https://api.github.com/repos/mswiderski/jbpm/subscribers","subscription_url":"https://api.github.com/repos/mswiderski/jbpm/subscription","commits_url":"https://api.github.com/repos/mswiderski/jbpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/mswiderski/jbpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/mswiderski/jbpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/mswiderski/jbpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/mswiderski/jbpm/contents/{+path}","compare_url":"https://api.github.com/repos/mswiderski/jbpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mswiderski/jbpm/merges","archive_url":"https://api.github.com/repos/mswiderski/jbpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mswiderski/jbpm/downloads","issues_url":"https://api.github.com/repos/mswiderski/jbpm/issues{/number}","pulls_url":"https://api.github.com/repos/mswiderski/jbpm/pulls{/number}","milestones_url":"https://api.github.com/repos/mswiderski/jbpm/milestones{/number}","notifications_url":"https://api.github.com/repos/mswiderski/jbpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mswiderski/jbpm/labels{/name}","releases_url":"https://api.github.com/repos/mswiderski/jbpm/releases{/id}","deployments_url":"https://api.github.com/repos/mswiderski/jbpm/deployments","created_at":"2012-03-12T12:38:17Z","updated_at":"2014-06-26T16:29:24Z","pushed_at":"2016-03-16T14:07:06Z","git_url":"git://github.com/mswiderski/jbpm.git","ssh_url":"git@github.com:mswiderski/jbpm.git","clone_url":"https://github.com/mswiderski/jbpm.git","svn_url":"https://github.com/mswiderski/jbpm","homepage":"http://www.jboss.org/jbpm","size":37691,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"droolsjbpm:master","ref":"master","sha":"7b4dc2b0318fdf205cf3d6d091c031f662394c35","user":{"login":"droolsjbpm","id":517980,"avatar_url":"https://avatars.githubusercontent.com/u/517980?v=3","gravatar_id":"","url":"https://api.github.com/users/droolsjbpm","html_url":"https://github.com/droolsjbpm","followers_url":"https://api.github.com/users/droolsjbpm/followers","following_url":"https://api.github.com/users/droolsjbpm/following{/other_user}","gists_url":"https://api.github.com/users/droolsjbpm/gists{/gist_id}","starred_url":"https://api.github.com/users/droolsjbpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droolsjbpm/subscriptions","organizations_url":"https://api.github.com/users/droolsjbpm/orgs","repos_url":"https://api.github.com/users/droolsjbpm/repos","events_url":"https://api.github.com/users/droolsjbpm/events{/privacy}","received_events_url":"https://api.github.com/users/droolsjbpm/received_events","type":"Organization","site_admin":false},"repo":{"id":930571,"name":"jbpm","full_name":"droolsjbpm/jbpm","owner":{"login":"droolsjbpm","id":517980,"avatar_url":"https://avatars.githubusercontent.com/u/517980?v=3","gravatar_id":"","url":"https://api.github.com/users/droolsjbpm","html_url":"https://github.com/droolsjbpm","followers_url":"https://api.github.com/users/droolsjbpm/followers","following_url":"https://api.github.com/users/droolsjbpm/following{/other_user}","gists_url":"https://api.github.com/users/droolsjbpm/gists{/gist_id}","starred_url":"https://api.github.com/users/droolsjbpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droolsjbpm/subscriptions","organizations_url":"https://api.github.com/users/droolsjbpm/orgs","repos_url":"https://api.github.com/users/droolsjbpm/repos","events_url":"https://api.github.com/users/droolsjbpm/events{/privacy}","received_events_url":"https://api.github.com/users/droolsjbpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/droolsjbpm/jbpm","description":"a Business Process Management (BPM) Suite","fork":false,"url":"https://api.github.com/repos/droolsjbpm/jbpm","forks_url":"https://api.github.com/repos/droolsjbpm/jbpm/forks","keys_url":"https://api.github.com/repos/droolsjbpm/jbpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/droolsjbpm/jbpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/droolsjbpm/jbpm/teams","hooks_url":"https://api.github.com/repos/droolsjbpm/jbpm/hooks","issue_events_url":"https://api.github.com/repos/droolsjbpm/jbpm/issues/events{/number}","events_url":"https://api.github.com/repos/droolsjbpm/jbpm/events","assignees_url":"https://api.github.com/repos/droolsjbpm/jbpm/assignees{/user}","branches_url":"https://api.github.com/repos/droolsjbpm/jbpm/branches{/branch}","tags_url":"https://api.github.com/repos/droolsjbpm/jbpm/tags","blobs_url":"https://api.github.com/repos/droolsjbpm/jbpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/droolsjbpm/jbpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/droolsjbpm/jbpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/droolsjbpm/jbpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/droolsjbpm/jbpm/statuses/{sha}","languages_url":"https://api.github.com/repos/droolsjbpm/jbpm/languages","stargazers_url":"https://api.github.com/repos/droolsjbpm/jbpm/stargazers","contributors_url":"https://api.github.com/repos/droolsjbpm/jbpm/contributors","subscribers_url":"https://api.github.com/repos/droolsjbpm/jbpm/subscribers","subscription_url":"https://api.github.com/repos/droolsjbpm/jbpm/subscription","commits_url":"https://api.github.com/repos/droolsjbpm/jbpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/droolsjbpm/jbpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/droolsjbpm/jbpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/droolsjbpm/jbpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/droolsjbpm/jbpm/contents/{+path}","compare_url":"https://api.github.com/repos/droolsjbpm/jbpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/droolsjbpm/jbpm/merges","archive_url":"https://api.github.com/repos/droolsjbpm/jbpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/droolsjbpm/jbpm/downloads","issues_url":"https://api.github.com/repos/droolsjbpm/jbpm/issues{/number}","pulls_url":"https://api.github.com/repos/droolsjbpm/jbpm/pulls{/number}","milestones_url":"https://api.github.com/repos/droolsjbpm/jbpm/milestones{/number}","notifications_url":"https://api.github.com/repos/droolsjbpm/jbpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/droolsjbpm/jbpm/labels{/name}","releases_url":"https://api.github.com/repos/droolsjbpm/jbpm/releases{/id}","deployments_url":"https://api.github.com/repos/droolsjbpm/jbpm/deployments","created_at":"2010-09-22T13:19:52Z","updated_at":"2016-03-09T18:22:31Z","pushed_at":"2016-03-16T14:07:08Z","git_url":"git://github.com/droolsjbpm/jbpm.git","ssh_url":"git@github.com:droolsjbpm/jbpm.git","clone_url":"https://github.com/droolsjbpm/jbpm.git","svn_url":"https://github.com/droolsjbpm/jbpm","homepage":"http://www.jbpm.org","size":45270,"stargazers_count":447,"watchers_count":447,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":629,"mirror_url":null,"open_issues_count":3,"forks":629,"open_issues":3,"watchers":447,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424"},"html":{"href":"https://github.com/droolsjbpm/jbpm/pull/424"},"issue":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/issues/424"},"comments":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/issues/424/comments"},"review_comments":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424/comments"},"review_comment":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/pulls/424/commits"},"statuses":{"href":"https://api.github.com/repos/droolsjbpm/jbpm/statuses/9e76430b72904b8b1e1e4c2b9d73ffc955314519"}}}}