Bug 1093497 - jboss-as-domain.sh returns incorrect status on starup
Summary: jboss-as-domain.sh returns incorrect status on starup
Keywords:
Status: CLOSED DUPLICATE of bug 1020677
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.2.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Tomaz Cerar
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-01 21:50 UTC by Coty Sutherland
Modified: 2018-12-05 18:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-09 11:17:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1020677 0 unspecified CLOSED [QE] (6.3.0) Domain mode service script uses wrong string to verify if JBoss started 2021-02-22 00:41:40 UTC

Internal Links: 1020677

Description Coty Sutherland 2014-05-01 21:50:57 UTC
Description of problem:
When using the provided jboss-as-domain.sh script on RHEL 6, it reports that it started OK even though it doesn't. The same script works correctly on both Fedora 17 and 20.

Version-Release number of selected component (if applicable):
Any. I've tested with EAP 6.2.0, 6.2.1, and 6.2.2.

How reproducible:
Put a typo in the domain.xml so that it cannot be parsed/started correctly and use the script to start it.

Steps to Reproduce:
1. Add a typo to the domain.xml. I added <auth/> to line 213 in domain.xml to break it.
2. Start the service with `service jboss-as-domain start`
3.

Actual results:
[root@localhost bin]# service jboss-as-domain start
Starting jboss-as:                                         [  OK  ]

Expected results:
[root@localhost bin]# service jboss-as-domain start
Starting jboss-as:                                         [  FAILED  ]


Additional info:
This seems to be a problem with the RHEL init.d/functions to me as it works on Fedora, but not RHEL. As a note, the only other related BZ I found was BZ1015237. It doesn't seem related to the issue, but I tried changing the start line it was looking for just in case; still gives a false success message.

Comment 1 Petr Kremensky 2014-07-09 11:17:52 UTC

*** This bug has been marked as a duplicate of bug 1020677 ***


Note You need to log in before you can comment on or make changes to this bug.