1

我已经使用 ./wso2server.sh 启动了 WSO2 ESB 服务器,但是没有脚本可以停止服务器?

谁能告诉命令停止服务器?

谢谢苏雷什

4

6 回答 6

5

如果您已经使用 ./wso2server.sh 启动了服务器,那么您可以通过在控制台上同时按 Ctrl 和 c 键来停止服务器,它只会杀死服务器。

如果您已经开始使用 ./wso2server.sh --start 或 ./deamon.sh start,那么您可以使用命令 ./wso2server.sh --stop 或 ./deamon.sh stop 来终止服务器。

于 2012-06-29T19:31:38.567 回答
3

./wso2server.sh --stop或者./daemon.sh stop

于 2012-06-29T18:57:11.250 回答
1

Generally, pressing CTRL + C in the terminal you started the server would do.

If it's not possible for you, then do the following.

Enter the command ps ax | grep wso2esb

This will list the set of processes started that has the text wso2esb. Unless you opened several esb instances, there will be one process that would like the following [1]. There, the first number refers to the process id.

So, enter following command to gracefully shutdown the esb.

kill <process-id>

You may force the shutdown by sending signal kill (-9) like follows if you need to.

kill -9 <process-id>

As you may have noticed, the kill command is a native program that comes with most linux distros, not a wso2 provided one.

于 2012-06-30T14:06:47.840 回答
1

要停止服务器,

  • 如果您已经使用 ./wso2server.sh 启动了服务器,那么您可以通过在命令窗口中按 Ctrl+C 来停止服务器
  • 如果您已经开始使用 ./wso2server.sh --start 然后停止使用 ./wso2server.sh --stop
  • 如果你已经开始使用 ./deamon.sh start 使用 ./deamon.sh stop
  • 单击管理控制台导航窗格中的关闭/重新启动链接对所有人都适用。
于 2015-04-06T10:00:29.983 回答
0

这是一个旧线程......但是自从我带着同样的问题来到这里后,我不妨将我找到的答案发布给未来的用户。

关闭 wso2 服务器的另一种方法是通过在线管理控制台。服务器运行后,只需在浏览器中导航到

https://localhost:9443/carbon 

使用默认用户名和密码“admin”登录服务器的管理页面。然后滚动到页面底部并选择“关机/重启”并从菜单中选择“正常关机”。

于 2014-02-27T22:27:41.763 回答
0

在管理控制台上,我们可以关闭或重启

在管理控制台上

在管理控制台上,我们可以关闭/重启

于 2016-05-31T16:53:55.963 回答