{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/2719","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2719/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2719/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2719/events","html_url":"https://github.com/eclipse/jetty.project/issues/2719","id":341410517,"node_id":"MDU6SXNzdWUzNDE0MTA1MTc=","number":2719,"title":"property file passed to start.jar is not read","user":{"login":"jscheible-tpgroup","id":41281438,"node_id":"MDQ6VXNlcjQxMjgxNDM4","avatar_url":"https://avatars0.githubusercontent.com/u/41281438?v=4","gravatar_id":"","url":"https://api.github.com/users/jscheible-tpgroup","html_url":"https://github.com/jscheible-tpgroup","followers_url":"https://api.github.com/users/jscheible-tpgroup/followers","following_url":"https://api.github.com/users/jscheible-tpgroup/following{/other_user}","gists_url":"https://api.github.com/users/jscheible-tpgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/jscheible-tpgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscheible-tpgroup/subscriptions","organizations_url":"https://api.github.com/users/jscheible-tpgroup/orgs","repos_url":"https://api.github.com/users/jscheible-tpgroup/repos","events_url":"https://api.github.com/users/jscheible-tpgroup/events{/privacy}","received_events_url":"https://api.github.com/users/jscheible-tpgroup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"joakime","id":191721,"node_id":"MDQ6VXNlcjE5MTcyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/191721?v=4","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false},"assignees":[{"login":"joakime","id":191721,"node_id":"MDQ6VXNlcjE5MTcyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/191721?v=4","gravatar_id":"","url":"https://api.github.com/users/joakime","html_url":"https://github.com/joakime","followers_url":"https://api.github.com/users/joakime/followers","following_url":"https://api.github.com/users/joakime/following{/other_user}","gists_url":"https://api.github.com/users/joakime/gists{/gist_id}","starred_url":"https://api.github.com/users/joakime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakime/subscriptions","organizations_url":"https://api.github.com/users/joakime/orgs","repos_url":"https://api.github.com/users/joakime/repos","events_url":"https://api.github.com/users/joakime/events{/privacy}","received_events_url":"https://api.github.com/users/joakime/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-07-16T07:10:49Z","updated_at":"2018-08-21T01:36:09Z","closed_at":null,"author_association":"NONE","body":"When passing a property file to start.jar like\r\n```\r\njava -jar start.jar externalized.properties --list-config\r\n```\r\nthe existence of the file is check (a not existing file causes an error) but the properties are not read (file containts a property named `foo`):\r\n```\r\nProperties:\r\n-----------\r\n java.version = 1.8.0_131\r\n java.version.major = 1\r\n java.version.micro = 0\r\n java.version.minor = 8\r\n java.version.platform = 8\r\n jetty.base = E:\\jetty-9.4\r\n jetty.base.uri = file:///E:/jetty-9.4\r\n jetty.home = E:\\jetty-9.4\r\n jetty.home.uri = file:///E:/jetty-9.4\r\n```\r\n\r\nThe odd thing is that passing a key-value pair directly (`java -jar start.jar foo=bar --list-config`) or placing a ini-file in `start.d` folder works:\r\n```\r\nProperties:\r\n-----------\r\n foo = bar\r\n java.version = 1.8.0_131\r\n ...\r\n ```"},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/414521003","html_url":"https://github.com/eclipse/jetty.project/issues/2719#issuecomment-414521003","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/2719","id":414521003,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDUyMTAwMw==","user":{"login":"gregw","id":70829,"node_id":"MDQ6VXNlcjcwODI5","avatar_url":"https://avatars2.githubusercontent.com/u/70829?v=4","gravatar_id":"","url":"https://api.github.com/users/gregw","html_url":"https://github.com/gregw","followers_url":"https://api.github.com/users/gregw/followers","following_url":"https://api.github.com/users/gregw/following{/other_user}","gists_url":"https://api.github.com/users/gregw/gists{/gist_id}","starred_url":"https://api.github.com/users/gregw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregw/subscriptions","organizations_url":"https://api.github.com/users/gregw/orgs","repos_url":"https://api.github.com/users/gregw/repos","events_url":"https://api.github.com/users/gregw/events{/privacy}","received_events_url":"https://api.github.com/users/gregw/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T01:36:09Z","updated_at":"2018-08-21T01:36:09Z","author_association":"CONTRIBUTOR","body":"I think there is some kind of problem here.... consider the following:\r\n```bash\r\ngregw@pellet: /tmp/test\r\n[2019] java -jar $JETTY_HOME/start.jar \r\n2018-08-21 11:29:25.439:INFO::main: Logging initialized @311ms to org.eclipse.jetty.util.log.StdErrLog\r\n2018-08-21 11:29:25.593:INFO:oejs.Server:main: jetty-9.4.12-SNAPSHOT; built: 2018-08-15T23:30:14.041Z; git: 56afcb96115c6ef3cd9cba896596d380c95a7d46; jvm 10.0.1+10\r\n2018-08-21 11:29:25.613:INFO:oejs.AbstractConnector:main: Started ServerConnector@78ffe6dc{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}\r\n2018-08-21 11:29:25.614:INFO:oejs.Server:main: Started @486ms\r\n^C2018-08-21 11:29:28.007:INFO:oejs.AbstractConnector:Thread-10: Stopped ServerConnector@78ffe6dc{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}\r\n\r\ngregw@pellet: /tmp/test\r\n[2020] java -jar $JETTY_HOME/start.jar jetty.http.port=8888\r\n2018-08-21 11:30:16.133:INFO::main: Logging initialized @779ms to org.eclipse.jetty.util.log.StdErrLog\r\n2018-08-21 11:30:16.779:INFO:oejs.Server:main: jetty-9.4.12-SNAPSHOT; built: 2018-08-15T23:30:14.041Z; git: 56afcb96115c6ef3cd9cba896596d380c95a7d46; jvm 10.0.1+10\r\n2018-08-21 11:30:16.844:INFO:oejs.AbstractConnector:main: Started ServerConnector@192011f4{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}\r\n2018-08-21 11:30:16.847:INFO:oejs.Server:main: Started @1492ms\r\n^C2018-08-21 11:30:18.791:INFO:oejs.AbstractConnector:Thread-10: Stopped ServerConnector@192011f4{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}\r\n\r\ngregw@pellet: /tmp/test\r\n[2021] java -jar $JETTY_HOME/start.jar jetty.http.port=8888 --list-config\r\n\r\nJava Environment:\r\n[ ... snip ... ] \r\nProperties:\r\n-----------\r\n java.version = 10.0.1\r\n java.version.major = 10\r\n java.version.micro = 1\r\n java.version.minor = 0\r\n java.version.platform = 10\r\n jetty.base = /tmp/test\r\n jetty.base.uri = file:///tmp/test\r\n jetty.home = /usr/local/home/gregw/src/jetty-9.4.x/jetty-home/target/jetty-home\r\n jetty.home.uri = file:///usr/local/home/gregw/src/jetty-9.4.x/jetty-home/target/jetty-home\r\n jetty.http.port = 8888\r\n\r\n[... snip ...]\r\n\r\ngregw@pellet: /tmp/test\r\n[2022] echo jetty.http.port=8888 > config.properties\r\n\r\ngregw@pellet: /tmp/test\r\n[2023] java -jar $JETTY_HOME/start.jar config.properties --list-config\r\n\r\nJava Environment:\r\n[... snip ...]\r\nProperties:\r\n-----------\r\n java.version = 10.0.1\r\n java.version.major = 10\r\n java.version.micro = 1\r\n java.version.minor = 0\r\n java.version.platform = 10\r\n jetty.base = /tmp/test\r\n jetty.base.uri = file:///tmp/test\r\n jetty.home = /usr/local/home/gregw/src/jetty-9.4.x/jetty-home/target/jetty-home\r\n jetty.home.uri = file:///usr/local/home/gregw/src/jetty-9.4.x/jetty-home/target/jetty-home\r\n\r\n[... snip ...]\r\n\r\ngregw@pellet: /tmp/test\r\n[2024] java -jar $JETTY_HOME/start.jar config.properties\r\n2018-08-21 11:31:02.449:INFO::main: Logging initialized @337ms to org.eclipse.jetty.util.log.StdErrLog\r\n2018-08-21 11:31:02.593:INFO:oejs.Server:main: jetty-9.4.12-SNAPSHOT; built: 2018-08-15T23:30:14.041Z; git: 56afcb96115c6ef3cd9cba896596d380c95a7d46; jvm 10.0.1+10\r\n2018-08-21 11:31:02.613:INFO:oejs.AbstractConnector:main: Started ServerConnector@78ffe6dc{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}\r\n2018-08-21 11:31:02.614:INFO:oejs.Server:main: Started @502ms\r\n^C2018-08-21 11:31:05.581:INFO:oejs.AbstractConnector:Thread-10: Stopped ServerConnector@78ffe6dc{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}\r\n\r\n```\r\nSo the property file appears to be working, but it is impossible to see that in --list-configs\r\n\r\n\r\n"}}
{"actor":{"display_login":"gregw"}}