Hey guys,
I managed to run Brooklyn to generate Cassandra Wide area clusters on
SoftLayer with this command:
${BROOKLYN_HOME}/bin/brooklyn launch --app
brooklyn.demo.WideAreaCassandraCluster -b web_console_host_ip --persist
auto &
But at some point , after launching the VMs on SoftLayer it stops working,
the debug log shows this:
2014-06-17 06:06:54,988 INFO b.launcher.BrooklynWebServer
[shutdownHookThread]: BrooklynWebServer detected shut-down: stopping
web-console
2014-06-17 06:06:54,989 DEBUG brooklyn.util.javalang.Threads
[shutdownHookThread]: cannot remove shutdown hook
Thread[shutdownHookThread,5,main]: java.lang.IllegalStateException:$
2014-06-17 06:06:54,989 DEBUG b.launcher.BrooklynWebServer
[shutdownHookThread]: Stopping Brooklyn web console at
http://web_console_host_ip:8081/ (classpath://brooklyn.war and [])
2014-06-17 06:06:55,054 DEBUG b.launcher.BrooklynWebServer
[shutdownHookThread]: Stopped Brooklyn web console at
http://web_console_host_ip:8081/
And when I try to run it again ...memento is not working properly
root@brooklyn:~/brooklyn-0.7.0-M1# _ _ _
| |__ _ __ ___ ___ | | _| |_ _ _ __ (R)
| '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \
| |_) | | | (_) | (_) | <| | |_| | | | |
|_.__/|_| \___/ \___/|_|\_\_|\__, |_| |_|
|___/ 0.7.0-M1
2014-06-17 06:06:07,354 INFO No locations supplied; starting with no
locations
2014-06-17 06:06:10,389 INFO Started Brooklyn console at
http://web_console_host_ip:8081/, running classpath://brooklyn.war and []
2014-06-17 06:06:10,398 INFO Auto rebind using
/root/.brooklyn/brooklyn-persisted-state/data; backed up directory to
/root/.brooklyn/brooklyn-persisted-state/data-2014-06-17-0606-10.bak
2014-06-17 06:06:13,997 INFO Memento-persister will use directory
/root/.brooklyn/brooklyn-persisted-state/data
2014-06-17 06:06:14,005 INFO Loading memento from
/root/.brooklyn/brooklyn-persisted-state/data; 22 entities, 7 locations, 0
policies
2014-06-17 06:06:14,068 WARN Error deserializing memento (attempt 1 of 5)
com.thoughtworks.xstream.converters.ConversionException:
brooklyn.entity.nosql.cassandra.CassandraFabricImpl is not an interface :
brooklyn.entity.nosql.cassandra.CassandraFabricImpl is not an interface
---- Debugging information ----
message : brooklyn.entity.nosql.cassandra.CassandraFabricImpl
is not an interface
cause-exception : java.lang.IllegalArgumentException
cause-message : brooklyn.entity.nosql.cassandra.CassandraFabricImpl
is not an interface
class : brooklyn.entity.nosql.cassandra.CassandraFabricImpl
required-type : brooklyn.entity.nosql.cassandra.CassandraFabricImpl
converter-type :
com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter :
brooklyn.entity.rebind.persister.XmlMementoSerializer$EntityConverter
path :
/entity/config/cassandra.cluster.seedSupplier/brooklyn.entity.nosql.cassandra.CassandraFabricImpl$1/outer-class
line number : 16
class[1] : brooklyn.entity.nosql.cassandra.CassandraFabricImpl$1
converter-type[1] :
com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : java.util.LinkedHashMap
converter-type[2] : brooklyn.util.xstream.StringKeyMapConverter
class[3] : brooklyn.entity.rebind.dto.BasicEntityMemento
version : null
-------------------------------
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
~[xstream-1.4.3.jar:na]
Caused by: java.lang.IllegalArgumentException:
brooklyn.entity.nosql.cassandra.CassandraFabricImpl is not an interface
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:496) ~[na:1.7.0_55]
2014-06-17 06:06:14,070 WARN Error deserializing memento (attempt 2 of 5)
com.thoughtworks.xstream.converters.ConversionException:
brooklyn.entity.nosql.cassandra.CassandraFabricImpl is not an interface :
brooklyn.entity.nosql.cassandra.CassandraFabricImpl is not an interface
Any idea??
thanks