Bug 827588 - Create a startup script when creating a new user instance (jboss-as-cp)
Summary: Create a startup script when creating a new user instance (jboss-as-cp)
Alias: None
Product: Fedora
Classification: Fedora
Component: jboss-as
Version: 17
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Marek Goldmann
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-06-01 19:36 UTC by Dan Allen
Modified: 2014-07-25 03:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-04 11:12:16 UTC

Attachments (Terms of Use)

Description Dan Allen 2012-06-01 19:36:21 UTC
Description of problem:

The jboss-as-cp command ends with instructions on how to start the user instance. However, once this terminal goes away, the user might forget the command to start the instance.

The jboss-as-cp script should create a startup script in the bin directory of the user instance. This script would simply execute the command that is currently listed in stdout upon executing jboss-as-cp.

Version-Release number of selected component (if applicable):


Let's assume the instance is created using the following command:

jboss-as-cp -l $HOME/jboss-as-user-instance -c standalone-web.xml

Here is a possible implementation of this script:


DIRNAME=`dirname "$0"`
JBOSS_BASE_DIR=$DIRNAME/.. /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml

This script would be written located here:


Comment 1 Marek Goldmann 2012-06-04 10:37:12 UTC
That's a very good idea! I'm on it.

Comment 2 Marek Goldmann 2012-06-04 11:12:16 UTC
Fixed in upstream:


It'll be available in jboss-as-7.1.1-4.

Comment 3 Fedora Update System 2012-07-04 09:41:31 UTC
jboss-as-7.1.1-4.fc17 has been submitted as an update for Fedora 17.

Comment 4 Fedora Update System 2012-07-23 20:28:07 UTC
jboss-as-7.1.1-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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