Play Framework 2.5 in prod: "bad root server path"

1,121 views
Skip to first unread message

tech...@eeproperty.ch

unread,
Apr 23, 2017, 12:14:43 AM4/23/17
to Play Framework
I tested my app in prod mode with a prod.conf file to use SSL and an other database than in dev mode.

I followed the documentation related to this: https://www.playframework.com/documentation/2.5.x/Production

Unfortunatelly, I cannot pass parameters in production. I get "bad root server path".

activator clean stage
target/universal/stage/bin/myapp -Dconfig.resource=prod.conf
Bad root server path: /home/me/Documents/MyApp-D

Any idea to solve this issue?

tech...@eeproperty.ch

unread,
Apr 24, 2017, 8:35:51 AM4/24/17
to Play Framework
I found that the AshScriptPlugin was in cause.
This plugin is buggy, you cannot pass parameters if you added it to your build.sbt file.
Reply all
Reply to author
Forward
0 new messages