After I changed "JBOSS_NAME", the EAP Linux service started with error.

Solution Verified - Updated -

Issue

  • At beginning, EAP 7 run as Linux service without errors.
  • After I changed JBOSS_NAME from /etc/init.d/jboss-eap-rhel.sh as below:
if [ -z "$JBOSS_NAME" ]; then
  JBOSS_NAME='jboss-eapx'
fi
  • And I also changed /etc/default/jboss-eap.conf to /etc/default/jboss-eapx.conf accordingly.

  • EAP Linux service will start with error:

Mar 26 19:19:21 Test jboss-eap-rhel.sh[7128]: Starting jboss: /
Mar 26 19:19:28 Test jboss-eap-rhel.sh[7128]: [  OK  ]
Mar 26 19:19:28 Test systemd[1]: PID file /var/run/jboss-eap/jboss-eap.pid not readable (yet?) after start.
Mar 26 19:24:21 Test systemd[1]: jboss-eap-rhel.service start operation timed out. Terminating.
Mar 26 19:24:21 Test systemd[1]: Failed to start SYSV: JBoss EAP startup script.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.