Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

License key within Playframework

$
0
0

Hello there,

We are (finally) migrating to Akka 2.10+ in our web application backed by Playframework.

Unfortunately, we do have a strange behavior with the akka.license-key configuration.

We can give it via the JVM options; -Dakka.license-key. However, we do prefer using configuration files and environment variables.

Unfortunately, it seems that adding akka.license-key key into the configuration files does not work as expected: While we can read the key from the Play Configuration and his underlying typesafe Config, we do have the warning message when play start in dev mode:

WARN  a.a.ActorSystemImpl - Dev use only. Free keys at https://akka.io/key

However, we get a valid licenseKeyExpiry form the actor system.But, the system still stop after some times.

We do not create another actor system, we use the one from the Play AkkaComponents (via compile time DI).

Do you have any idea why did we get this message and how to fix it ?

Thanks

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles