{"action":"created","issue":{"url":"https://api.github.com/repos/decebals/pf4j/issues/203","repository_url":"https://api.github.com/repos/decebals/pf4j","labels_url":"https://api.github.com/repos/decebals/pf4j/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/decebals/pf4j/issues/203/comments","events_url":"https://api.github.com/repos/decebals/pf4j/issues/203/events","html_url":"https://github.com/decebals/pf4j/issues/203","id":303714353,"number":203,"title":"File lock on plugin jar not released","user":{"login":"nonnamon","id":36725912,"avatar_url":"https://avatars2.githubusercontent.com/u/36725912?v=4","gravatar_id":"","url":"https://api.github.com/users/nonnamon","html_url":"https://github.com/nonnamon","followers_url":"https://api.github.com/users/nonnamon/followers","following_url":"https://api.github.com/users/nonnamon/following{/other_user}","gists_url":"https://api.github.com/users/nonnamon/gists{/gist_id}","starred_url":"https://api.github.com/users/nonnamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonnamon/subscriptions","organizations_url":"https://api.github.com/users/nonnamon/orgs","repos_url":"https://api.github.com/users/nonnamon/repos","events_url":"https://api.github.com/users/nonnamon/events{/privacy}","received_events_url":"https://api.github.com/users/nonnamon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-09T03:44:11Z","updated_at":"2018-03-15T08:09:17Z","closed_at":null,"author_association":"NONE","body":"If a plugin is misconfigured e.g. incorrect Plugin-class name in the manifest file, it is still able to be 'loaded' and 'resolved' but unable to be started or unloaded. \r\n\r\nIs it possible to release the Jar file handle since the plugin cannot be started, such that the file can be over-written? If not then the plugin jar file will be kept open by the process and cannot be overwritten on the file system until process exit.\r\n\r\nConceptually, since the plugin has been 'loaded' it should be possible to 'unload' it too? Currently this fails during attempt to stopPlugin(id)"},"comment":{"url":"https://api.github.com/repos/decebals/pf4j/issues/comments/373293796","html_url":"https://github.com/decebals/pf4j/issues/203#issuecomment-373293796","issue_url":"https://api.github.com/repos/decebals/pf4j/issues/203","id":373293796,"user":{"login":"nonnamon","id":36725912,"avatar_url":"https://avatars2.githubusercontent.com/u/36725912?v=4","gravatar_id":"","url":"https://api.github.com/users/nonnamon","html_url":"https://github.com/nonnamon","followers_url":"https://api.github.com/users/nonnamon/followers","following_url":"https://api.github.com/users/nonnamon/following{/other_user}","gists_url":"https://api.github.com/users/nonnamon/gists{/gist_id}","starred_url":"https://api.github.com/users/nonnamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonnamon/subscriptions","organizations_url":"https://api.github.com/users/nonnamon/orgs","repos_url":"https://api.github.com/users/nonnamon/repos","events_url":"https://api.github.com/users/nonnamon/events{/privacy}","received_events_url":"https://api.github.com/users/nonnamon/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T08:09:17Z","updated_at":"2018-03-15T08:09:17Z","author_association":"NONE","body":"Attached the demo folder in zip.\r\n\r\nNote: the welcome-plugin JAR \r\n\r\n  \"demo\\app\\plugins\\pf4j-demo-plugin1-2.3.0-SNAPSHOT.jar\"\r\n\r\nMANIFEST.MF edited manually to: \r\n\r\n  Plugin-Class: org.pf4j.demo.welcome.WelcomePluginX\r\n"}}
{"actor":{"display_login":"nonnamon"}}