Wildfly is not running to re-deploy the ear
While trying to re-deploy the ear I faced some issues. How could I get rid of?
Application seems available but cannot reach it getting 404 - Not Found error.
Also cannot restart the server.
Any help would be appreciated.
- Community Thread
- Forum Thread
- Identity G&L
- Identity Governance & Lifecycle
- Installation & Upgrade
- RSA Identity
- RSA Identity G&L
- RSA Identity Governance & Lifecycle
- RSA Identity Governance and Lifecycle
- RSA IGL
I've encountered similar problems earlier, usually rooted in some form of memory error or just an erroneous state. Wildfly might also be in a state where it is running but requires a restart. Such a state makes the "Wildfly running?" checks fail.
My go-to solution is to kill wildfly and then start it. Do it with a SIGTERM and check logs to see if wildfly starts shutting down. If not you may have to forcefully terminate wildfly with SIGKILL. Be careful when doing this. Although I have not run into any issues killing wildfly like this, forcefully killing a process does not allow time to shut down gracefully can result in dangling sockets and file handles which may interfere with the next startup.