How to find if a particular service is run/started when JBOSS AS is started?

醉酒当歌 提交于 2019-12-13 03:55:45

问题


Beginner here! I have two questions.

Background:

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.

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.

Question 1:

What is meant by a JBoss AS SERVICE?

Question 2:

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.


回答1:


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

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



来源:https://stackoverflow.com/questions/45233855/how-to-find-if-a-particular-service-is-run-started-when-jboss-as-is-started

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!