Bug 778942 (SOA-1376) - bin/shutdown.sh and jboss_init_redhat.sh - inconsistencies in required username/password
Summary: bin/shutdown.sh and jboss_init_redhat.sh - inconsistencies in required userna...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1376
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.2 CP04
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2 CP04
Assignee: Dana Mison
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-18 13:32 UTC by Len DiMaggio
Modified: 2009-12-01 12:50 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-06 14:20:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 778507 0 medium CLOSED /bin/shutdown.sh and jboss_init_redhat.sh - inconsistencies in required username/password 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBPAPP-3194 0 None None None Never
Red Hat Issue Tracker SOA-1376 0 None None None Never

Internal Links: 778507

Description Len DiMaggio 2009-06-18 13:32:07 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
Date of First Response: 2009-06-22 03:10:30
project_key: SOA

Related to SOA-980

The problem here is that the jboss_init_redhat.sh script requires the use of an OS username/password, while the shutdown.sh requires the use of a user defined in /server/*/conf/props/soa-user.properties

This difference is due to EAP's updating the jboss_init_redhat.sh script to post a signal to the server, while, shutdown.sh still uses the JMX console.

So - the user must:

1) For the service init script, either edit the script to reference the desired OS user or let it default to "jboss" (assuming that a "jboss" OS user exists and is used to start the service.

2) For the shutdown script, specify the user on the command line (-u username -p password) and ensure that the user is defined in the server's conf/props/soa-user.properties file

Comment 1 Len DiMaggio 2009-06-18 13:32:28 UTC
Affects: Added: [Documentation (Ref Guide, User Guide, etc.)]


Comment 2 Len DiMaggio 2009-06-18 13:32:57 UTC
Link: Added: This issue is related to SOA-980


Comment 3 Dana Mison 2009-06-22 07:10:30 UTC
added as known issue to 4.2.CP04 Release Notes:

Different passwords required for different administration scripts 

Some of scripts found in ${SOA_ROOT}/bin for starting and stopping the JBoss Enterprise SOA Platform require different user accounts. 

shutdown.sh 
shutdown.sh requires that you supply the credentials of a JMX console user as parameters. By default these users are defined in ${SOA_ROOT}/server/${CONFIG}/conf/props/soa-users.properties. 

jboss_init_redhat.sh, jboss_init_suse.sh, and jboss_init_hpux.sh 
These initialization scripts each contain a variable which contains the account username of an operating system user account which has permissions to start and stop the JBoss SOA Platform server process. Each of these scripts is slightly different & contains configuration instructions. The default username in each is jboss.

Comment 4 Henrik Aronsen 2009-12-01 12:50:42 UTC
Link: Added: This issue related JBPAPP-3194



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