Cargo remote deployment Glassfish 4.1 Fails GlassFish uses 100% CPU

家住魔仙堡 提交于 2019-12-01 08:19:55
Pavel Sedek

I'm experiencing the same issue and so do another user in thread deploying web app to external glassfish4 instance with maven cargo plugin

As you posted the JIRA bugs, there exists already a proposed solution. Try replacing Grizzly with patched version from the following thread.

https://java.net/jira/browse/GRIZZLY-1713

I have found that this is a bug in Glassfish 4.1.

See https://java.net/jira/browse/GLASSFISH-21180

See https://java.net/jira/browse/GLASSFISH-21196

So I decided to go for wildfly 8.1 and with the very good wildfly maven plugin.

There are some bugs in glassfish 4.1 as this point is already discussed in above answers by @pavel, these bugs also carry in payara 4.1.1.164, so if we are using the payara 4.1.1.164 then still we face these issues.

How to resolve

Use the same deployment client 4.1 and download the latest version of payara that is 4.1.1.171 from the following link, this version remove the two pointed issue. A solution is tested with the latest payara 4.1.1.171

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