Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Change the server base directory to use the copied instance #25

Closed
wants to merge 3 commits into from
Closed

Change the server base directory to use the copied instance #25

wants to merge 3 commits into from

Conversation

signed
Copy link
Contributor

@signed signed commented Feb 17, 2014

Server did not start before, because the -c option specifies
a configuration xml file and not the server instance

Server did not start before, because the -c option specifies
a configuration xml file and not the server instance
@@ -33,7 +33,7 @@ JBOSS_CONF=${JBOSS_CONF:-"<%= @name %>"}
JBOSS_BIND_ADDR=${JBOSS_HOST:-"-b <%= @bindaddr %>"}

# define the script to use to start jboss
JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/<%= scope.lookupvar('jboss::real_mode') %>.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"}
JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/<%= scope.lookupvar('jboss::real_mode') %>.sh -Djboss.server.base.dir=$JBOSS_CONF $JBOSS_BIND_ADDR"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe is better to fix the default assignment to the value of JBOSS_CONF (some lines before).
I think it doens't help to use a variable called JBOSS_CONF to refer to the directory

@signed
Copy link
Contributor Author

signed commented Feb 23, 2014

see #30

@signed signed closed this Feb 23, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants