{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/7319","repository_url":"https://api.github.com/repos/neo4j/neo4j","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/7319/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/7319/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/7319/events","html_url":"https://github.com/neo4j/neo4j/issues/7319","id":158617738,"number":7319,"title":"fail to adopt neo4j extension  ","user":{"login":"dalanlan","id":5979704,"avatar_url":"https://avatars.githubusercontent.com/u/5979704?v=3","gravatar_id":"","url":"https://api.github.com/users/dalanlan","html_url":"https://github.com/dalanlan","followers_url":"https://api.github.com/users/dalanlan/followers","following_url":"https://api.github.com/users/dalanlan/following{/other_user}","gists_url":"https://api.github.com/users/dalanlan/gists{/gist_id}","starred_url":"https://api.github.com/users/dalanlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalanlan/subscriptions","organizations_url":"https://api.github.com/users/dalanlan/orgs","repos_url":"https://api.github.com/users/dalanlan/repos","events_url":"https://api.github.com/users/dalanlan/events{/privacy}","received_events_url":"https://api.github.com/users/dalanlan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-06T07:41:26Z","updated_at":"2016-06-06T08:57:28Z","closed_at":"2016-06-06T08:57:28Z","body":"Hi folks!\r\n\r\nThank you for your amazing work of neo4j, again:)\r\n\r\nI am trying to get my hands dirty on [extensions](http://neo4j.com/docs/java-reference/current/#server-unmanaged-extensions) and I am not able to get it work.\r\n\r\n\r\n### How to reproduce \r\n1. following the steps on given [guide](https://github.com/dmontag/neo4j-unmanaged-extension-template) to get jar file.\r\n2. copy it to `plugins` dir.\r\n3. enable the configuration in the `neo4j.conf`\r\n    ```\r\ndbms.unmanaged_extension_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged\r\n    ```\r\n4. start the server and bang! failed to start correcly. Full error log is posted [here](https://gist.github.com/dalanlan/e354928b32df0d3e78b200975d980634).\r\n\r\nAny idea, please? Thanks so much.\r\n\r\n### Some thoughts \r\nI've ruled out following possible causes:\r\n- typo\r\n- permission of jar file\r\n- I believe it has nothing to do with the extension code itself because I run into exactly the same problem with an official [hello world example](https://github.com/neo4j/neo4j/blob/3.0/manual/server-examples/src/main/java/org/neo4j/examples/server/unmanaged/HelloWorldResource.java).\r\n- could be an eclipse issue? (according to someone on stackoverflow) Had no idea what he was talking about though.\r\n\r\n### Additional Info\r\n- neo4j: 3.0.0"},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/223903485","html_url":"https://github.com/neo4j/neo4j/issues/7319#issuecomment-223903485","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/7319","id":223903485,"user":{"login":"jexp","id":67427,"avatar_url":"https://avatars.githubusercontent.com/u/67427?v=3","gravatar_id":"","url":"https://api.github.com/users/jexp","html_url":"https://github.com/jexp","followers_url":"https://api.github.com/users/jexp/followers","following_url":"https://api.github.com/users/jexp/following{/other_user}","gists_url":"https://api.github.com/users/jexp/gists{/gist_id}","starred_url":"https://api.github.com/users/jexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jexp/subscriptions","organizations_url":"https://api.github.com/users/jexp/orgs","repos_url":"https://api.github.com/users/jexp/repos","events_url":"https://api.github.com/users/jexp/events{/privacy}","received_events_url":"https://api.github.com/users/jexp/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T08:57:28Z","updated_at":"2016-06-06T08:57:28Z","body":"In David Montag's example the config is wrong because the package is different (he probably changed the package w/o updating the readme). So the server tries to find a resource in the wrong package.\r\n\r\nThis should work.\r\n\r\n```\r\ndbms.unmanaged_extension_classes=com.neo4j.example.extension=/examples/unmanaged \r\n```\r\n\r\nI recommend to rather look into procedures for 3.0"}}
{"actor":{"display_login":"jexp"}}