dukeboard/kevoree — Issue #51: unable to stop child node with minicloud
Author: edaubert
Created: 2011-12-01 11:51:19+00:00
State: open
Labels: Library

DEBUG [EmbeddedFelix.java:99] - Stopping OSGi Embedded Framework
WARN [KevoreeCoreBean.scala:145] - Kevoree Core will be stopped !
DEBUG [MiniCloudNode.java:91] - starting kompare...
INFO [StopNodeKompare.scala:30] - STOP NODE node0
INFO [TypeDefinitionAspect.scala:230] - Deploy Unit not found on first level JavaSENode
INFO [TypeDefinitionAspect.scala:233] - Deploy Unit not found for node node0 : MiniCloudNode=> JavaSENode
INFO [TypeDefinitionAspect.scala:266] - Search on super type => JavaSENode
DEBUG [TypeDefinitionAspect.scala:253] - candidate deploy unit => org.kevoree.library.javase.javaseNode
DEBUG [TypeDefinitionAspect.scala:257] - found & exit=org.kevoree.library.javase.javaseNode
DEBUG [TypeDefinitionAspect.scala:237] - will exit with => org.kevoree.impl.DeployUnitImpl@1696cdb
INFO [TypeDefinitionAspect.scala:227] - found deploy unit => org.kevoree.library.sky.minicloud for type MiniCloudNode
DEBUG [TypeDefinitionAspect.scala:237] - will exit with => org.kevoree.impl.DeployUnitImpl@41825e
INFO [TypeDefinitionAspect.scala:230] - Deploy Unit not found on first level RestGroup
INFO [TypeDefinitionAspect.scala:233] - Deploy Unit not found for node node0 : MiniCloudNode=> RestGroup
INFO [TypeDefinitionAspect.scala:266] - Search on super type => JavaSENode
DEBUG [TypeDefinitionAspect.scala:253] - candidate deploy unit => org.kevoree.library.javase.javaseNode
DEBUG [TypeDefinitionAspect.scala:257] - found & exit=org.kevoree.library.javase.rest
DEBUG [TypeDefinitionAspect.scala:237] - will exit with => org.kevoree.impl.DeployUnitImpl@69a6cb
INFO [TypeDefinitionAspect.scala:227] - found deploy unit => org.kevoree.library.sky.minicloud for type MiniCloudGroup
DEBUG [TypeDefinitionAspect.scala:237] - will exit with => org.kevoree.impl.DeployUnitImpl@41825e
DEBUG [MiniCloudNode.java:212] - Kompare model contain 11 primitives
DEBUG [MiniCloudNode.java:215] - primitive RemoveInstance
DEBUG [MiniCloudNode.java:215] - primitive StopInstance
DEBUG [MiniCloudNode.java:215] - primitive RemoveInstance
DEBUG [MiniCloudNode.java:215] - primitive StopInstance
DEBUG [MiniCloudNode.java:215] - primitive RemoveType
DEBUG [MiniCloudNode.java:215] - primitive RemoveDeployUnit
DEBUG [MiniCloudNode.java:215] - primitive RemoveType
DEBUG [MiniCloudNode.java:215] - primitive RemoveDeployUnit
DEBUG [MiniCloudNode.java:215] - primitive RemoveType
DEBUG [MiniCloudNode.java:215] - primitive RemoveDeployUnit
DEBUG [MiniCloudNode.java:215] - primitive RemoveType
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to StopInstance
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => StopInstanceCommand(org.kevoree.impl.GroupImpl@18b995c,node0)
DEBUG [PrimitiveCommandExecutionHelper.scala:127] - Waiting for 1 threads
INFO [HttpServer.scala:210] - Stopped spray-can HTTP server on /0.0.0.0:8000
DEBUG [HttpPeer.scala:219] - Cleaning up scheduled tasks and NIO selector
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 1
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to StopInstance
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => StopInstanceCommand(org.kevoree.impl.GroupImpl@126b165,node0)
DEBUG [PrimitiveCommandExecutionHelper.scala:127] - Waiting for 1 threads
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 1
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveInstance
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveInstanceCommand(org.kevoree.impl.GroupImpl@18b995c,node0)
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveInstance
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveInstanceCommand(org.kevoree.impl.GroupImpl@126b165,node0)
DEBUG [RemoveInstanceCommand.scala:31] - CMD REMOVE INSTANCE EXECUTION - sync - type - RestGroup
DEBUG [PrimitiveCommandExecutionHelper.scala:127] - Waiting for 2 threads
DEBUG [RemoveInstanceCommand.scala:31] - CMD REMOVE INSTANCE EXECUTION - group1608545632 - type - MiniCloudGroup
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 1
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 2
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveType
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveTypeCommand(org.kevoree.impl.NodeTypeImpl@1f31432,node0)
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveType
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveTypeCommand(org.kevoree.impl.NodeTypeImpl@1181df3,node0)
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveType
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveTypeCommand(org.kevoree.impl.GroupTypeImpl@1b31c23,node0)
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveType
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveTypeCommand(org.kevoree.impl.GroupTypeImpl@119fc9e,node0)
DEBUG [RemoveTypeCommand.scala:41] - mapping not found for MiniCloudNode
DEBUG [PrimitiveCommandExecutionHelper.scala:127] - Waiting for 4 threads
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 1
DEBUG [RemoveTypeCommand.scala:41] - mapping not found for JavaSENode
DEBUG [RemoveTypeCommand.scala:34] - Remove type, previous size mapping 8
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 2
DEBUG [RemoveTypeCommand.scala:36] - Remove type, after size mapping 7
DEBUG [RemoveTypeCommand.scala:34] - Remove type, previous size mapping 7
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 3
DEBUG [RemoveTypeCommand.scala:36] - Remove type, after size mapping 6
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 4
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveDeployUnit
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveDeployUnitCommand(org.kevoree.impl.DeployUnitImpl@1696cdb)
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveDeployUnit
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveDeployUnitCommand(org.kevoree.impl.DeployUnitImpl@41825e)
DEBUG [MiniCloudNode.java:224] - ask for primitiveCommand corresponding to RemoveDeployUnit
DEBUG [PrimitiveCommandExecutionHelper.scala:57] - Populate primitive => RemoveDeployUnitCommand(org.kevoree.impl.DeployUnitImpl@69a6cb)
DEBUG [PrimitiveCommandExecutionHelper.scala:127] - Waiting for 3 threads
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.javase/org.kevoree.library.javase.javaseNode/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-1
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.extra/org.kevoree.extra.netty/3.2.5-org.kevoree.impl.DeployUnitImpl-2
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.sky/org.kevoree.library.sky.minicloud/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-3
DEBUG [RemoveDeployUnitCommand.scala:36] - map => -org.kevoree.impl.DeployUnitImpl-4
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.javase/org.kevoree.library.javase.rest/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-5
DEBUG [RemoveDeployUnitCommand.scala:36] - map => -org.kevoree.impl.DeployUnitImpl-2
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.javase/org.kevoree.library.javase.javaseNode/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-1
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.extra/org.kevoree.extra.netty/3.2.5-org.kevoree.impl.DeployUnitImpl-2
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.sky/org.kevoree.library.sky.minicloud/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-3
DEBUG [RemoveDeployUnitCommand.scala:36] - map => -org.kevoree.impl.DeployUnitImpl-4
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.javase/org.kevoree.library.javase.rest/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-5
DEBUG [RemoveDeployUnitCommand.scala:36] - map => -org.kevoree.impl.DeployUnitImpl-2
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.javase/org.kevoree.library.javase.javaseNode/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-1
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.extra/org.kevoree.extra.netty/3.2.5-org.kevoree.impl.DeployUnitImpl-2
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.sky/org.kevoree.library.sky.minicloud/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-3
DEBUG [RemoveDeployUnitCommand.scala:36] - map => -org.kevoree.impl.DeployUnitImpl-4
DEBUG [RemoveDeployUnitCommand.scala:36] - map => /mvn:org.kevoree.library.javase/org.kevoree.library.javase.rest/1.5.0-SNAPSHOT-org.kevoree.impl.DeployUnitImpl-5
DEBUG [RemoveDeployUnitCommand.scala:36] - map => -org.kevoree.impl.DeployUnitImpl-2
DEBUG [RemoveDeployUnitCommand.scala:43] - Deploy Unit Bundle remove , try to refresh package
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 1
DEBUG [RemoveDeployUnitCommand.scala:43] - Deploy Unit Bundle remove , try to refresh package
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 2
DEBUG [RemoveDeployUnitCommand.scala:43] - Deploy Unit Bundle remove , try to refresh package
DEBUG [PrimitiveCommandExecutionHelper.scala:138] - getResult 3
DEBUG [MiniCloudNode.java:83] - stopping node type of node0
ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed)
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)
at java.util.zip.ZipFile.getEntry(ZipFile.java:161)
at org.apache.felix.framework.util.ZipFileX.getEntry(ZipFileX.java:52)
at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:122)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1856)
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:752)
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.kevoree.library.sky.minicloud.nodeType.MiniCloudNode.stopNode(MiniCloudNode.java:85)
at org.kevoree.core.impl.KevoreeCoreBean.stop(KevoreeCoreBean.scala:164)
at org.kevoree.platform.osgi.standalone.BootstrapActivator.stop(BootstrapActivator.java:120)
at org.kevoree.platform.osgi.standalone.EmbeddedFelix$1.run(EmbeddedFelix.java:101)
ERROR [KevoreeCoreBean.scala:168] - Error while stopping node instance
java.lang.NoClassDefFoundError: com/twitter/util/Duration
at org.kevoree.library.sky.minicloud.nodeType.MiniCloudNode.stopNode(MiniCloudNode.java:85) ~[na:na]
at org.kevoree.core.impl.KevoreeCoreBean.stop(KevoreeCoreBean.scala:164) ~[org.kevoree.core-1.5.0-SNAPSHOT.jar:na]
at org.kevoree.platform.osgi.standalone.BootstrapActivator.stop(BootstrapActivator.java:120) [classes/:na]
at org.kevoree.platform.osgi.standalone.EmbeddedFelix$1.run(EmbeddedFelix.java:101) [classes/:na]
Caused by: java.lang.ClassNotFoundException: com.twitter.util.Duration not found by org.kevoree.library.sky.org.kevoree.library.sky.minicloud [3]
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) ~[org.apache.felix.framework-3.2.2.jar:na]
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) ~[org.apache.felix.framework-3.2.2.jar:na]
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807) ~[org.apache.felix.framework-3.2.2.jar:na]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[na:1.6.0_26]
... 4 common frames omitted
DEBUG [KevoreeCoreBean.scala:173] - Kevoree core stopped