Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct NM calls, Copyrights, Documentation link #2913

Merged
merged 3 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OracleHTTPServer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ If you want to start the OHS container without specifying any configuration for
"$ 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"

If you want to start the OHS container with some pre-specified mod_weblogic configuration:
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)
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)

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".
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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2025 Oracle and/or its affiliates. All rights reserved.

# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
Expand All @@ -24,7 +25,7 @@
sys.exit("Error: Please set the environment variable ORACLE_HOME")
except (KeyError), why:
sys.exit("Error: Missing Environment Variables " + str(why))
nmConnect(username=username,password=password,domainName=domain_name)
nmConnect(username=username,password=password,domainName=domain_name,domainDir=domain_path,host='localhost',port=5556,nmType='ssl')
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')
nmStart(serverName=ohs_comp_name,serverType='OHS')
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
Expand All @@ -24,7 +24,7 @@
sys.exit("Error: Please set the environment variable ORACLE_HOME")
except (KeyError), why:
sys.exit("Error: Missing Environment Variables " + str(why))
nmConnect(username,password,domainName=domain_name)
nmConnect(username,password,domainName=domain_name,domainDir=domain_path,host='localhost',port=5556, nmType='ssl')
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')
nmKill(serverName=ohs_comp_name,serverType='OHS')
nmServerStatus(serverName=ohs_comp_name,serverType='OHS')
Expand Down