Hello everyone I am trying to setup Akka within an OSGi environment and followed the documentation <http://doc.akka.io/docs/akka/2.4.17/additional/osgi.html>[1].
Though, first I was trying to setup a ActorSystem from a Declarative-Service component rather than an Activator, I realized I should first start with the documented approach. Unfortunately I am running in following Exception during my bundle-activation ! Failed to start bundle osgi.akka.actorsystem.demo-0.0.0, exception activator error null from: akka.dispatch.AbstractNodeQueue:<clinit>#181 My demo <https://github.com/lostiniceland/playground/tree/master/akka-osgi> [2] is using a Bnd Workspace instead of Maven or SBT but the generated artifact looks just fine. The bundles metadata is coming from a bnd-file <https://github.com/lostiniceland/playground/blob/master/akka-osgi/osgi.akka.actorsystem.demo/bnd.bnd> [3], the running instance is configured in a bndrun <https://github.com/lostiniceland/playground/blob/master/akka-osgi/osgi.akka.actorsystem.demo/launch.bndrun>-file [4]. As you migh see, those files use the Bundle-SymbolicName to reference dependencies. This works within the scope of the Bnd Workspace, the actual external dependencies are specified in a Maven-Repository-Resolver <https://github.com/lostiniceland/playground/blob/master/akka-osgi/cnf/central.xml> [5] Here is a list of the bundles which are currently running in my system: START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (5.6.2)|5.6.2 1|Active | 1|Apache Felix Configuration Admin Service (1.8.14)|1.8.14 2|Active | 1|Apache Felix Gogo Command (1.0.2)|1.0.2 3|Active | 1|Apache Felix Gogo Runtime (1.0.2)|1.0.2 4|Active | 1|Apache Felix Gogo Shell (1.0.0)|1.0.0 5|Active | 1|Scala Standard Library (2.12.1.v20161205-104509-VFINAL-2787b47)|2.12.1.v20161205-104509-VFINAL-2787b47 6|Active | 1|org.scala-lang.modules.scala-java8-compat (0.8.0)|0.8.0 7|Active | 1|com.typesafe.config (1.3.0)|1.3.0 8|Active | 1|akka-actor (2.4.17)|2.4.17 9|Active | 1|akka-osgi (2.4.17)|2.4.17 10|Active | 1|Apache Felix Declarative Services (2.0.8)|2.0.8 11|Resolved | 1|osgi.akka.actorsystem.demo (0.0.0)|0.0.0 g! Can someone advice how to figure out whats going on here? The error-message is not telling much. regards Marc [1] http://doc.akka.io/docs/akka/2.4.17/additional/osgi.html [2] https://github.com/lostiniceland/playground/tree/master/akka-osgi [3] https://github.com/lostiniceland/playground/blob/master/akka-osgi/osgi.akka.actorsystem.demo/bnd.bnd [4] https://github.com/lostiniceland/playground/blob/master/akka-osgi/osgi.akka.actorsystem.demo/launch.bndrun [5] https://github.com/lostiniceland/playground/blob/master/akka-osgi/cnf/central.xml -- >>>>>>>>>> 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.
