如何在 JBOSS AS 启动时查找特定服务是否为 run/started?
How to find if a particular service is run/started when JBOSS AS is started?
这里是初学者!我有两个问题。
背景:
我已经安装了一个程序(按照他们的安装说明),方法是下载 .zip
文件然后解压缩,然后通过执行 ant deploy
[=45= 来部署它].根据安装说明,这会将我的程序部署为 JBOSS AS 服务。
现在我想 运行 服务。根据部署程序的用户手册,启动 JBoss Application Server 将 运行 该服务。但是用户手册指示 运行 在 <jboss-install-directory>/bin
文件夹中名为 run.sh
的脚本。但是在我的 <jboss-install-directory>/bin
文件夹中没有名为 run.sh
的脚本。所以我使用通常的 ./standalone.sh
.
启动了 JBoss AS
问题一:
JBoss AS 服务是什么意思?
问题二:
如何在启动 JBoss AS 时找到所有服务 started/run 的列表?
这样我就可以确认我的服务已经启动了。
当你说"JBoss AS"服务时,我猜我们说的是版本7.x中的JBoss,因为后来的版本不是命名为Wildfly(社区版)就是[=17] =] EAP(企业版)。
JBoss documentation explains the two different deployment modes: automatic or manual. If you did not change anything in the configuration file standalone.xml (as your are starting this configuration), then the automatic mode may be active. In this case JBoss AS deploys your application (which you name "service") automatically and indicates the status by a marker file (for more details see here).
这里是初学者!我有两个问题。
背景:
我已经安装了一个程序(按照他们的安装说明),方法是下载 .zip
文件然后解压缩,然后通过执行 ant deploy
[=45= 来部署它].根据安装说明,这会将我的程序部署为 JBOSS AS 服务。
现在我想 运行 服务。根据部署程序的用户手册,启动 JBoss Application Server 将 运行 该服务。但是用户手册指示 运行 在 <jboss-install-directory>/bin
文件夹中名为 run.sh
的脚本。但是在我的 <jboss-install-directory>/bin
文件夹中没有名为 run.sh
的脚本。所以我使用通常的 ./standalone.sh
.
问题一:
JBoss AS 服务是什么意思?
问题二:
如何在启动 JBoss AS 时找到所有服务 started/run 的列表? 这样我就可以确认我的服务已经启动了。
当你说"JBoss AS"服务时,我猜我们说的是版本7.x中的JBoss,因为后来的版本不是命名为Wildfly(社区版)就是[=17] =] EAP(企业版)。
JBoss documentation explains the two different deployment modes: automatic or manual. If you did not change anything in the configuration file standalone.xml (as your are starting this configuration), then the automatic mode may be active. In this case JBoss AS deploys your application (which you name "service") automatically and indicates the status by a marker file (for more details see here).