Skip to content

Commit f269a7b

Browse files
authored
Correct NM calls, Copyrights, Documentation link (#2913)
* Correct NM commands and link to 12c documentation * Update Copyrights
1 parent 9c8bb15 commit f269a7b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

OracleHTTPServer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you want to start the OHS container without specifying any configuration for
4242
"$ docker run -v `HOST PATH where the domain.properties file is`:/u01/oracle/bootdir -it --name ohs -p 7777:7777 oracle/ohs:12.2.1.4.0"
4343

4444
If you want to start the OHS container with some pre-specified mod_weblogic configuration:
45-
1. Depending on your weblogic environment , create a **custom_mod_wl_ohs.conf** file by referring to container-scripts/mod_wl_ohs.conf.sample and section 2.4 @ [OHS 12c Documentation](http://docs.oracle.com/middleware/12214/webtier/develop-plugin/oracle.htm#PLGWL553)
45+
1. Depending on your weblogic environment , create a **custom_mod_wl_ohs.conf** file by referring to container-scripts/mod_wl_ohs.conf.sample and section 2.4 @ [OHS 12c Documentation](https://docs.oracle.com/en/middleware/fusion-middleware/web-tier/12.2.1.4/develop-plugin/oracle.html#GUID-A463B189-DF47-4932-8B96-FD4F5FEC8D56)
4646

4747
2. Place the custom_mod_wl_ohs.conf file in a directory in the host say,"/scratch/DockerVolume/OHSVolume" and then mount this directory into the container at the location "/config".
4848
By doing so, the contents of host directory /scratch/DockerVolume/OHSVolume(and hence custom_mod_wl_ohs.conf) will become available in the container at the mount point.

OracleHTTPServer/dockerfiles/14.1.2.0.0/container-scripts/start-ohs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) 2025 Oracle and/or its affiliates. All rights reserved.
1+
2+
# Copyright (c) 2025 Oracle and/or its affiliates.
23
#
34
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
45
#
@@ -24,7 +25,7 @@
2425
sys.exit("Error: Please set the environment variable ORACLE_HOME")
2526
except (KeyError), why:
2627
sys.exit("Error: Missing Environment Variables " + str(why))
27-
nmConnect(username=username,password=password,domainName=domain_name)
28+
nmConnect(username=username,password=password,domainName=domain_name,domainDir=domain_path,host='localhost',port=5556,nmType='ssl')
2829
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')
2930
nmStart(serverName=ohs_comp_name,serverType='OHS')
3031
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')

OracleHTTPServer/dockerfiles/14.1.2.0.0/container-scripts/stop-ohs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2025 Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2025 Oracle and/or its affiliates.
22
#
33
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
44
#
@@ -24,7 +24,7 @@
2424
sys.exit("Error: Please set the environment variable ORACLE_HOME")
2525
except (KeyError), why:
2626
sys.exit("Error: Missing Environment Variables " + str(why))
27-
nmConnect(username,password,domainName=domain_name)
27+
nmConnect(username,password,domainName=domain_name,domainDir=domain_path,host='localhost',port=5556, nmType='ssl')
2828
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')
2929
nmKill(serverName=ohs_comp_name,serverType='OHS')
3030
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')

0 commit comments

Comments
 (0)