English 中文(简体)
Jbos 特定集装箱重新启用
原标题:Jboss Container specific restart

我们拥有一艘带有多个集装箱的小船服务器。 部署战争的集装箱1和部署战争的集装箱2。

We use the command $JBOSS_HOME/bin/shutdown.sh -S -s

这一指挥是否重新启用了所有集装箱;或者存在启动特定集装箱的重新启用/停泊的管道?

是否甚至可以选择恢复个人/所有控制器? 看到一些文件,说明如何从部署角度来管理这些文件,将很有价值。

最佳回答

<代码>JBOSS_HOME/server下的名录称为“配置”,是JBos服务器单一实例的配置。 当你开始使用<代码>run.sh -c服务器X(或不论您的开端字母看重)进行JBossss 时,<代码>-c服务器X指的是<编码>的配置,并将以<编码>server/serverX作为配置启动的JBos。

当你关闭一家JBoss案时,关闭的文字指一个配置,实际上打开了与运行服务器的网络连接,并告诉其关闭。 因此,如果只有一个服务器运行,就会关闭。 如果多个服务器同时运行,它们必须按需要使用不同的IP地址或港口,因此,关闭的文字必须知道哪些地址/机会与该服务器交谈。

JBos公司没有手段一劳永逸地开办/安装多个服务器,每个服务器都是你需要管理的单独的专业服务公司。

问题回答

使用<代码>shutdown.sh关闭服务器 你们需要知道服务器的JNDI-服务运行/上市。 The JNDI-service URL is specified with the -s or --server 备选办法:

# ./shutdown.sh -S --server jnp://<hostname>:<jndi-service-port>

如果您不使用<代码>-s,则关闭的文字将(按行业分类)关闭服务器,由JNDI在<代码>当地东道:1099上播放/播放。





相关问题
Silverlight: Add same UserControl to more than one Canvas

I have a bunch of UserControls ( MyUserControl ) that I want to have a user manually add to one or more Canvases. One instance of a UserControl cannot be a child element of more than one container (...

c++ templated container scanner

here s today s dilemma: suppose I ve class A{ public: virtual void doit() = 0; } then various subclasses of A, all implementing their good doit method. Now suppose I want to write a function ...

Multi-Dimensional Container in Java

I searched around on Google, but I was unable to find any libraries for a multi-dimensional container in Java (preferably one that supports generics as well). I could easily write one (in fact, I ...

c# stack queue combination

is there in C# some already defined generic container which can be used as Stack and as Queue at the same time? I just want to be able to append elements either to the end, or to the front of the ...

Custom container requirement to work with Qt s foreach

What is the bare minimum amount of code to create a custom container that would work with Qt foreach macro? I have this so far template< class T > class MyList { public: class iterator { ...

Having many stacks with different types

I m making a C program that needs to use two stacks. One needs to hold chars, the other needs to hold doubles. I have two structs, node and stack: struct node { double value; struct node *...

热门标签