Cwserenade) Configuration and Operations Guide Release 5.0
Total Page:16
File Type:pdf, Size:1020Kb
Oracle® Retail Order Management System (CWSerenade) Configuration and Operations Guide Release 5.0 E94891-02 March 2018 Oracle® Retail Order Management System Configuration and Operations Guide, Release 5.0 E94891-02 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. 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. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle. ii Contact Information 30500 Bruce Industrial Parkway 1800 West Park Drive 7031 Columbia Gateway Drive Cleveland, OH 44139 USA Westboro, MA 01581 Columbia, MD 21046‐2289 Toll Free: 888.328.2826 Tel:508.655.7500 Tel: 443.285.6000 Tel: 440.498.4414 Fax:508.647.9495 Fax: 440.542.3043 Contents CWSerenade Configuration CWSerenade Server Configuration ...............................................14 Server Configuration Illustration ....................................................................... 15 Using Multiple CWSerenade Application Servers ............................................... 16 Self-Contained Application Servers ................................................................. 17 Shared Application Servers .............................................................................. 17 Special Setup for Shared Application Servers ................................................. 20 Setting Up a CWSerenade Test Environment ..................................................... 29 CWSerenade Environment Configuration.....................................31 DBConfig Properties File .................................................................................. 31 Changing the Database Password ................................................33 A: Generate the encrypted passwords. ............................................................ 33 CWSerenade Application Configuration .......................................35 CWDirectCP Properties File ............................................................................. 35 Configuring CWSerenade for TLS 1.2 .............................................49 Create SerenadeTLS Folder ............................................................................ 49 Verify Java Version and Update PATH Variable .............................................. 49 Create a keystore and private Key .................................................................. 53 Create a Certificate Signing Request File ........................................................ 54 Sign the Security Certificate Using an External Resource ............................... 54 Export the Security Certificate To Make It Available to Install on Clients ......... 54 Import the Security Certificate into the Java Repository .................................. 55 Configure Tomee to Allow TLS Communications ............................................ 56 Logging in to the TLS Enabled CWSerenade Application ............................... 57 Expired Security Certificate .............................................................................. 61 JMS (Java Message Service) Providers for CWSerenade ...........63 Switching JMS Providers ................................................................................. 65 HornetQ Configuration ...................................................................66 Configuring HornetQ for CWSerenade ............................................................ 66 CWSerenade Property Settings for HornetQ ...................................................... 68 JMS Properties File Settings for HornetQ ........................................................ 68 JNDI Properties File for HornetQ ..................................................................... 68 HornetQ Configuration File ................................................................................. 69 HornetQ Jar Files ................................................................................................ 70 Creating HornetQ Queues .................................................................................. 71 3/10/15 4 CWSerenade 5.0 Contents Troubleshooting HornetQ .................................................................................... 73 IBM WebSphere MQ Configuration................................................75 Configuring WebSphere MQ for CWSerenade ................................................ 75 Context.XML File ................................................................................................. 77 WebSphere MQ Jar Files .................................................................................... 79 CWSerenade Property Settings for WebSphere MQ .......................................... 80 JMS Properties File Settings for MQ ................................................................ 80 JNDI Properties File Settings for MQ ............................................................... 80 Troubleshooting WebSphere MQ ........................................................................ 82 FTP Configuration ...........................................................................83 Delivered FTP Applications .............................................................................. 83 FTP Configuration File ........................................................................................ 91 CWDirectCP Properties File ............................................................................. 91 Creating Your Own FTP Applications ................................................................. 92 Delivered FTP Applications to Extract Information from the CWSerenade Database .......................................................................................................... 92 Delivered FTP Applications to Import Information to the CWSerenade Database .......................................................................................................... 95 Creating Your Own FTP Application ................................................................ 98 FTP Troubleshooting ......................................................................................... 101 Errors in FTP Log? ......................................................................................... 101 Connection Not Established? ......................................................................... 101 FTP File Transmission Unsuccessful? ..........................................................