Skip to content

Commit 0f47cb6

Browse files
committed
Remove Derby configuration from property template plus and more doc edits
Signed-off-by: doxiao <[email protected]>
1 parent 390fcf2 commit 0f47cb6

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ The default domain created by the script has the following characteristics:
6565
* No applications deployed.
6666
* A T3 channel.
6767

68-
If you are running the sample from a machine that is remote to the Kubernetes cluster where the domain will be running, you need to push the new image to a registry that is local to the cluster. In this case, you need to do the following:
68+
If you run the sample from a machine that is remote to the Kubernetes cluster, and you need to push the new image to a registry that is local to the cluster, you need to do the following:
6969
* Set the `image` property in the inputs file to the target image name (including the tag if needed).
7070
* Run the `create-domain.sh` script without the `-e` option.
71-
* Push the generated image domain-home-in-image-wdt:lastest (or domain-home-in-image-wlst:latest) to the target image name.
71+
* Push the generated image `domain-home-in-image-wdt:lastest` (or `domain-home-in-image-wlst:latest`) to the target image name.
7272
* Run the following command to create the domain.
7373

7474
```

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/properties-template.properties

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,3 @@ CLUSTER_TYPE=%CLUSTER_TYPE%
1515
JAVA_OPTIONS=%JAVA_OPTIONS%
1616
T3_CHANNEL_PORT=%T3_CHANNEL_PORT%
1717
T3_PUBLIC_ADDRESS=%T3_PUBLIC_ADDRESS%
18-
#Derby Data Source parameters
19-
dsname=DockerDS
20-
dsdbname=DerbyDB;create=true
21-
dsjndiname=/DockerDS
22-
dsdriver=org.apache.derby.jdbc.ClientXADataSource
23-
dsurl=jdbc:derby://localhost:1527/DerbyDB;ServerName=localhost;databaseName=DerbyDB;create=true
24-
dsusername=dbuser
25-
dspassword=dbpassword
26-
dstestquery=SQL SELECT 1 FROM SYS.SYSTABLES
27-
dsinitalcapacity=0
28-
dsmaxcapacity=15

site/quickstart.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,16 @@ respectively, as shown in the example. If you specify the `-e` option, the scri
177177
Kubernetes YAML files *and* apply them to your cluster. If you omit the `-e` option, the
178178
script will just generate the YAML files, but will not take any action on your cluster.
179179

180-
If you are running the sample from a machine that is remote to the Kubernetes cluster where the domain will be running, you need to push the new image to a registry that is local to the cluster. In this case, you need to do the following:
180+
If you run the sample from a machine that is remote to the Kubernetes cluster, and you need to push the new image to a registry that is local to the cluster, you need to do the following:
181181
* Set the `image` property in the inputs file to the target image name (including the tag if needed).
182182
* Run the `create-domain.sh` script without the `-e` option.
183-
* Push the generated image domain-home-in-image-wdti:lastest (or domain-home-in-image-wlst:latest) to the target image name.
183+
* Push the generated image `domain-home-in-image-wdt:lastest` (or `domain-home-in-image-wlst:latest`) to the target image name.
184184
* Run the following command to create the domain.
185185

186186
```
187-
kubectl create -f /some/output/directory/weblogic-domains/sample-domain1/domain.yaml
187+
kubectl apply -f /some/output/directory/weblogic-domains/sample-domain1/domain.yaml
188188
```
189+
189190
c. Confirm that the operator started the servers for the domain:
190191
* Use `kubectl` to show that the domain resource was created:
191192
```

0 commit comments

Comments
 (0)