JBoss EAP 6.1.1 domain mode service script uses wrong string to verify if JBoss started
Issue
jboss-as-domain.sh
service script uses the following to verify if JBoss started:
grep 'JBoss AS.*started in' $JBOSS_CONSOLE_LOG > /dev/null
but it does not work if I change the log language to Portuguese, because the message in the log is:
JBoss EAP 6.1.1.GA (AS 7.2.1.Final-redhat-10) (Host Controller) iniciado em 8872ms - Started 11 of 11 services (0 services are passive or on-demand)
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.