Bug 1183501

Summary: [GSS](6.4.z) JBoss init scripts time out when using full profiles (zip)
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: Scripts and CommandsAssignee: Radovan STANCEL <rstancel>
Status: CLOSED WORKSFORME QA Contact: Marek Kopecky <mkopecky>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bmaxwell, fnasser, pgier, pkremens, ppalaga, remerson, rstancel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 960741 Environment:
Last Closed: 2016-09-27 13:30:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 960741    
Bug Blocks:    

Description Petr Kremensky 2015-01-19 08:40:43 UTC
+++ This bug was initially created as a clone of Bug #960741 +++

Description of problem:
Users will experience a timeout bug when starting their server in standalone-full-ha profile.

jboss-as-standalone.sh snippet
...
  until [ $count -gt $STARTUP_WAIT ]
  do
    grep 'JBAS015874:' $JBOSS_CONSOLE_LOG > /dev/null
    if [ $? -eq 0 ] ; then
      launched=true
      break
    fi
    sleep 1
    let count=$count+1;
  done
...


Version-Release number of selected component (if applicable):
 EAP 6.4.0.ER1

How reproducible:
 Always

Steps to Reproduce:
 1. Add the following line into $JBOSS_HOME/bin/init.d/jboss-as.conf file
JBOSS_CONFIG=standalone-full-ha.xml
 2. follow the documentation to start standalone server as a service http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html/Installation_Guide/Install_JBoss_Enterprise_Application_Platform_6_Red_Hat_Enterprise_Linux_Service.html


Actual results:
Starting jboss-as: jboss-as failed to startup in the time allotted
                                                           [FAILED]

Expected results:
Starting jboss-as:                                         [  OK  ]

Comment 2 Peter Palaga 2016-07-04 09:44:00 UTC
Agreed with Tomaž to assign to jboss-set

Comment 3 Radovan STANCEL 2016-09-27 13:30:24 UTC
I am not able to reproduce it with 6.4.10 version. This issue has been fixed with other issues (see 960741).