JBoss EAP 6.1.1 domain mode service script uses wrong string to verify if JBoss started

Solution Verified - Updated -

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 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.