Configuration error when deploying Akka application in fat jar on Jboss

Hello there,

I’m trying to deploy an Akka application in Scala on a Jboss server using sbt assembly.

I have a configuration file named application.conf under resources folder and after the assembly, it is correctly packaged inside the jar with the concat strategy. However, at application startup I get this error :

09:53:36,114 WARN  [] (default task-236) KC-SERVICES0013: Failed authentication: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'akka'
	at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(
	at com.typesafe.config.impl.SimpleConfig.findKey(
	at com.typesafe.config.impl.SimpleConfig.findOrNull(
	at com.typesafe.config.impl.SimpleConfig.find(

It seems that the configuration file in the jar is not loaded at all. Any idea on how to solve this ?