如何杀死所有glassfish实例(How to kill all glassfish instances)

编程入门 行业动态 更新时间:2024-10-07 08:24:48
如何杀死所有glassfish实例(How to kill all glassfish instances)

任何人都可以告诉我如何使用端口4848和8080杀死Glassfish实例。

我安装了Glassfish,发现Glassfish安装不能正常工作,所以通过停止Glassfish服务器(./asadmin stop-domain)从我的Ubuntu机器上删除了所有的Glassfish文件。

现在我下载了其他Glassfish版本(每晚构建5.0,因为JDBC MySQL不起作用)并尝试启动服务器(./asadmin start-domain)。 我收到以下错误。

有一个进程正在使用管理端口4848--它可能是GlassFish服务器的另一个实例。

Can anyone tell me how to kill a Glassfish instance using the port 4848 and 8080.

I installed Glassfish, and found that the Glassfish installation isn't working properly, so deleted all the Glassfish files from my ubuntu machine with stopping the Glassfish server (./asadmin stop-domain).

Now I downloaded other Glassfish version (nightly build 5.0, because JDBC MySQL doesn't work) and tried to start the server (./asadmin start-domain). I get the following error.

There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.

最满意答案

任何人都可以告诉我如何使用端口4848和8080杀死Glassfish实例。

可能在这个端口上只运行一个Glassfish实例,但是你可以像这样杀死它:

pkill -f glassfish

如果你没有root shell,你可能不得不在cmd前面使用sudo 。

Can anyone tell me how to kill a Glassfish instance using the port 4848 and 8080.

There is probably running only one instance of Glassfish on this ports, but you can kill it like this:

pkill -f glassfish

If you don't have a root shell you might have to use sudo in front of the cmd.

更多推荐

本文发布于:2023-08-07 12:59:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464058.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:实例   glassfish   instances   kill

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!