--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
I just ran int this same problem.
INFO: Failed to initialize GlobalStmInstance through System property
'org.multiverse.api.GlobalStmInstance.factoryMethod' with value
'org.multiverse.stms.alpha.AlphaStm'.'org.multiverse.stms.alpha.AlphaStm.createFast'
is not an existing class (it can't be found using the
Thread.currentThread.getContextClassLoader).
973 [akka:event-driven:dispatcher:global-3] ERROR akka.actor.Actor$ -
Exception when invoking
actor [Actor[com.moixa.pachube.PachubeActor:c5b3d1b0-3673-11e0-bcdb-0015f219e7d8]]
with message [AddSwitch(gx1,ControlSwitch(10,Switch
10,0,2011-02-12T06:46:08.782Z))]
973 [akka:event-driven:dispatcher:global-3] ERROR akka.actor.Actor$ - Problem
java.lang.ExceptionInInitializerError
at akka.stm.TransactionFactory.<init>(TransactionFactory.scala:178)
at akka.stm.TransactionFactory$.apply(TransactionFactory.scala:127)
at akka.stm.Stm$class.$init$(Stm.scala:44)
at akka.stm.package$.<init>(package.scala:10)
I guess the problem was fixed for the osgi sample because in that case
the exception
was thrown when trying to start the actor. I was able to get the
osgi-sample running fine inside
felix but I was able to reproduce the problem by changing the start method:
def start(context: BundleContext) {
println("Starting the OSGi example ...")
val echo = actorOf[EchoActor].start
val answer = (echo !! "OSGi example")
println(answer getOrElse "No answer!")
atomic { myMap.put("foo", "bar") }
println(myMap)
}
INFO: Failed to initialize GlobalStmInstance through System property
'org.multiverse.api.GlobalStmInstance.factoryMethod' with value
'org.multiverse.stms.alpha.AlphaStm'.'org.multiverse.stms.alpha.AlphaStm.createFast'
is not an existing class (it can't be found using the
Thread.currentThread.getContextClassLoader).
ERROR: Error starting
file:/home/rob/moixa/felix-framework-3.0.7/bundle/akka-sample-osgi-1.0-RC6.jar
(org.osgi.framework.BundleException: Activator start error in bundle
se.scalablesolutions.akka.sample.osgi [12].)
java.lang.ExceptionInInitializerError
at akka.stm.TransactionFactory.<init>(TransactionFactory.scala:178)
at akka.stm.TransactionFactory$.apply(TransactionFactory.scala:127)
at akka.stm.Stm$class.$init$(Stm.scala:44)
at akka.stm.package$.<init>(package.scala:10)
at akka.stm.package$.<clinit>(package.scala)
at akka.sample.osgi.Activator.start(osgiExample.scala:25)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
Any thoughts?
Thanks,
Rob
> To unsubscribe from this group, send email to akka-user+...@googlegroups.com.