If I change to application.conf then I get this error because reference.conf is missing:
INFO [2017-08-02 20:36:38,089] akka.event.slf4j.Slf4jLogger: Slf4jLogger started requirement failed: 'reference.conf' is missing persistence read journal plugin config path: 'akka.persistence.query.journal.leveldb' INFO [2017-08-02 20:36:38,130] akka.actor.CoordinatedShutdown: Starting coordinated shutdown from JVM shutdown hook ERROR [2017-08-02 20:36:38,133] akka.actor.OneForOneStrategy: No configuration setting found for key 'max-concurrent-recoveries' ! com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'max-concurrent-recoveries' ! at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:152) ! at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170) ! at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184) ! at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189) ! at com.typesafe.config.impl.SimpleConfig.getConfigNumber(SimpleConfig.java:219) ! at com.typesafe.config.impl.SimpleConfig.getInt(SimpleConfig.java:230) ! at akka.persistence.Persistence.<init>(Persistence.scala:156) ! at akka.persistence.Persistence$.createExtension(Persistence.scala:131) ! at akka.persistence.Persistence$.createExtension(Persistence.scala:128) ! at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:880) ! at akka.actor.ExtensionId$class.apply(Extension.scala:77) ! at akka.persistence.Persistence$.apply(Persistence.scala:128) ! at akka.persistence.Eventsourced$class.$init$(Eventsourced.scala:51) ! at akka.persistence.AbstractPersistentActor.<init>(PersistentActor.scala:409) ! at no.jansoren.akka.persistence.eventsourcing.EventSourcedPersistenceActor.<init>(EventSourcedPersistenceActor.java:14) ! at no.jansoren.eventsourcing.PersistenceActor.<init>(PersistenceActor.java:17) ! ... 18 common frames omitted ! Causing: java.lang.reflect.InvocationTargetException: null ! at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ! at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ! at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ! at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ! at akka.util.Reflect$.instantiate(Reflect.scala:65) ! at akka.actor.ArgsReflectConstructor.produce(IndirectActorProducer.scala:96) ! at akka.actor.Props.newActor(Props.scala:213) ! at akka.actor.ActorCell.newActor(ActorCell.scala:563) ! at akka.actor.ActorCell.create(ActorCell.scala:589) ! ... 9 common frames omitted ! Causing: akka.actor.ActorInitializationException: akka://actor-system/user/PersistenceActor: exception during creation ! at akka.actor.ActorInitializationException$.apply(Actor.scala:191) ! at akka.actor.ActorCell.create(ActorCell.scala:608) ! at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:462) ! at akka.actor.ActorCell.systemInvoke(ActorCell.scala:484) ! at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282) ! at akka.dispatch.Mailbox.run(Mailbox.scala:223) ! at akka.dispatch.Mailbox.exec(Mailbox.scala:234) ! at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) ! at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) ! at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) ! at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) onsdag 2. august 2017 21.47.42 UTC+2 skrev Evgeny Shepelyuk følgende: > > May I assume that you should use `application.conf` in your code, not > `reference.conf` as you've mentioned in the post. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
