启动JBOSS AS时如何查找是否正在运行/启动特定服务? [英] How to find if a particular service is run/started when JBOSS AS is started?

查看:164
本文介绍了启动JBOSS AS时如何查找是否正在运行/启动特定服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

初学者在这里!我有两个问题.

Beginner here! I have two questions.

背景:

Background:

我已经通过下载.zip文件然后解压缩然后通过执行 ant deploy 进行部署来安装程序(按照其安装说明).根据安装说明,这会将我的程序部署为JBOSS AS服务.

I have installed a program (following their installation instructions) by downloading a .zip file and then unzipping it, and then deploying it by executing ant deploy. According to the installation instructions, this deploys my program as a JBOSS AS Service.

现在我要运行该服务.根据已部署程序的用户手册,启动JBoss Application Server将运行该服务.但是用户手册指示在<jboss-install-directory>/bin文件夹中运行名为 run.sh 的脚本.但是在我的<jboss-install-directory>/bin文件夹中没有名为run.sh的脚本.因此,我使用通常的 ./standalone.sh 启动了JBoss AS.

Now I want to run the service. According to the user manual of the deployed program, starting the JBoss Application Server will run the service. But the user manual instructs to run a script named run.sh in <jboss-install-directory>/bin folder. But there is no script named run.sh in my <jboss-install-directory>/bin folder. So I started the JBoss AS using the usual ./standalone.sh.

问题1:

Question 1:

JBoss AS服务是什么意思?

What is meant by a JBoss AS SERVICE?

问题2:

Question 2:

启动JBoss AS时,如何找到所有已启动/正在运行的服务的列表? 这样我就可以确认我的服务已经启动.

How can I find a list of all services started/run when JBoss AS is started? So that I can confirm that my service has been started.

推荐答案

当您说"JBoss AS"服务时,我猜我们正在谈论7.x版中的JBoss,因为更高版本的名称都称为Wildfly(社区版) )或JBoss EAP(企业版).

When you say "JBoss AS" service, I guess that we are talking about JBoss in version 7.x, because later versions are either named Wildfly (community edition) or JBoss EAP (enterprise edition).

JBoss 文档解释了两种不同的部署模式:自动或手册.如果未在配置文件standalone.xml中进行任何更改(在启动此配置时),则自动模式可能处于活动状态.在这种情况下,JBoss AS自动部署您的应用程序(您将其命名为服务")并通过标记文件指示状态(有关更多详细信息,请参见

The 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).

这篇关于启动JBOSS AS时如何查找是否正在运行/启动特定服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆