Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
5
Clustering Best Practices with Oracle WebLogic
Server 12c for the HTML Server
ORACLE WHITE PAPER
DECEMBER 2014
Disclaimer
The following is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality and should not be relied upon in making purchasing decisions. The
development, release, and timing of any features or functionality described for Oracles products
remains at the sole discretion of Oracle.
JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices with Oracle WebLogic Server 12c for the HTML Server
Table of Contents
Overview
WebLogic Definitions
About Clusters
Benefits of Clustering
dndedasvm4
dnshravinvm4
15
17
23
24
30
I |
30
47
JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices with Oracle WebLogic Server 12c for the HTML Server
48
Configuring SSL
48
49
Configuring Oracle HTTP Server as a Client that Trusts the WebLogic Server
51
52
II | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
53
Overview
The purpose of this document is to provide all the necessary steps for JD Edwards EnterpriseOne
customers to setup Oracle WebLogic Server clusters. The clusters can then be used for deployment of
the JD Edwards EnterpriseOne HTML application.
1 |
JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices with Oracle WebLogic Server 12c for the HTML Server
WebLogic Definitions
The first part of this paper discusses each part of a WebLogic Server used in the setup of the JD Edwards
EnterpriseOne clusters. For the complete WebLogic documentation, see
WebLogic 12.1.2: http://docs.oracle.com/middleware/1212/wls/index.html
WebLogic 12.1.3: http://docs.oracle.com/middleware/1213/wls/index.html
About Clusters
A WebLogic Server cluster consists of multiple WebLogic Server instances running simultaneously and working
together to provide increased scalability and reliability. To clients, the cluster shows as a single WebLogic Server
instance. The server instances that constitute a cluster can run on the same machine or be located on different
machines. You can increase a clusters capacity by adding additional server instances to the cluster on an existing
machine, or you can add machines to the cluster to host the incremental server instances. Each server instance in a
cluster must run the same version of WebLogic Server.
2 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
Benefits of Clustering
A WebLogic Server cluster provides these benefits:
Scalability: The capacity of an application deployed on a WebLogic Server cluster can be increased dynamically.
You can add server instances to a cluster without interruption of servicethe application continues to run without
impacting clients and end users.
High-Availability: In a WebLogic Server cluster, application processing can continue when a server instance fails.
You cluster application components by deploying them on multiple server instances in the clusterso, if a server
instance on which a component is running fails, another server instance on which that component is deployed can
continue application processing.
3 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
dndedasvm4
Windows Server 2008 R2 64bit
Server Manager Agent 9.1.4
Oracle WebLogic Server 12.1.2
Domain E1_914
Administration Server
Cluster C1
dnshravinvm4
Windows Server 2008 R2 64bit
Oracle WebLogic Server 12.1.2
Domain E1_914
Cluster C1
4 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
JD Edwards EnterpriseOne services are up and running to validate the HTML sign-on with JD Edwards Security
Server.
The user implementing these steps has a thorough understanding of JD Edwards installation, including Server
Manager, and Oracle WebLogic Server 12c.
The Vertical Cluster setup consists of two Managed Servers running on the same machine. The following is an
overview of setting up a vertical cluster:
Install Oracle WebLogic 12.1.2 64bit on machine dndedasvm4.
Create a domain E1_914 in WebLogic
Create a machine dndedasvm4 in the E191 domain.
Create a cluster C1 with the Managed Servers C1_VC1.
Deploy EnterpriseOne JAS HTML Server to the cluster.
Create Managed Server C1_VC2 and add to cluster C1.
Edit Startup values for the Managed Servers.
Configure all the JAS settings for EnterpriseOne JAS HTML Server.
Start the EnterpriseOne JAS Instance.
Set up HTTP Proxy for load balancing by performing either of the following actions:
Create Managed Server using WebLogic HTTPClusterServlet.
Install Oracle HTTP Server and configure proxy.
For this paper, WebLogic was installed on a Windows platform; therefore, all commands and screenshots are from
Windows.
Run the Configuration Wizard provided with the WebLogic Server (WLS) Tools to create a new domain.
This wizard can also be launched by running the command config.cmd available at:
<WLS_HOME>\oracle_common\common\bin
5 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
2.
Select the Create a new domain option, enter the domain name E1_914 in the Domain Location field, and
then click Next.
6 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
3.
Select the first option Basic WebLogic Server Domain in Available Templates, and then click Next.
7 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
4.
Enter the name and password for the domain, and then click Next.
8 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
5.
Select Production for Domain Mode, enter the Java Development Kit (JDK) path, and then click Next.
Note that only JDK 1.7 Update 25+ is supported.
9 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
6.
Select Administration Server and Node Manager, and then click Next.
Note that you create the cluster, Managed Servers, and machine by using the Administration Console. You
can create the cluster by using the config.cmd program.
10 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
7.
Change the listen port to an open port, and then click Next. In this example the port is 7501.
11 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
8.
Select Per Domain as the Node Manager Type, enter the Node Manager user name and password, and then
click Next.
12 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
9.
Verify the configuration summary, and then click Create to create the domain.
13 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
14 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
11. On the confirmation screen, note the URL for the Administration Console, (in this example, it is
http://dndedasvm4.us.oracle.com:7501/console), and then, click Finish.
cd <WLS_HOME>/ wlserver/server/bin
2.
stopNodeManager.cmd
3.
Start the NodeManager that was just installed once any other NodeManager instances are stopped
4.
cd <WLS_HOME>/user_projects/domains/EnterpriseOne_914/bin
5.
startNodeManager.cmd
15 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
2.
3.
16 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
2.
Click Environment, Clusters, Lock & Edit, and then click New.
Change the name to C1. Retain Messaging Mode as Unicast.
Note: Clusters use messaging for sharing sessions, load balancing and failover, Java Message Service
(JMS), and for other information shared between cluster members. Clusters can use either Unicast or
Multicast messaging. Multicast is a simple broadcast technology that enables multiple applications to
subscribe to a given IP address and port number and listen for messages, but requires hardware
configuration and support. Unicast does not have these requirements and is recommended for new
clusters.
17 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
3.
Keep all other options as the default and click OK. Then, click Activate Changes. The system displays a
summary of clusters.
4.
Click Environment, Machines, Lock & Edit, and then click New.
b.
Change the machine name to dndedasvm4 and OS to Other, and then click Next.
c.
d.
5.
Click Environment, Clusters, Lock & Edit, and then click New.
b.
Change the name to C1_VC1, change the Server listen port to 7503, select Yes, make this
server a member of an existing cluster, select C1, and then click Finish.
18 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
c.
d.
Note: You can access this screen by using different methods in the Administration Console.
One method is:
Click Environment, C1, the Servers tab, and then click the server name.
Another method is:
Click Environment, Servers, and then click the server name.
6.
b.
In Server Manager Console on machine dndedasvm4, register Oracle WebLogic Server 12c as a
managed instance on dndedasvm4. The screen below shows the instance name as WLS_1212,
the install location as C:\oracle\Middleware\Oracle_Home, and uses the same user name and
password as when the domain E1_914 was created.
19 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
c.
When you click the new managed instance, the system displays the WebLogic domain details.
Note the E1_91 domain with the one Managed Server C1_VC1 in the cluster C1. The
Administration Server is also in the E1_91 domain and it is shown as running because the
startWebLogic.cmd command was issued after the domain was created.
d.
In Server Manager Console, create a new managed instance on the managed home for
dndedasvm4, for the EnterpriseOne JAS HTML application.
i.
Upload the latest 9.1.4 version of the JD Edwards EnterpriseOne HTML client and
distribute it to dndedasvm4.
ii.
Create a new managed instance called E1_JAS_C1 under the managed home for
dndedasvm4, using the j2ee server for C1_VC1, port 7503 and the software
component loaded in the previous step. Click Continue.
iii.
Enter appropriate information for the JD Edwards instance and click Continue. Then,
confirm the action by clicking Create Instance.
The EnterpriseOne HTML code is deployed to the C1_VC1 server.
A warning message is displayed, informing you that the web server configuration files
are out-of-date on the remote server and they need to be synchronized. The
configuration files (jas.ini, jdbj.ini, jdelog.properties, and so on) are copied from the
server manager agent folders to the classes folder, where the HTML application code
20 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
resides when the Synchronize Configuration button is clicked. These actual locations
are discussed in Step 9. The synchronization occurs at a later step, so you do not need
to click the button at this time.
After the HTML server is deployed, the system displays the following server
information:
7.
In the WebLogic Admin Console, click Environment, Servers, Lock & Edit, and then click New.
b.
Change the name to C1_VC2, change the Server listen port to 7505, select Yes, make this
server a member of an existing cluster, select C1, and then click Finish.
c.
d.
Select SSL Listen Port Enabled. Provide a unique port (7506 in this example).
e.
8.
In WebLogic Admin Console, click Environment, Servers, C1_VC1, and then click Lock & Edit.
b.
Click the Server Start tab, and add the following in the Arguments box:
21 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
d.
9.
Using the Server Manager console, edit your Configuration items for the EnterpriseOne HTML
Server E1_JAS_C1 managed instance. Ensure all the correct information is entered for Network
Setting > JDBJ Database Configuration and so on, and then save the changes.
The current configuration is connecting to an Oracle Database, therefore, you must enter the
correct database connect strings in the tnsnames.ora section of the JDBJ Database
Configuration. Also, the fully qualified path to the tnsnames.ora file must be removed. This step
is necessary for the jdbj.ini file to find the proper location to the tnsnames.ora file after the
synchronization of the configuration files.
When the configurations are saved within Server Manager, the files are stored in:
<SM Agent Home>/targets/E1_JAS_C1/config
b.
Click the Managed Instance Name E1_JAS_C1 in Server Manager, and then click the
Synchronize Configuration button. The synchronization process takes a few minutes to
complete. The configuration files are copied to a location within the Server Manager Agent
folders as well as a location within the WebLogic folders.
For Server Manager instance E1_JAS_C1, the configuration files are found in the classes folder
in:
<SMAgentHome>/targets/E1_JAS_C1/owl_deployment/webclient.ear/app/weblcient.war/WEBINF
For each Managed Server, there is another copy of the deployed code because the WebLogic
deployment method being used is the staged method: the code is copied to a staged area for
each server. After synchronization, the configuration files for the WebLogic deployment area are
found in the classes folder in:
<WLS_HOME>/user_projects/domains/E1_91/servers/C1_VC1/stage/E1_JAS_C1/app/webclien
t.war/WEB-INF and
<WLS_HOME>/user_projects/domains/E1_91/servers/C1_VC2/stage/E1_JAS_C1/app/webclien
t.war/WEB-INF
The first time the E1_JAS_C1 managed Instance is started within Server Manager, the
WebLogic servers need to be started instead of the actual HTML Instance. Subsequent
Stop/Start requests can be handled directly by the E1_JAS_C1 Instance.
b.
In Server Manager, navigate to your WebLogic managed instance WLS_1212, locate your two
Managed Server names, check the boxes to the left of the names, and then click Start.
22 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
After the servers start, then the E1_JAS_C1 is started and the JD Edwards HTML Application
Server can be accessed on these two URLs:
http://dndedasvm4:7503/jde/owhtml and
http://dndedasvm4:7505/jde/owhtml
It is recommended that you test these URLs to ensure that the EnterpriseOne HTML Server is
accessible. However, the URLs should not be used by actual users. The HTTP Proxy (discussed
later) will be used to set up load balancing, for all users to be able to access the HTML
application.
The URL on the Server Manager managed instance page points only to the port where the
HTML application was initially deployed. The servers can be stopped and started successfully
using both the Server Manager and the WebLogic Console.
23 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
b.
Click Environment, Machines, Lock & Edit, and then click New.
c.
Change the machine name to dnshravindvm4 and the OS to Other, and then click OK.
d.
Click dnshravindvm4, click the Node Manager tab, and change the Listen Address to
dnshravindvm4.
This step is important for remotely managing Managed Servers that exist in WebLogic domains
that span multiple machines.
e.
24 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
2.
In WebLogic Admin Console, click Environment, Servers, Lock & Edit, and then click New.
b.
Change the name to C1_HC1, change the Server listen port to 7507, select Yes, make this
server a member of an existing cluster and select C1. Then, click Finish.
c.
d.
25 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
3.
In WebLogic Admin Console, click Environment, Servers, C1_HC1, and then click Lock & Edit.
b.
Click the Server Start tab, and enter the following in the Arguments box:
Ddefault_path=<SM Agent Home>/targets/E1_JAS_C1/config -Xms768m Xmx1280m DcloneId=C1_HC1
The DcloneId is case-sensitive. If there are any errors or special characters in the arguments,
the server will not start. If the server does not start, then it is recommended that you delete the
values for the startup and retype them in the Arguments box. <SM Agent Home> is the SM
Agent install location.
c.
4.
b.
Pack the domain into a jar file. There are no line breaks in the following command. Create the
user_templates folder if it does not exist on dndedasvm4.
pack.cmd -managed=true domain=C:\oracle\Middleware\Oracle_Home\user_projects\domains\E1_914 -template
C:\oracle\Middleware\Oracle_Home\user_templates\E1_914.jar -template_name="E1_914"
c.
26 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
d.
5.
Start the EnterpriseOne JAS managed Instance using Server Manager Console.
a.
You added another server to the C1 Cluster; therefore, you need to restart the WebLogic servers
instead of the actual HTML Instance. Subsequent Stop/Start requests can be handled directly by
the E1_JAS_C1 instance.
b.
In Server Manager, navigate to your WebLogic managed instance WLS_1212, locate the three
Managed Server names, check the boxes to the left of the names, and then click Start.
When you start the E1_JAS_C1 managed instance, all the servers in the C1 start too, and
become available for service. The vertical cluster members are started and are accessible as
before using the direct URL. The new cluster member running on dnshravindvm4 is accessible
through this URL:
http://dnshravindvm4:7507/jde
The configuration files (jas.ini, jdbj.ini, jdlogs.properties, and so on) for the server C1_HC1 are
located on the dnshravindvm4 machine in the following location:
<WLHOME>/user_projects/domains/E1_91/servers/C1_HC1/stage/E1_JAS_C1/app/webclient.w
ar/WEB-INF/classes
If a change is made to the configuration files using Server Manager Console, the Synchronize
Configuration warning is displayed again, and when this process is completed, all the
configuration files are copied over to the same classes folder on dnshravindvm4.
27 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
The tnsnames.ora file does not get copied to the above folder, where the other configuration files
are located. The tnsnames.ora file must be manually copied to dnshravindvm4, in the same
folder structure where it is located on dndedasvm4. This will be fixed in a later release of Server
Manager.
For resolving this, create the server manager agent target config folder on dnshravindvm4 in
<Server Manager Home>/targets/E1_JAS_C1/config and copy the tnsnames.ora file from
dndedasvm4 to dnshravindvm4 in the newly created folder. The target folder on dnshravindvm4
is /u01/Oracle/Oracle_SMA/SCFHA/targets/E1_JAS_C1/config
When the release level of the HTML server is changed using Server Manager, and the HTML
managed instance is deployed to a cluster, after the deployment of the new HTML release, all of
the Managed Servers in the cluster are updated.
6.
28 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
Logs
One drawback for horizontal cluster members is that the logs from Managed Server running on the
horizontal cluster machines will not be brought into the Server Manager console for viewing. The
functionality of displaying logs is performed by the Server Manager Agent, and because no additional
agent is installed on the horizontal cluster machine, no logs will be available in the Server Manager
Console. To view these logs, log in to the machine as the user running WebLogic, change directories to
the log location (as specified by jdelog.properties file), and open in an editor. The functionality to view
horizontal cluster member logs will be included in a future release of Server Manager.
This screen shows that only the Vertical Member logs are displayed.
JDBC Drivers
Proper Java Database Connectivity (JDBC) drivers must be installed on all physical machines that host
Managed Servers in the cluster. The recommended method of installing JDBC drivers is through the
29 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
Server Manager Console. Currently, this method requires a Server Manager Agent running on the target
machine for successful JDBC file copy.
Similar to logs, the JDBC drivers will not be copied to machines which host horizontal cluster members
because there is no Server Manager Agent running on that machine.
To correct this, manually copy the required JDBC file to the horizontal cluster machine. The file must be
identical to the file on the vertical cluster machine, owned by the user running WebLogic, and placed in the
same folder structure as exists on the vertical cluster machine.
The proper folder to install the JDBC file is:
<Server Manager Home>/targets/<WebLogic Managed Instance>/config/jdbc/<WLS Domain
Name>/<WLS Managed Server Name>/
Action
Create the above folder on the horizontal cluster machine, and then copy the JDBC file to that folder.
Download the Oracle Fusion Middleware 12c Oracle HTTP Server (12.1.2.0.0) package that
is appropriate for your platform from the edelivery web site (https://edelivery.oracle.com). For more
information, see the Edwards EnterpriseOne Certifications.
2.
Extract the downloaded file to a temporary directory on the machine you are targeting for installation.
3.
Run the .exe program to start the installation. The first screen you will see is the welcome screen. Click
Next to begin the installation.
30 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
31 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
4.
Click View to view an existing directory into which one or more Oracle products have already
been installed.
To install the product in a new directory, type the full path of your new directory in the Oracle
Home field. The installer will create the specified directory for you.
b.
Click Next.
32 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
5.
Determine the type of installation you want to perform and consequently, which products and features you
want to install.
The options you see on this screen will differ depending on the product you are installing. For specific
details, see your product installation guide.
Click Next.
33 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
6.
34 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
7.
If you want to register your installation, enter your e-mail address and your My Oracle Support password. If
you want to decline registration, clear the I wish to receive security updates via My Oracle Support
check box.
Click Next.
35 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
8.
The Installation Summary screen contains a list of the feature sets you selected for installation.
Click Install.
36 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
9.
This screen now shows the progress of the installation. When the progress bar reaches 100%, the
installation is complete.
Click Next.
37 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
10. The system then displays the Installation Complete screen, and provides a summary of the products and
features that are now installed.
Click Finish.
38 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
11.
39 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
12. Select the template Oracle HTTP Server (Standalone), and then click Next.
40 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
13. A JDK location is selected by default. You can also provide an external JDK location.
Click Next.
41 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
14. Enter the system component name, select the component type as OHS, and then click Next.
42 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
15. If required, change the Admin Port, Listen Port, and Secure Socket Layer (SSL) Listen Port values on this
screen.
Click Next.
43 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
16. Select Per Domain as the Node Manager Type, enter the node manager user name and password, and
then click Next.
44 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
45 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
46 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
19. The Success page indicates that the domain creation is successful.
Click Finish.
2.
47 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
For horizontal cluster install (Assume that HTML Server instance is created on a cluster with three server
on a horizontal node running on port 7503,7505 and 7507):
Listen 7777
<VirtualHost *:7777>
<Location /jde>
SetHandler weblogic-handler
WebLogicCluster dndedasvm4:7503,dndedasvm4:7505,dnshravindvm4:7507
</VirtualHost>
Note: The port used (7503, 7505 and 7507) in this configuration are the HTTP port of the respective WLS
Managed Servers on which HTML Server is installed.
2.
3.
You should now be able to connect to the EnterpriseOne application through Oracle HTTP Server. To test this, open
a browser window and type in the following URL:
https://dndedasvm4:7778/jde/E1Menu.maf
Configuring SSL
SSL secures communication by providing message encryption, integrity, and authentication. The SSL standard
allows the involved components (such as browsers and HTTP servers) to negotiate the encryption, authentication,
and integrity.
Encryption provides confidentiality by allowing only the intended recipient to read the message.
Integrity ensures that a message sent by a client is received intact by the server, unaltered.
Authentication enables the server and client to check that the other party is who it claims to be.
Oracle WebLogic Server supports two types of keystores for keys and certificates:
Java Keystore format (JKS): JKS-based keystore and truststore
Oracle wallet
Java components and applications use the JKS keystore to store keys and certificates. Configuring SSL for these
components requires setting up and using JKS keystores.
Other components use Oracle wallet as their storage mechanism. An Oracle wallet is a container that stores your
credentials, such as certificates, trusted certificates, certificate requests, and private keys. You can store Oracle
wallets on the file system or in LDAP directories, such as Oracle Internet Directory. Oracle wallets can be auto-login
or password-protected wallets.
Oracle HTTP Server uses Oracle wallet
48 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
Configuring SSL for these components requires setting up and using Oracle wallets.
There are various lines of communication that you may want to secure with SSL. One consideration is that the
computation required to encrypt and decrypt HTML pages will affect performance. The examples below walk
through configuring SSL for two different communication lines by building on the basic configuration discussed
above, and also demonstrate the use of both a JKS keystore and an Oracle wallet.
If you elect to secure the communication channel from the browser to the Oracle HTTP Server, you must also
secure the communications between the Oracle HTTP Server and the Oracle WebLogic Server applications. This
consists of two steps: Configuring SSL for your WebLogic Managed Server, and then configuring Oracle HTTP
Server as a client that trusts the WebLogic server.
For this example, the java keytool utility is used to create a custom keystore that will contain the server
identity. These commands assume the Java 1.7 version of keytool is in your PATH. An example
command to generate a custom key pair is below (the values in blue will change based on your site):
keytool -genkeypair -v -keyalg RSA -dname "cn=dndedasvm4,dc=us,dc=oracle,dc=com" -alias enterpriseone keypass admin123 -keystore enterpriseone.jks -storepass admin123 -validity 365
Note: This certificate expires after one year. When the certificate expires, you need to regenerate the certificate
for the server to start.
2.
Export the certificate containing the public key that will be imported into the clients trust store. In this case,
the client is the Oracle HTTP Server, with the server being the Oracle WebLogic Managed Server:
keytool -exportcert -v -alias enterpriseone -keystore enterpriseone.jks -storepass admin123 -rfc -file
enterpriseone.cer
3.
In the WebLogic Administration Console, click Environment, Servers, C1_VC1, and then Lock
& Edit.
b.
Select SSL Listen Port Enabled. Provide a unique port (7504 in this example).
c.
49 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
Repeat this step (assigning SSL port) for all the servers in the cluster. Port 7506 and 7508 are
assigned to C1_VC1 and C1_HC1 respectively.
4.
In the WebLogic Admin Console, click Environment, Clusters, C1, and then click Lock & Edit.
b.
c.
d.
5.
a.
From the Keystores drop-down list, select Custom Identity and Java Standard Trust.
50 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
b.
In the Identity section, in the Custom Identity Keystore field, enter the path and the file name of the
identity keystore that was created in Step 1. Enter JKS for the Custom Identity Keystore Type.
c.
Fill in the keystore passphrase with the password that was used in Step 1.
d.
6.
From the command line, run the keytool command to import the self-signed certificate that was created in
Step 2 above into the Java trust keystore (changeit is the default password for the Java trust keystore):
keytool -importcert -trustcacerts -alias enterpriseone -file C:\enterpriseone.cer keystore
C:\Oracle\Middleware\Oracle_Home\oracle_common\jdk\jre\security\cacerts
-storepass changeit
7.
8.
Select the Control tab for the server, and then click Restart SSL.
You should now be able to connect directly to the EnterpriseOne WebLogic server using SSL.
To test this, open a browser window and type in the following URLs:
https://dndedasvm4:7504/jde/E1Menu.maf
https://dndedasvm4:7506/jde/E1Menu.maf
https://dndedasvm4:7508/jde/E1Menu.maf
This will again bring up an Untrusted Connection page that can be accepted for this example.
Configuring Oracle HTTP Server as a Client that Trusts the WebLogic Server
Now that you have set up the WebLogic Server to use SSL, you need to configure the Oracle HTTP Server to
recognize your WebLogic server as a valid Certificate Authority. The steps below can be followed to complete the
SSL communication loop:
51 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
1.
Copy the file containing the public key certificate to the machine that is running your Oracle HTTP Server.
In this example, this is the enterpriseone.cer file that was created in Step 2 of the previous section. This
certificate must be imported into the Oracle wallet that the Oracle HTTP Server is using.
2.
Import this certificate into the Oracle HTTP Server wallet. Use the orapki utility located in the bin directory
under your oracle_common directory. The example below assumes that the orapki utility is already in your
PATH, and you have changed the local directory to be the default wallet directory:
(<ORACLE_HOME>\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\components\OHS\insta
nces\<OHS_INSTANCE_NAME\keystores)
orapki wallet add -wallet . -trusted_cert -cert C:\enterpriseone.cer auto_login_only
52 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
SSLWallet
"${ORACLE_INSTANCE}/config/fmwconfig/components/${COMPONENT_TYPE}/instances/${COMPONENT_NAM
E}/keystores/default"
</IfModule>
</VirtualHost>
NOTE: The ports used (7503, 7505 and 7507) in this configuration are the HTTP ports of the respective WLS
Managed Servers and not the HTTPS port on which the HTML server is installed.
2.
3.
You should now be able to connect to the EnterpriseOne application through Oracle HTTP Server using SSL. To
test this, open a browser window and type in the following URL:
https://dndedasvm4:7778/jde/E1Menu.maf
53 | JD Edwards EnterpriseOne 9.1.4/9.1.5 Clustering Best Practices With Oracle WebLogic Server 12c for the HTML Server
Worldwide Inquiries
Phone: +1.650.506.7000
Fax: +1.650.506.7200
CONNECT WITH US
blogs.oracle.com/oracle
facebook.com/oracle
twitter.com/oracle
oracle.com
Copyright 2014, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the
contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are
formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any
means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 1214
JD Edwards EnterpriseOne 9.1.4 Clustering Best Practices with Oracle WebLogic Server 12.1.2
December 2014