Skip to content

Commit

Permalink
Updated to reflect the changes that were made in jboss/wildfly image …
Browse files Browse the repository at this point in the history
…(paths)
  • Loading branch information
goldmann committed Nov 26, 2014
1 parent b485317 commit 8f034e8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions cli/Dockerfile
@@ -1,7 +1,7 @@
FROM jboss/wildfly
FROM jboss/wildfly:latest

ADD customization /opt/wildfly/customization/
ADD modules /opt/wildfly/modules/
ADD customization /opt/jboss/wildfly/customization/
ADD modules /opt/jboss/wildfly/modules/

RUN /opt/wildfly/customization/execute.sh
RUN /opt/jboss/wildfly/customization/execute.sh

12 changes: 6 additions & 6 deletions cli/README.md
Expand Up @@ -14,10 +14,10 @@ $ docker run -it --rm wildfly-config-cli
[SNIP]
13:38:14,483 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
13:38:14,484 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleMySQLDS]
13:38:14,714 INFO [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.4.Final
13:38:14,905 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://0.0.0.0:9990/management
13:38:14,907 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://0.0.0.0:9990
13:38:14,907 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.1.0.Final "Kenny" started in 3019ms - Started 190 of 239 services (81 services are lazy, passive or on-demand)
10:03:53,676 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleMySQLDS]
10:03:53,677 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
10:03:53,834 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final
10:03:54,018 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
10:03:54,019 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
10:03:54,019 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.2.0.Final "Tweek" started in 2999ms - Started 190 of 240 services (82 services are lazy, passive or on-demand)
```
4 changes: 2 additions & 2 deletions cli/customization/execute.sh
Expand Up @@ -5,7 +5,7 @@
# The default mode is 'standalone' and default configuration is based on the
# mode. It can be 'standalone.xml' or 'domain.xml'.

JBOSS_HOME=/opt/wildfly
JBOSS_HOME=/opt/jboss/wildfly
JBOSS_CLI=$JBOSS_HOME/bin/jboss-cli.sh
JBOSS_MODE=${1:-"standalone"}
JBOSS_CONFIG=${2:-"$JBOSS_MODE.xml"}
Expand All @@ -17,7 +17,7 @@ function wait_for_server() {
}

echo "=> Starting WildFly server"
$JBOSS_HOME/bin/$JBOSS_MODE.sh -c $JBOSS_CONFIG >dev/null &
$JBOSS_HOME/bin/$JBOSS_MODE.sh -c $JBOSS_CONFIG > /dev/null &

echo "=> Waiting for the server to boot"
wait_for_server
Expand Down

0 comments on commit 8f034e8

Please sign in to comment.