4 Replies Latest reply on Nov 27, 2012 10:55 AM by komododave

    FMC should stop a container before deleting it.

    komododave

      Why doesn't FMC stop a container before deleting it? It appears that Stop must be manually clicked before Delete.

       

      It'd be nice if this was done automatically!

        • 1. Re: FMC should stop a container before deleting it.
          stlewis

          It does, or at least it initiates a shutdown, however if a bundle misbehaves it can hold up karaf's shutdown.  Under what circumstance have you seen this, we can certainly investigate further...

          • 2. Re: FMC should stop a container before deleting it.
            komododave

            I'll try to describe the scenario here.

             

            We're running 3 VMs each containing one VIP. I'll call these vip1, vip2, vip3. It is worth noting these VIPs are mounted via NFS.

             

            vip1 contains the default root fabric ensemble node, created by a karaf script that runs fabric:create.

             

            Under root I create two child containers ping-send, ping-receive for use with the FMC pinger example. To these I respectively apply the custom profiles ping-sender, ping-receiver.

             

            vip2 houses FMC and this is joined to the root fabric. I'll refer to this container as root-fmc.

             

            vip3 has a root container created custom profile mq-web-console applied. This has parent mq and has the feature mq-web-console added. I'll refer to this container as root-mq.

             

            Note that all containers created via FMC simply have the name specified in Basic Configuration; none are set as registry servers.

             

            With this configuration, FMC shows that messages successfully enqueue and dequeue on the broker within root-mq that has the same name as its container.

             

            Now I hit Stop for containers ping-send and ping-receive. This completes successfully and FMC lists them as inactive in the Containers tab.

             

            Next I connect from localhost to root-fmc and run log:tail and monitor new log lines. All looks well; some benign warnings but no errors.

             

            Now in the FMC Containers tab I select container root-mq and hit Delete.

             

            Listed at the bottom of this post are the lines which appear from log:tail. The first is a standard INFO message, the second is a long ERROR description.

             

            Following this, container root-mq is no longer visible in FMC. However a ps aux | grep $vip_user shows the Java process for the container is still running.

             

            Looking at containers/ on vip3 shows the container persists on the filesystem, and within the fuse-fabric-$VERSION folder it contains there are still directories data, lib and system. Also present is a directory ${activemq.data} - note this is the literal name of the directory, i.e. it seems improper.

             

            Finally, there are NFS file remnants littered in all directories that failed to delete, e.g. .nfs0000000000003b80000002fa.

             

            Now FMC won't let me create a container of the same name as root-mq on vip3 because of the file remnants. To rectify I have to enter fabric, run container-delete root-mq, then kill the container's Java process still running on vip3, and finally rm -rf containers/root-mq.

             

            Following this, if I follow the same setup but hit Stop for root_mq before hitting Delete, it works without issue.

             

            2012-11-27 15:15:50,133 | INFO  | tp1248537271-186 | FabricServiceImpl                | 51 - org.fusesource.fabric.fabric-core - 7.0.2.fuse-097 | Destroying container itfus003-root-mq-web-console

            2012-11-27 15:15:53,050 | ERROR | tp1248537271-186 | SshContainerProvider             | 94 - org.fusesource.fabric.fabric-core-agent-ssh - 7.0.2.fuse-097 | Failed to stop container: itfus003-root-mq-web-console

            java.lang.Exception: itfus003@itfus003:22: received exit status 1 executing

            --- command ---

            function run { echo "Running: $" ; $ ; rc=$? ; if [ "${rc}" -ne 0 ]; then echo "Command Failed:Error running installation script: $*" ; exit $ ; fi ; }

             

            run cd ~/containers/

            run rm -rf itfus003-root-mq-web-console

             

            --- output ---

            Running: cd /home/itfus003/containers/

            Running: rm -rf itfus003-root-mq-web-console

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/system/org/apache/felix/org.apache.felix.framework/4.0.3.fuse-70-097': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/lib/endorsed': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/tmp': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/log': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle1/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle2/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle3/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle4/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle5/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle6/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle7/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle8/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle9/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle10/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle11/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle12/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle13/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle14/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle15/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle16/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle18/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle98/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle20/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle21/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle22/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle23/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle24/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle25/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle26/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle27/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle99/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle29/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle30/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle100/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle32/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle33/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle34/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle35/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle101/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle37/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle38/version0.0/bundle.jar-embedded': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle39/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle40/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle102/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle103/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle43/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle44/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle45/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle46/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle104/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle49/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle50/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle51/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle105/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle54/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle55/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle56/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle57/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle58/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle106/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle107/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle108/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle109/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle110/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle111/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle112/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle113/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle114/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle115/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle116/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle117/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle118/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle74/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle75/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle76/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle78/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle79/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle80/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle81/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle82/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle83/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle84/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle85/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle86/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle87/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle88/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle89/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle90/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle91/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle92/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle93/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle94/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle95/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle96/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle119/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle120/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle121/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle122/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle123/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle124/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle125/version0.0/bundle.jar-embedded/WEB-INF/lib': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle126/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle127/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle128/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle129/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle130/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle131/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle132/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle133/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle134/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle135/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle136/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/cache/bundle137/version0.0': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/data/itfus003-root-mq-web-console/kahadb': Directory not empty

            rm: cannot remove `itfus003-root-mq-web-console/fuse-fabric-7.0.2.fuse-097/${activemq.data}/kahadb': Directory not empty

            Command Failed:Error running installation script: rm -rf itfus003-root-mq-web-console

             

            --- error ---

             

            ------

             

                    at org.fusesource.fabric.service.ssh.SshContainerProvider.runScriptOnHost(SshContainerProvider.java:218)

                    at org.fusesource.fabric.service.ssh.SshContainerProvider.destroy(SshContainerProvider.java:145)

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.026]+

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.026]+

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.026]+

                    at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.026]+

                    at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)

                    at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)

                    at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)

                    at $Proxy35.destroy(Unknown Source)

                    at org.fusesource.fabric.service.FabricServiceImpl.destroyContainer(FabricServiceImpl.java:211)[51:org.fusesource.fabric.fabric-core:7.0.2.fuse-097]

                    at org.fusesource.fabric.internal.ContainerImpl.destroy(ContainerImpl.java:482)

                    at com.fusesource.fmc.webui.agents.AgentResource.destroy(AgentResource.scala:251)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.fusesource.fmc.webui.agents.AgentResource.delete(AgentResource.scala:247)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.026]+

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.026]+

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.026]+

                    at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.026]+

                    at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.model.method.dispatch.VoidVoidDispatchProvider$VoidVoidMethodInvoker.dispatch(VoidVoidDispatchProvider.java:71)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]+

                    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1469)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]+

                    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1400)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]+

                    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:895)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:843)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:804)[136:com.fusesource.fmc.fmc-webui:1.0.2.fuse-097]

                    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)[82:org.eclipse.jetty.servlet:7.5.4.v20111024]

                    at org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(WelcomeFilesFilter.java:169)[91:org.ops4j.pax.web.pax-web-runtime:1.0.10]

                    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)[82:org.eclipse.jetty.servlet:7.5.4.v20111024]

                    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)[82:org.eclipse.jetty.servlet:7.5.4.v20111024]

                    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[92:org.ops4j.pax.web.pax-web-jetty:1.0.10]

                    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)[81:org.eclipse.jetty.security:7.5.4.v20111024]

                    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)[92:org.ops4j.pax.web.pax-web-jetty:1.0.10]

                    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)[82:org.eclipse.jetty.servlet:7.5.4.v20111024]

                    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)[92:org.ops4j.pax.web.pax-web-jetty:1.0.10]

                    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.server.Server.handle(Server.java:349)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)[76:org.eclipse.jetty.http:7.5.4.v20111024]

                    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)[76:org.eclipse.jetty.http:7.5.4.v20111024]

                    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[80:org.eclipse.jetty.server:7.5.4.v20111024]

                    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[75:org.eclipse.jetty.io:7.5.4.v20111024]

                    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[75:org.eclipse.jetty.io:7.5.4.v20111024]

                    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[74*:org.eclipse.jetty.util:7.5.4.v20111024]

                    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[74:org.eclipse.jetty.util:7.5.4.v20111024]

                    at java.lang.Thread.run(Thread.java:662)[:1.6.026]+

             

            Edited by: komododave on Nov 27, 2012 3:39 PM

            • 3. Re: FMC should stop a container before deleting it.
              stlewis

              Followed through in the code and it's a bug, the destroy() method in Fabric for a container doesn't stop the container first, think this behavior is used though for the --force option of container-delete, so I'll handle it in FMC.  Logged FMC-431 for it, I'll fix it right now for 7.1.

              • 4. Re: FMC should stop a container before deleting it.
                komododave

                That's great news, thank you Stan!