WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server 11g Release 1 (10.3.6)

Similar documents
Oracle Fusion Middleware. 1 Contents. 2 Where to Find Oracle WebLogic Tuxedo Connector Samples. 3 Configuring the Oracle WebLogic Tuxedo Connector

Microsoft Active Directory Plug-in User s Guide Release

Oracle Fusion Middleware Creating Domain Templates Using the Domain Template Builder. 12c ( )

Microsoft Internet Information Services (IIS) Plug-in User s Guide Release

Oracle Linux. UEFI Secure Boot Signing Key Update Notice

Oracle Fusion Middleware

Microsoft.NET Framework Plug-in User s Guide Release

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6)

Oracle Communications Configuration Management

Database Change Reference Release 6.3

Oracle Hospitality OPERA Exchange Interface Cloud Authentication. October 2017

Oracle Cloud Getting Started with Oracle WebCenter Portal Cloud Service

Oracle Identity Manager Connector Guide for Dropbox. Release

Oracle NoSQL Database Integration with SQL Developer. Release 18.1

Oracle Cloud Known Issues for Trial and Paid Subscriptions. Release 18.1

Oracle Enterprise Manager

Oracle Cloud E

Oracle Cloud Using Oracle E-Business Suite Adapter Endpoint Configuration Wizard. Release 17.3

Oracle Database Appliance Accessibility Guide. Release

Oracle Fusion Middleware Known Issues in Oracle Stream Analytics

Oracle SQL Developer Web Accessibility Guide. Release 18.1

Release for Microsoft Windows

Oracle Cloud. Oracle Cloud Adapters Postinstallation Configuration Guide E

Oracle Banking Channels Bank User Base

Oracle Fusion Middleware

Oracle Fusion Middleware Oracle Cloud Adapters Postinstallation Configuration Guide. 12c Release ( )

Oracle Hospitality Suite8 Export to Outlook User Manual Release 8.9. July 2015

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Installing and Updating Local Software Packages 12c Release

What s New for Cloud at Customer What's New for the Cloud Services on Oracle Cloud at Customer New Documentation for Oracle Cloud at Customer

Oracle Communications Convergent Charging Controller. Sample Message Flows Reference Guide Release 6.0.1

Oracle Enterprise Data Quality for Product Data

Oracle Cloud What's New for Oracle WebCenter Portal Cloud Service

Oracle Utilities Advanced Spatial and Operational Analytics

PeopleSoft Fluid Required Fields Standards

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Hardware and Software Configuration

Oracle Utilities Work and Asset Management Integration to Primavera P6 Enterprise Project Portfolio Management

Oracle Virtual Desktop Client for ipad. Release Notes for Release 1.2

Oracle Cloud E

What s New for Oracle Cloud Stack Manager. Topics: July Oracle Cloud. What's New for Oracle Cloud Stack Release

Oracle Agile Product Lifecycle Management for Process Reporting User Guide Release E

Oracle Cloud. Using Oracle Eloqua Adapter Release E

IBM WebSphere Portal Reference Guide Release 9.2.x

Oracle Hospitality Query and Analysis Languages and Translation Configuration Guide. March 2016

Oracle Utilities Opower Custom URL Configuration

E June Oracle Linux Storage Appliance Deployment and User's Guide

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need

Oracle Cloud Using the Google Calendar Adapter with Oracle Integration

Oracle. Sales Cloud Using Sales for Outlook. Release 13 (update 18A)

Oracle Hospitality MICROS Commerce Platform Release Notes Release Part Number: E December 2015

Oracle VM. Getting Started Guide for Release 3.2

Materials Control. Account Classes. Product Version Account Classes. Document Title: Joerg Trommeschlaeger

Oracle Human Capital Management Cloud Using the HCM Mobile Application. Release 13 (update 18C)

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need

PeopleSoft Fluid Icon Standards

Oracle Cloud Using the Google Calendar Adapter. Release 17.3

Oracle Hospitality Cruise Shipboard Property Management System Topaz Signature Device Installation Guide Release 8.00 E

General Security Principles

Export generates an empty file

Report Management and Editor!

OKM Key Management Appliance

Oracle Insurance. Implementing a. Release 5.6

Taleo Enterprise Deep Linking Configuration Guide Release 17

Recipe Calculation Survey. Materials Control. Copyright by: MICROS-FIDELIO GmbH Europadamm 2-6 D Neuss Date: August 21 st 2007.

Contents About Connecting the Content Repository... 5 Prerequisites for Configuring a Content Repository and Unifier... 5

Oracle Enterprise Manager Ops Center

Insbridge Enterprise Rating Portal Configuration Guide

Oracle Enterprise Manager Ops Center. Introduction. What You Will Need. Creating vservers 12c Release 1 ( )

Oracle GoldenGate E

Oracle Fusion Middleware

Oracle Payment Interface Installation and Reference Guide Release E April 2018

Developing Java EE Management Applications for Oracle WebLogic Server c (12.1.3)

Security Guide Release 4.0

Oracle Banking Enterprise Collections Release Notes Release

Oracle Database Mobile Server

JavaFX. JavaFX System Requirements Release E

Oracle Communications Order and Service Management. OSM New Features

Oracle Utilities Smart Grid Gateway

Upgrading Oracle GoldenGate Veridata 12c (12.2.1)

Oracle Cloud. Using the Google Calendar Adapter Release 16.3 E

Oracle Fusion Middleware

Defining Constants and Variables for Oracle Java CAPS Environments

Oracle Fusion Middleware Oracle Business Process Management Release Notes. 12c ( )

1 Understanding the Cross Reference Facility

Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware. 12c ( )

Oracle. Field Service Cloud Using the Parts Catalog

Oracle Fusion Middleware

Oracle Utilities Customer Care and Billing

Oracle. Applications Cloud Using Functional Setup Manager. Release 13 (update 18A)

Managing Zone Configuration

Copyright 1998, 2009, Oracle and/or its affiliates. All rights reserved.

Oracle mymicros.net, icare, myinventory and mylabor Self Host Release Notes Release v April 2015

Oracle Fusion Middleware Oracle Technology Adapters Release Notes. 12c ( )

Oracle Hospitality RES 3700 Server Setup Guide Release 5.5 E May 2016

Oracle Fusion Middleware Installing and Configuring Oracle SOA Suite and Oracle Business Process Management. 12c ( )

Introduction to Auto Service Request

Oracle Fusion Middleware

User's Guide Release

Oracle Cloud Using the Trello Adapter. Release 17.3

Oracle Retail MICROS Stores2 Functional Document Sales - Receipt List Screen Release September 2015

JD Edwards EnterpriseOne Licensing

Transcription:

[1]Oracle Fusion Middleware WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server 11g Release 1 (10.3.6) E13756-06 April 2015 This document summarizes how to configure Oracle WebLogic Server to interoperate with WebLogic Tuxedo Releases 6.5 and higher.

Oracle Fusion Middleware WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server, 11g Release 1 (10.3.6) E13756-06 Copyright 2007, 2015, 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 is software or related documentation that 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 about 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.

Contents Preface... v Documentation Accessibility... Conventions... v v 1 Introduction and Roadmap 1.1 Document Scope and Audience... 1-1 1.2 Guide to This Document... 1-1 1.3 New and Changed Features in this Release... 1-1 2 WebLogic Tuxedo Connector Quick Start Guide 2.1 Where to Find WebLogic Server Samples... 2-1 2.2 Configuring the WebLogic Server... 2-1 2.2.1 Build the Simpapp Example... 2-2 2.2.2 Create a WTC Service... 2-3 2.2.3 Create a Local Oracle Tuxedo Access Point... 2-3 2.2.4 Create a Remote Oracle Tuxedo Access Point... 2-3 2.2.5 Create Exported Services... 2-4 2.2.6 Create Imported Services... 2-4 2.2.7 Target mysimpapp to the examplesserver... 2-5 2.2.8 Register TDOM1 as an Oracle WebLogic Server User... 2-5 2.3 Configuring Oracle Tuxedo... 2-5 2.4 Run the Example... 2-6 2.4.1 Oracle WebLogic Server to Oracle Tuxedo Interoperability... 2-6 2.4.2 Oracle Tuxedo to Oracle WebLogic Server Interoperability... 2-7 iii

iv

Preface This preface describes the document accessibility features and conventions used in this guide WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server. Documentation Accessibility For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc. Access to Oracle Support Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired. Conventions The following text conventions are used in this document: Convention boldface italic monospace Meaning Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. v

vi

1 1Introduction and Roadmap [2]This chapter describes the contents and audience for this guide WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server. This chapter includes the following sections: Section 1.1, "Document Scope and Audience" Section 1.2, "Guide to This Document" Section 1.3, "New and Changed Features in this Release" 1.1 Document Scope and Audience This document is a resource for system administrators and operators responsible for monitoring and managing a WebLogic Server installation. It is relevant to all phases of a software project, from development through test and production phases. 1.2 Guide to This Document This document is organized as follows: This chapter, Chapter 1, "Introduction and Roadmap," provides a roadmap for this guide and describes the audience for this guide. Chapter 2, "WebLogic Tuxedo Connector Quick Start Guide," describes how to use the Oracle WebLogic Server console to configure Oracle WebLogic Tuxedo Connector so that Oracle WebLogic Server can interoperate with Tuxedo Releases 6.5 and higher. 1.3 New and Changed Features in this Release For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server. Introduction and Roadmap 1-1

New and Changed Features in this Release 1-2 WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server

2 2WebLogic Tuxedo Connector Quick Start Guide [3]This chapter describes how to use the Oracle WebLogic Server console to configure WebLogic Server so that Oracle WebLogic Server can interoperate with Tuxedo Releases 6.5 and higher. Note: For more detailed information on how to configure the WebLogic Server for this Oracle WebLogic Server release, see WebLogic Tuxedo Connector Administration Guide for Oracle WebLogic Server. This chapter includes the following sections: Section 2.1, "Where to Find WebLogic Server Samples" Section 2.2, "Configuring the WebLogic Server" Section 2.3, "Configuring Oracle Tuxedo" Section 2.4, "Run the Example" 2.1 Where to Find WebLogic Server Samples For this release of WebLogic Server (WTC), samples are available on the Oracle Technology Network web site. Create a wtc directory within the samples directory of your WebLogic Server installation. Download the WTC samples to this directory. To run the samples referenced in this document, you must download the simpapp and simpserv samples. 2.2 Configuring the WebLogic Server Note: This section summarizes how to configure the WebLogic Server on a Windows platform. UNIX users can adapt the instructions by making appropriate substitutions such as replacing the "\" with "/" and ".cmd" with ".sh". This example extends the Oracle Tuxedo simpapp application to run over Oracle Tuxedo Domains (TDomains). This allows clients of the TOUPPER service to run on either the Oracle Tuxedo server or the Oracle WebLogic Server examplesserver. The example provides the following services: WebLogic Tuxedo Connector Quick Start Guide 2-1

Configuring the WebLogic Server TOUPPER: An Oracle Tuxedo service that converts a string to upper case. A Oracle WebLogic Server client invokes the TOUPPER EJB and connects to the Oracle Tuxedo TOUPPER service. Tolower: A service implemented by an EJB in Oracle WebLogic Server. The client for the Tolower service runs on Oracle Tuxedo. The following sections describe how to configure WebLogic Server using the Administration Console: Section 2.2.1, "Build the Simpapp Example" Section 2.2.2, "Create a WTC Service" Section 2.2.3, "Create a Local Oracle Tuxedo Access Point" Section 2.2.4, "Create a Remote Oracle Tuxedo Access Point" Section 2.2.5, "Create Exported Services" Section 2.2.6, "Create Imported Services" Section 2.2.7, "Target mysimpapp to the examplesserver" Section 2.2.8, "Register TDOM1 as an Oracle WebLogic Server User" 2.2.1 Build the Simpapp Example Note: You may want to enable tracing to monitor WebLogic Server. See "Monitoring the WebLogic Tuxedo Connector" in WebLogic Tuxedo Connector Administration Guide for Oracle WebLogic Server. Use the following steps to build the simpapp example: 1. Boot your Oracle WebLogic examplesserver. 2. Open a new shell window and set environment variables using the SAMPLES_ HOME\domains\examples\setExamplesEnv.cmd file. 3. Change directories to the location where you have downloaded the simpapp sample. For example, SAMPLES_ HOME\server\examples\src\examples\wtc\atmi\simpapp directory. 4. Build the wtc_toupper.jar file using ant. This will deploy the EJB on Oracle WebLogic Server. Enter the following command: ant 5. Change directories to the location where you have downloaded the simpserv sample. For example, SAMPLES_ HOME\server\examples\src\examples\wtc\atmi\simpserv directory. 6. Build the wtc_tolower.jar file. This will deploy the EJB on Oracle WebLogic Server. Enter the following command: ant 7. Launch the WebLogic Server Administration Console in your browser. Use the following URL: http://your_machine:7001/console. Replace your_machine with the IP address for your machine or your machine name. 8. In the navigation tree, click Deployments and confirm that the wtc_tolower.jar and wtc_toupper.jar are deployed. 2-2 WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server

Configuring the WebLogic Server 2.2.2 Create a WTC Service Use the following steps to create and configure a WTC service using the Oracle WebLogic Server Administration Console: 1. Expand Interoperability and select WTC Servers in the navigation tree. 2. On the WTC Servers page, click New. 3. On the Create a New WTC Server page, enter the name of your WTC Service in the Name field. Example: mysimpapp 4. Click OK. 5. Your new WTC Service appears in the WTC Servers list. 2.2.3 Create a Local Oracle Tuxedo Access Point Note: When configuring the Network Address for a local access point, the port number used should be different from any port numbers assigned to other processes. Example: Setting the Network Address to //mymachine:7001 is not valid if the Oracle WebLogic Server listening port is assigned to //mymachine:7001. Use the following steps to configure a local Oracle Tuxedo access point: 1. In the WebLogic Server Administration Console, expand Interoperability and select WTC Servers. 2. On the WTC Servers page, click the name of a WTC Service, such as mysimpapp, to access the settings page. 3. Click the Local APs tab. 4. Enter the following values for the following fields on the WTC Local Access Points page: Access Point: mylocalap AccessPoint ID: TDOM2 Network Address: the network address and port of your local access point Example: //123.123.123.123:5678 5. Click OK. 6. If you are connecting to a Tuxedo 6.5 domain, do the following: a. Click the Connections tab. b. Set the Interoperate field to Yes. c. Click Save. 2.2.4 Create a Remote Oracle Tuxedo Access Point Use the following steps to configure a remote Oracle Tuxedo access point: 1. In the WebLogic Server Administration Console, expand Interoperability and select WTC Servers. 2. On the WTC Servers page, click the name of a WTC Service, such as mysimpapp. WebLogic Tuxedo Connector Quick Start Guide 2-3

Configuring the WebLogic Server 3. Click the Remote APs tab. 4. Enter the following values for the following fields on the WTC Remote Access Points page: Access Point: myremoteap AccessPoint ID: TDOM1 Local Access Point: mylocalap Network Address: the network address and port of your remote access point Example: //123.123.123.123:1234 5. Click OK. 2.2.5 Create Exported Services Use the following steps to configure an exported service: 1. In the WebLogic Server Administration Console, expand Interoperability and select WTC Servers. 2. On the WTC Servers page, click the name of a WTC Service, such as mysimpapp. 3. Click the Exported tab. 4. Enter the following values for the following fields on the WTC Exported Services page: Resource Name: TOLOWER Local Access Point: mylocalap EJB Name: tuxedo.services.tolowerhome Remote Name: TOLOWER 5. Click OK. 2.2.6 Create Imported Services Use the following steps to configure an imported service: 1. In the WebLogic Server Administration Console, expand Interoperability and select WTC Servers. 2. On the WTC Servers page, click the name of a WTC Service, such as mysimpapp. 3. Click the Imported tab. 4. Enter the following values for the following fields on the WTC Imported Services page: Resource Name: TOUPPER Local Access Point: mylocalap Remote Access Point List: myremoteap Remote Name: TOUPPER 5. Click OK. 2-4 WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server

Configuring Oracle Tuxedo 2.2.7 Target mysimpapp to the examplesserver 1. In the WebLogic Server Administration Console, expand Interoperability and select WTC Servers. 2. On the WTC Servers page, click the name of a WTC Service, such as mysimpapp. 3. Click the Targets tab. 4. Click the checkbox for the examplesserver. 5. Click Save. 2.2.8 Register TDOM1 as an Oracle WebLogic Server User Use the following steps to register TDOM1 as an Oracle WebLogic Server user: 1. Click Security Realms in the navigation tree. 2. Click myrealm. 3. Click on Users and Groups tab. 4. Click Users. 5. Click Lock & Edit. 6. Click New. 7. In the Create a New User page, do the following: a. Add TDOM1 in the Name field. b. Enter and confirm a password. c. Click OK. 8. Click Release Configuration. 2.3 Configuring Oracle Tuxedo Use the following steps to configure your Oracle Tuxedo domain: 1. Your PATH environment variable needs to include the path of your C compiler. Use set PATH to check the status and add the path if necessary. 2. Copy the simpapp example from your Oracle Tuxedo installation and create a working Oracle Tuxedo simpapp directory. 3. Change directories to your working Oracle Tuxedo simpapp directory. 4. Set environment variables using the setenv.cmd located at TUXDIR. Update the following parameters: TUXDIR - base directory of the TUXEDO Software APPDIR - base directory of the sample program 5. Build the clients: buildclient -o simpcl -f simpcl.c buildserver -o simpserv -f simpserv.c -s TOUPPER 6. Copy the ubbdomain and dom1config files from the SAMPLES_ HOME\server\examples\src\examples\wtc\atmi\simpapp directory to your Oracle Tuxedo simpapp directory. WebLogic Tuxedo Connector Quick Start Guide 2-5

Run the Example 7. Copy the tolower.c file from the SAMPLES_ HOME\server\examples\src\examples\wtc\atmi\simpserv directory to your Oracle Tuxedo simpapp directory. 8. Modify the ubbdomain for your Oracle Tuxedo environment. This includes setting the path names for APPDIR, TUXCONFIG, and TUXDIR and setting the machine name. Replace all <braced> items with information for your environment. Example: APPDIR="\home\me\simpapp" TUXCONFIG="\home\me\simpapp\tuxconfig"" TUXDIR="\usr\tuxedo" 9. Load the ubbdomain file: tmloadcf -y ubbdomain 10. Modify the dom1config for your Oracle Tuxedo environment. This includes creating log devices and updating the network addresses. Example: DMTLOGDEV="d:\my_apps\tlog" AUDITLOG="d:\my_apps\aud" TDOM1 NWADDR="//TuxedoMachine:1234" TDOM2 NWADDR="//WTCMachine:5678" 11. Load the dom1config file. set BDMCONFIG=d:\mydomain\simpapp\bdmconfig dmloadcf -y dom1config 12. Build the tolower client buildclient -f tolower.c -o tolower 13. Boot the Tuxedo domain tmboot -y 2.4 Run the Example Run each client to demonstrate interoperability between Oracle Tuxedo and Oracle WebLogic Server. 2.4.1 Oracle WebLogic Server to Oracle Tuxedo Interoperability Start an Oracle WebLogic Server client from the directory location to which you downloaded the samples. For example, SAMPLES_ HOME\server\examples\src\examples\wtc\atmi\simpapp directory to invoke the TOUPPER EJB and connect to the Oracle Tuxedo TOUPPER service. Use the following command: ant simpapp The Oracle Tuxedo service replies to your Oracle WebLogic Server application with: Buildfile: build.xml simpapp: run_client: [java] Beginning statefulsession.client... [java] Creating Toupper [java] converting HelloWorld 2-6 WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server

Run the Example [java] converted to: HELLOWORLD [java] End statefulsession.client... BUILD SUCCESSFUL 2.4.2 Oracle Tuxedo to Oracle WebLogic Server Interoperability Run the tolower client from the Oracle Tuxedo simpapp directory to invoke the Tolower EJB and return the results to the client. Use the following command: tolower ALLSMALL The Oracle WebLogic Server service replies to your Oracle Tuxedo client with: Returned string is: allsmall WebLogic Tuxedo Connector Quick Start Guide 2-7

Run the Example 2-8 WebLogic Tuxedo Connector Quick Start Guide for Oracle WebLogic Server