{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/4921","labels_url":"https://api.github.com/repos/playframework/playframework/issues/4921/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/4921/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/4921/events","html_url":"https://github.com/playframework/playframework/issues/4921","id":98323628,"number":4921,"title":"application.ini incorrect line ending => application can't start","user":{"login":"giabao","id":1702709,"avatar_url":"https://avatars.githubusercontent.com/u/1702709?v=3","gravatar_id":"","url":"https://api.github.com/users/giabao","html_url":"https://github.com/giabao","followers_url":"https://api.github.com/users/giabao/followers","following_url":"https://api.github.com/users/giabao/following{/other_user}","gists_url":"https://api.github.com/users/giabao/gists{/gist_id}","starred_url":"https://api.github.com/users/giabao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giabao/subscriptions","organizations_url":"https://api.github.com/users/giabao/orgs","repos_url":"https://api.github.com/users/giabao/repos","events_url":"https://api.github.com/users/giabao/events{/privacy}","received_events_url":"https://api.github.com/users/giabao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/playframework/playframework/labels/needs-verification","name":"needs-verification","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-31T06:14:18Z","updated_at":"2015-08-02T09:36:12Z","closed_at":null,"body":"1. build.sbt\r\n\r\n    ```scala\r\njavaOptions in Universal += \"-Dlogger.file=conf/logback-prod.xml\"\r\n```\r\n\r\n2. `sbt dist` from a Windows machine.\r\n\r\n3. run in linux => error: \r\n   ```\r\nError encountered while configuring logback:\r\nch.qos.logback.core.joran.spi.JoranException: Could not open URL [file:/var/www/api-3.20-SNAPSHOT/conf/logback-prod.xml%0D].\r\n        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)\r\n        at play.api.Logger$.configure(Logger.scala:278)\r\n        at play.api.Logger$.configure(Logger.scala:232)\r\n        at play.api.inject.guice.GuiceApplicationBuilder.applicationModule(GuiceApplicationBuilder.scala:73)\r\n        at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:126)\r\n        at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:93)\r\n        at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)\r\n        at play.core.server.ProdServerStart$.start(ProdServerStart.scala:52)\r\n        at play.core.server.ProdServerStart$.main(ProdServerStart.scala:27)\r\n        at play.core.server.ProdServerStart.main(ProdServerStart.scala)\r\n (No such file or directory)undException: /var/www/api-3.20-SNAPSHOT/conf/logback-prod.xml\r\n        at java.io.FileInputStream.open0(Native Method)\r\n        at java.io.FileInputStream.open(FileInputStream.java:195)\r\n        at java.io.FileInputStream.<init>(FileInputStream.java:138)\r\n        at java.io.FileInputStream.<init>(FileInputStream.java:93)\r\n        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)\r\n        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)\r\n        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:48)\r\n        ... 9 more\r\n```\r\n4. if before run the app, I run the following command to remove `\\r`:\r\n```bash\r\nsed -i.bak 's/\\r$//' conf/application.ini\r\n```\r\n=> OK"},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/127006550","html_url":"https://github.com/playframework/playframework/issues/4921#issuecomment-127006550","issue_url":"https://api.github.com/repos/playframework/playframework/issues/4921","id":127006550,"user":{"login":"giabao","id":1702709,"avatar_url":"https://avatars.githubusercontent.com/u/1702709?v=3","gravatar_id":"","url":"https://api.github.com/users/giabao","html_url":"https://github.com/giabao","followers_url":"https://api.github.com/users/giabao/followers","following_url":"https://api.github.com/users/giabao/following{/other_user}","gists_url":"https://api.github.com/users/giabao/gists{/gist_id}","starred_url":"https://api.github.com/users/giabao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giabao/subscriptions","organizations_url":"https://api.github.com/users/giabao/orgs","repos_url":"https://api.github.com/users/giabao/repos","events_url":"https://api.github.com/users/giabao/events{/privacy}","received_events_url":"https://api.github.com/users/giabao/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T09:36:12Z","updated_at":"2015-08-02T09:36:12Z","body":"This is a bug of [sbt-native-packager](https://github.com/sbt/sbt-native-packager) which is used by Play.\r\n\r\nSee https://github.com/giabao/native-packager-test"}}