{"action":"created","issue":{"url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks/issues/19","repository_url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks","labels_url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks/issues/19/comments","events_url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks/issues/19/events","html_url":"https://github.com/neo4jrb/neo4j-rake_tasks/issues/19","id":133399280,"number":19,"title":"org.neo4j.server.webserver.https.port needs valid value even if .https.enabled=false","user":{"login":"bobmazanec","id":2031462,"avatar_url":"https://avatars.githubusercontent.com/u/2031462?v=3","gravatar_id":"","url":"https://api.github.com/users/bobmazanec","html_url":"https://github.com/bobmazanec","followers_url":"https://api.github.com/users/bobmazanec/followers","following_url":"https://api.github.com/users/bobmazanec/following{/other_user}","gists_url":"https://api.github.com/users/bobmazanec/gists{/gist_id}","starred_url":"https://api.github.com/users/bobmazanec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobmazanec/subscriptions","organizations_url":"https://api.github.com/users/bobmazanec/orgs","repos_url":"https://api.github.com/users/bobmazanec/repos","events_url":"https://api.github.com/users/bobmazanec/events{/privacy}","received_events_url":"https://api.github.com/users/bobmazanec/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-13T05:23:31Z","updated_at":"2016-02-15T01:09:05Z","closed_at":"2016-02-14T19:44:55Z","body":"Mac OS X El Capitan (10.11.3)\r\n\r\nI cannot get `rake neo4j:start[any_environment]` to succeed...\r\n\r\n**Given**\r\n- `neo4j` gem v6.1.6, `neo4j-core` v6.1.2, and `neo4j-rake_tasks` v0.4.1\r\n- **And** `$  rake neo4j:install[community-latest,test]  # => Latest version is: 2.3.2[...]`\r\n- **And** `$  rake neo4j:config[test,7575  # => [...] Config ports 7575 / 7574`)\r\n\r\n**When** `$ rake neo4j:start[test]`\r\n\r\n**Then**\r\n- it fails:\r\n\r\n  ```\r\nStarting Neo4j in test...\r\nUnable to find any JVMs matching version \"1.7\".\r\nStarting Neo4j Server...WARNING: not changing user\r\nprocess [91829]... waiting for server to be ready.. Failed to start within 120 seconds.\r\nNeo4j Server may have failed to start, please check the logs.\r\nrake aborted!\r\nUnable to run: db/neo4j/test/bin/neo4j start\r\n/Users/bob/.rvm/gems/ruby-2.2.1@hattr/gems/neo4j-rake_tasks-0.4.1/lib/neo4j/rake_tasks/server_manager.rb:171:in `system_or_fail'\r\n/Users/bob/.rvm/gems/ruby-2.2.1@hattr/gems/neo4j-rake_tasks-0.4.1/lib/neo4j/rake_tasks/server_manager.rb:30:in `start'\r\n/Users/bob/.rvm/gems/ruby-2.2.1@hattr/gems/neo4j-rake_tasks-0.4.1/lib/neo4j/rake_tasks/neo4j_server.rake:54:in `block (2 levels) in <top (required)>'\r\n/Users/bob/.rvm/gems/ruby-2.2.1@hattr/bin/ruby_executable_hooks:15:in `eval'\r\n/Users/bob/.rvm/gems/ruby-2.2.1@hattr/bin/ruby_executable_hooks:15:in `<main>'\r\nTasks: TOP => neo4j:start\r\n(See full trace by running task with --trace)\r\n```\r\n- **And** `db/neo4j/test/data/log/console.log` suggests a problem with the port #(s):\r\n  ```\r\n2016-02-13 19:38:30.950+0000 ERROR [org.neo4j]: Failed to start Neo Server on port [unknown port] Bad value '-1' for setting 'org.neo4j.server.webserver.https.port': must be a valid port number\r\norg.neo4j.graphdb.config.InvalidSettingException: Bad value '-1' for setting 'org.neo4j.server.webserver.https.port': must be a valid port number\r\n\tat org.neo4j.helpers.Settings$DefaultSetting.apply(Settings.java:927)\r\n\tat org.neo4j.helpers.Settings$DefaultSetting.apply(Settings.java:847)\r\n\tat org.neo4j.kernel.configuration.ConfigurationValidator.validate(ConfigurationValidator.java:50)\r\n\tat org.neo4j.kernel.configuration.Config.applyChanges(Config.java:148)\r\n\tat org.neo4j.kernel.configuration.Config.registerSettingsClasses(Config.java:104)\r\n\tat org.neo4j.server.configuration.PropertyFileConfigurator.setServerSettingsClasses(PropertyFileConfigurator.java:87)\r\n\tat org.neo4j.server.configuration.PropertyFileConfigurator.<init>(PropertyFileConfigurator.java:80)\r\n\tat org.neo4j.server.Bootstrapper.createConfigurationBuilder(Bootstrapper.java:238)\r\n\tat org.neo4j.server.Bootstrapper.start(Bootstrapper.java:107)\r\n\tat org.neo4j.server.Bootstrapper.main(Bootstrapper.java:69)\r\n```\r\n\r\n- **And** `data/graph.db/` does not exist:\r\n  ```\r\n$ ls -l db/neo4j/test/data/graph.db/\r\nls: db/neo4j/test/data/graph.db/: No such file or directory\r\n```"},"comment":{"url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks/issues/comments/184017170","html_url":"https://github.com/neo4jrb/neo4j-rake_tasks/issues/19#issuecomment-184017170","issue_url":"https://api.github.com/repos/neo4jrb/neo4j-rake_tasks/issues/19","id":184017170,"user":{"login":"cheerfulstoic","id":301415,"avatar_url":"https://avatars.githubusercontent.com/u/301415?v=3","gravatar_id":"","url":"https://api.github.com/users/cheerfulstoic","html_url":"https://github.com/cheerfulstoic","followers_url":"https://api.github.com/users/cheerfulstoic/followers","following_url":"https://api.github.com/users/cheerfulstoic/following{/other_user}","gists_url":"https://api.github.com/users/cheerfulstoic/gists{/gist_id}","starred_url":"https://api.github.com/users/cheerfulstoic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheerfulstoic/subscriptions","organizations_url":"https://api.github.com/users/cheerfulstoic/orgs","repos_url":"https://api.github.com/users/cheerfulstoic/repos","events_url":"https://api.github.com/users/cheerfulstoic/events{/privacy}","received_events_url":"https://api.github.com/users/cheerfulstoic/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T01:09:05Z","updated_at":"2016-02-15T01:09:05Z","body":"No problem, I'd definitely that people overreported issues than underreported ;)"}}