LoginSignup
12
13

More than 5 years have passed since last update.

PlayFramework 2.2を本番環境で稼働

Posted at

PlayFramework 2.2からプロダクションモードでの開始スクリプトの場所が変わりました。

2.1以前
play clean compile stage
./target/start > /dev/null 2>&1 &

下記のようにパスが変更されています。

2.2以降
play clean compile stage
./target/universal/stage/bin/[app_name] > /dev/null 2>&1 &

TomcatやJBossで動作させている方も多いと思いますがNettyでそのまま運用することもおすすめです。
playをそのまま使いこなせばCIで無停止運用も十分可能です。(もちろんTomcatやJBossでも可能ですが)

それはまた別の記事で。

12
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
13