Bug 1020714

Summary: Look for ERROR logs while starting the server via installer
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Miles Tjandrawidjaja <mtjandra>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: mtjandra, thauser
Target Milestone: ER7   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:21:02 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:

Description Petr Kremensky 2013-10-18 08:15:55 UTC
Description of problem:
 "Application Server successfully started." is shown by installer even if server start with ERRORs. Installer should show message like "Application Server started with errors." so user is aware that something went wrong during server start up, currently there is no evidence of any errors.

Version-Release number of selected component (if applicable):
 EAP 6.2.0.ER6

How reproducible:
 Always

Steps to Reproduce:
 1. Make some port collision so server start with errors:
 - start another standalone server with port offset 
 - jboss-eap-6.2/bin]$ ./standalone.sh -Djboss.socket.binding.port-offset=1
 2. Run gui installation 
 3. Use default values until Socket Bindings screen
 4. Select to Configure an offset for all default port bindings, select +1 offset
 5. On Server Launch screen select to start Standalone Mode
 6. Continue till Processing screen where 

Actual results:
 "Application Server successfully started."

Expected results:
 "Application Server started with errors."

Additional Info:
 I see you are already looking for "JBAS015875" which is actually "started (with errors)" EAP message.

Comment 1 Petr Kremensky 2013-10-18 09:10:59 UTC
This would be useful also in tracking post-install configuration bugs (user will see that server started with errors -> possible source of post-install failure).

Comment 2 Miles Tjandrawidjaja 2013-10-22 18:20:34 UTC
Installer will now inform the user when server starts with errors based of the server codes.

http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=soa6&id=9b9d99892c99840238e37158632d4de447032db4

Comment 3 Petr Kremensky 2013-11-01 12:38:53 UTC
Verified on EAP 6.2.0.ER7 installer.