此内容没有您所选择的语言版本。
2.4. Shutting Down the Containers
Shutting down the containers 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Because the child containers run in their own JVMs, they do not automatically stop when you shut down the root container. To shut down a container and its children, first stop the child containers by using the
fabric:container-stop
command. For example, to shut down the current fabric completely, enter these console commands:
JBossFuse:karaf@root> fabric:container-stop child JBossFuse:karaf@root> shutdown -f
JBossFuse:karaf@root> fabric:container-stop child
JBossFuse:karaf@root> shutdown -f
After you restart the root container, you must explicitly restart its child containers by invoking the
fabric:container-start
console command.
For instructions for shutting down a fabric that has more than one ensemble, see Chapter 5, Shutting Down a Fabric.