File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
samples/docker-domain/container-scripts Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ DOMAIN_NAME =my_domain
12ADMIN_PORT =7001
23ADMIN_HOST =wlsadmin
4+ ADMIN_USER =weblogic
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright (c) 2014-2018 Oracle and/or its affiliates. All rights reserved.
4+ #
5+ # Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
6+ #
7+ # Start the Domain.
8+
9+ # Define DOMAIN_HOME
10+ export DOMAIN_HOME=/u01/oracle/user_projects/domains/$DOMAIN_NAME
11+
12+ mkdir -p $DOMAIN_HOME /servers/$MS_NAME /security
13+ echo username=$ADMIN_USER > $DOMAIN_HOME /servers/$MS_NAME /security/boot.properties
14+ echo password=$ADMIN_PASSWORD >> $DOMAIN_HOME /servers/$MS_NAME /security/boot.properties
15+
16+ # Start Managed Server and tail the logs
17+ ${DOMAIN_HOME} /bin/startManagedWebLogic.sh $MS_NAME http://$ADMIN_HOST :$ADMIN_PORT
18+ touch ${DOMAIN_HOME} /servers/$MS_NAME /logs/${MS_NAME} .log
19+ tail -f ${DOMAIN_HOME} /servers/$MS_NAME /logs/${MS_NAME} .log &
20+
21+ childPID=$!
22+ wait $childPID
You can’t perform that action at this time.
0 commit comments