Sun Java Enterprise System Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express

Similar documents
Sun Java System Directory Server Release Notes for HP-UX

Sun Java System Access Manager Release Notes for Microsoft Windows

Sun Java System Application Server Platform Edition Q2 Update 2 Release Notes

Sun Control Station. Performance Module. Sun Microsystems, Inc. Part No September 2003, Revision A

Solaris 9 9/04 Installation Roadmap

Sun StorEdge Network 2 Gb Brocade SilkWorm 3200, 3800, and Core Fabric Switches Guide to Documentation, 3.x / Firmware

Sun Fire TM E2900 Systems Getting Started

Sun StorEdge 3310 SCSI Array Best Practices Manual

Sun Fire High-End Server Systems Hold-down Kit

Sun Fire System Controller Board, Version 2 (Enhanced Memory) Installation Guide

Sun Management Center 3.6 Version 7 Add-On Software Release Notes

Sun Rack Cabinet Extension Installation Guide

SunVTS Quick Reference Card

System Controller CPU Board, Netra CompactPCI, Installation Guide. Sun Fire E25K/E20K Systems Sun Fire 15K/12K Systems

Sun Java Enterprise System 2003Q4 Deployment Example Series: Evaluation Scenario

Sun Management Center 4.0 Version 4 Add-On Software Release Notes

Cable Management Guide

Sun Management Center 4.0 Version 3 Add-On Software Release Notes

Conceptual Overview. iplanet Integration Server. Version 3.0

SunGigabitEthernetAdapter2.0

SUN SEEBEYOND eindex SPV ENTERPRISE DATA MANAGER USER S GUIDE. Release 5.1.2

Sun Update Manager 1.0 Administration Guide

Sun Control Station. Software Installation. Sun Microsystems, Inc. Part No January 2004, Revision A

Web Proxy Server Configuration File Reference

Sun StorEdge Network 2 Gb Brocade SilkWorm 3200 and 3800 Switches Release Notes

Designing a Fault-Tolerant Network Using Sun Netra CP3x40 Switches

Sun Installation Assistant for Windows and Linux User s Guide

SUN SEEBEYOND eway ADAPTER FOR LOTUS NOTES/DOMINO USER S GUIDE. Release 5.1.2

SUN SEEBEYOND eway TCP/IP HL7 ADAPTER USER S GUIDE. Release 5.1.2

Sun Blade TM T63X0 PCIe Pass- Through Fabric Expansion Module User s Guide

Sun Fire V60x and V65x Servers ReadMe

Using Web Server 1.1 Plug-Ins with Oracle WebLogic Server 11g Release 1 (11.1.1)

Sun Management Center 4.0 Version 2 Add-On Software Release Notes

Tuning LDAP to Improve Searches in Communications Services Clients

Sun Remote System Control (RSC) Release Notes

StorageTek Host Software Component (HSC) MVS Software

Sun Fire V125 Server Getting Started Guide

Sun Fire V210 and V240 Servers Getting Started Guide

Sun Netra TM X4200 M2 Server Product Notes

Sun Blade 1000 and Sun Blade 2000 Product Notes

Solaris 8 6/00 Sun Hardware Roadmap

Sun Fire X4170, X4270, and X4275 Servers Linux, VMware, Solaris, and OpenSolaris Operating Systems Installation Guide

Sun Fire X2270 Server Linux, VMware, OpenSolaris, and Solaris Operating Systems Installation Guide

Brocade 5100 Switch Hardware Release Notes

SUN SEEBEYOND eway ADAPTER FOR SUN JAVA SYSTEM APPLICATION SERVER USER S GUIDE. Release 5.1.1

SunVTS Quick Reference Card

Web Proxy Server NSAPI Developer s Guide

System Management Services (SMS) 1.6 Software Release Notes

Sun Fire V20z Server Installation Guide

Sun Fire V60x and V65x BIOS and Firmware Update ReadMe

Sun Fire V490 Server Product Notes

Sun StorEdge 3320 SCSI Array Controller Module Replacement Guide

Sun StorageTek Backup Manager Release Notes

Crypto Key Management Station

Sun Java System Connector for Microsoft Outlook Q4 Installation Guide

Cluster Platform 15K/9960 System

Sun Blade X6270 Server Module Linux, VMware, Solaris, and OpenSolaris Operating Systems Installation Guide

Sun Management Center 3.6 Performance Reporting Manager User s Guide

Security and Trust Services APIs for Java 2 Platform, Micro Edition

Sun Blade 6048 Modular System Overview

Sun Blade 2500 Workstation Product Notes

Content Delivery Server 5.1 Content Developer Guide

Sun Management Center 3.5 Supplement for VSP High-End Entry Servers (Workgroup Servers)

Sun Secure Global Desktop 4.5 Installation Guide

Sun Cluster 2.2 7/00 Data Services Update: Lotus Domino 4.6.3

Sun Management Center 3.6 Supplement for the Sun Fire, Sun Blade, and Netra Systems

Sun Ultra TM. 5 and Ultra 10 Product Notes. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Sun OpenSSO Enterprise Policy Agent 3.0 Guide for IBM WebSphere Application Server 6.1/7.0 and WebSphere Portal Server 6.1

Sun Fire X4600 Server Windows Operating System Installation Guide

Deployment Guide. Sun ONE Identity Server. Version 6.1

Sun Blade X6270 Server Module Windows Operating System Installation Guide

MTA Programmer s Reference Manual

Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System

Java Enterprise System Telecommunications Provider Scenario

Sun Update Connection - Enterprise 1.0 Quick Start Guide: Getting Started

Sun Blade 1500 Product Notes

SUN SEEBEYOND eway ADAPTER FOR WEBSPHERE MQ USER S GUIDE. Release 5.1.1

Integrated Lights Out Manager (ILOM) Supplement for Sun Fire X4100/X4100 M2 and X4200/X4200 M2 Servers

Sun Microsystems, Inc Network Circle Santa Clara, CA U.S.A. Sun Role Manager 4.1 Installation Guide

Sun Secure Global Desktop 4.5 Gateway Administration Guide

Sun StorEdge Enterprise 2 Gb FC Single and Dual Port Host Bus Adapter Release Notes

Building Web Services

Solaris 10 Installation Guide: Solaris Flash Archives (Creation and Installation)

Building J2EE Applications

man pages section 6: Demos

Sun StorEdge 5310 NAS Appliance Software Installation, Configuration, and User Guide

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Solaris PC NetLink 1.2 Installation Guide

Sun Fire V480 Server Product Notes

Building Web Components

SUN SEEBEYOND egate INTEGRATOR TUTORIAL. Release 5.1.2

Building Enterprise JavaBeans Components

Sun StorageTek 6130, 6140, and 6540 Arrays

The Solaris Security Toolkit - Quick Start

External I/O Expansion Unit Product Notes

Sun Blade 1500 Troubleshooting Card

Forte for Java 4, Mobile Edition Tutorial

SUN SEEBEYOND eway JDBC/ODBC ADAPTER USER S GUIDE. Release 5.1.3

Sun StorageTek Backup Manager Administration Guide

Identity Manager 7.0 Deployment Tools

Transcription:

Sun Java Enterprise System Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express 2005Q1 Part Number 819-4194-11 The Sun Java Enterprise System 2005Q1 Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express describes how to obtain and configure the Sun Java System Web Server 6.1 Reverse Proxy Plugin for use with Sun Java System Communications Express 2005Q1 and Sun Java System Messenger Express 2005Q1. The component products affected by this technical note are: Sun Java System Communications Express 6 2005Q1 Sun Java System Messenger Express 6 2005Q1 (Webmail) Sun Java System Web Server 6 2005Q1 Sun Java System Web Server 6.1 Reverse Proxy Plugin This technical note contain the following sections: Technical Note Revision History Overview of the Problem Configuring the Reverse Proxy Plugin Known Issues and Limitations How to Report Problems and Provide Feedback Sun Welcomes Your Comments Additional Sun Resources Part Number 819-4194-11 Page 1 of 8

Technical Note Revision History Technical Note Revision History Table 1 Date Revision History Description of Changes December 21, 2006 September 8, 2005 Fixed Step 2 and Step 3 in To Configure the Reverse Proxy Plugin. Initial release of this technical note. Overview of the Problem Currently, in order for users of Mozilla and Firefox browsers to be able to compose HTML messages in Communications Express, Messenger Express (Webmail) must appear to be running on port 80. The current deployment requirements for Communications Express and Messenger Express state that they must be installed on the same host. However, if you choose to run Messenger Express on a port other than 80 which is often the case you will run into this problem. Using the Web Server 6.1 Reverse Proxy Plugin solves this problem, as it proxies the Communications Express connection from port 80 to the actual Webmail host:port pair, thus enabling you to run your Messenger Express on a different port. Configuring the Reverse Proxy Plugin This section describes how to download and configure the Web Server Reverse Proxy Plugin. See http://docs.sun.com/source/819-0902/rpp61.html#wp012 for more information. To Download and Install the Reverse Proxy Plugin 1. Download the Web Server 6.1 Reverse Proxy Plugin to a temporary directory from this site: http://www.sun.com/download/products.xml?id=3f567f91 2. Extract the tar file. 3. Install the package on the machine running mshttpd and Communications Express. Page 2 of 8 Communications Express 6 2005Q1 Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express

Configuring the Reverse Proxy Plugin To Configure the Reverse Proxy Plugin 1. Edit the Web Server s magnus.conf file to enable the reverse proxy plugin by pointing to the directory where the libpassthrough.so file is installed. For example, for a Web Server installation in the /opt/sunwwbsvr directory, add the following line: Init fn="load-modules" shlib="/opt/sunwwbsvr/plugins/passthrough/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no" Make sure the libpassthrough.so file is under the same ownership as the Web Server owner and group names. 2. Modify the Web Server s obj.conf file. Assign uwc and messengerxpress names, and add objects to be checked for reverse proxy. Add the following lines to the top of the default Object section: Part Number 819-4194-11 Page 3 of 8

Configuring the Reverse Proxy Plugin <Object name="default"> NameTrans fn="assign-name" from="/*.msc" name="passthrough" NameTrans fn="assign-name" from="/*webmail/attach/*" name="passthrough" AuthTrans fn="match-browser" browser="*msie*" ssl-unclean-shutdown="true" NameTrans fn="ntrans-j2ee" name="j2ee" NameTrans fn=pfx2dir from=/mc-icons dir="/opt/sunwwbsvr/ns-icons" name="es-internal" NameTrans fn=document-root root="$docroot" PathCheck fn=unix-uri-clean PathCheck fn="check-acl" acl="default" PathCheck fn=find-pathinfo PathCheck fn=find-index index-names="index.html,home.html,index.jsp" ObjectType fn=type-by-extension ObjectType fn=force-type type=text/plain Service method=(get HEAD) type=magnus-internal/imagemap fn=imagemap Service method=(get HEAD) type=magnus-internal/directory fn=index-common Service method=(get HEAD POST) type=*~magnus-internal/* fn=send-file Service method=trace fn=service-trace Error fn="error-j2ee" AddLog fn=flex-log name="access" </Object> <Object name="uwc"> ObjectType fn="check-passthrough" type="magnus-internal/passthrough" </Object> <Object name="messengerxpress"> Service fn="service-passthrough" servers="http://webmail.red.example.com:8080" </Object> NOTE The servers parameter is a quoted, space-delimited list of the servers that receive the forwarded requests. In the example above, the server is webmail.red.example.com, and it is communicating on port 8080. 3. Update the webmail.port parameter in the comms_express_deployed_dir/web-inf/config/uwcconfig.properties file to set the Webmail port to 80. webmail.port=80 Page 4 of 8 Communications Express 6 2005Q1 Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express

Known Issues and Limitations 4. Update the messagingsso.ipsecurity parameter in the comms_express_deployed_dir/web-inf/config/uwcauth.properties file so that Communications Express does not perform IP address check to restrict the access to the session. messagingsso.ipsecurity=false 5. Restart Web Server, for example: cd /opt/sunwwbsvr/https-webmail.red.example.com./start The reverse proxy startup will be noted in startup messages. To Verify the Configuration Log in to Communications Express through the Mozilla or Firefox browser. The Webmail port will not be displayed in the URL, and the Compose window now displays HTML controls. Known Issues and Limitations See the Java Enterprise System Release Notes Collection at the following URL to find out about known problems: http://docs.sun.com/app/docs/coll/entsysrn_05q1 How to Report Problems and Provide Feedback If you have problems with Communications Express, contact Sun customer support using one of the following mechanisms: Sun Software Support services online at http://www.sun.com/service/sunone/software This site has links to the Knowledge Base, Online Support Center, and ProductTracker, as well as to maintenance programs and support contact numbers. The telephone dispatch number associated with your maintenance contract Part Number 819-4194-11 Page 5 of 8

Sun Welcomes Your Comments So that we can best assist you in resolving problems, please have the following information available when you contact support: Description of the problem, including the situation where the problem occurs and its impact on your operation Machine type, operating system version, and product version, including any patches and other software that might be affecting the problem Detailed steps on the methods you have used to reproduce the problem Any error logs or core dumps Sun Welcomes Your Comments Sun is interested in improving its documentation and welcomes your comments and suggestions. To share your comments, go to http://docs.sun.com and click Send Comments. In the online form, provide the document title and part number. The part number is a seven-digit or nine-digit number that can be found on the title page of the book or at the top of the document. For example, the title of this book is Communications Express 2005Q1 Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express, and the part number is 819-4194-11. Additional Sun Resources Useful Sun Java System information can be found at the following Internet locations: Sun Java System Documentation http://docs.sun.com/prod/java.sys Sun Java System Professional Services http://www.sun.com/service/sunps/sunone Sun Java System Software Products and Service http://www.sun.com/software Sun Java System Software Support Services http://www.sun.com/service/sunone/software Page 6 of 8 Communications Express 6 2005Q1 Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express

Additional Sun Resources Sun Java System Support and Knowledge Base http://www.sun.com/service/support/software Sun Support and Training Services http://training.sun.com Sun Java System Consulting and Professional Services http://www.sun.com/service/sunps/sunone Sun Java System Developer Information http://developers.sun.com Sun Developer Support Services http://www.sun.com/developers/support Sun Java System Software Training http://www.sun.com/software/training Sun Software Data Sheets http://wwws.sun.com/software Part Number 819-4194-11 Page 7 of 8

Additional Sun Resources Copyright 2005 Sun Microsystems, Inc. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. SUN PROPRIETARY/CONFIDENTIAL. U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Use is subject to license terms. This distribution may include materials developed by third parties. Portions may be derived from Berkeley BSD systems, licensed from U. of CA. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Copyright 2005 Sun Microsystems, Inc. Tous droits réservés. Sun Microsystems, Inc. détient les droits de propriété intellectuels relatifs à la technologie incorporée dans le produit qui est décrit dans ce document. En particulier, et ce sans limitation, ces droits de propriété intellectuelle peuvent inclure un ou plusieurs des brevets américains listés à l'adresse http://www.sun.com/patents et un ou des brevets supplémentaires ou des applications de brevet en attente aux Etats - Unis et dans les autres pays. Propriété de SUN/CONFIDENTIEL. L'utilisation est soumise aux termes du contrat de licence. Cette distribution peut comprendre des composants développés par des tierces parties. Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l'université de Californie. Sun, Sun Microsystems, le logo Sun, Java et Solaris sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. Page 8 of 8 Communications Express 6 2005Q1 Technical Note: Configuring Web Server Reverse Proxy Plugin for Communications Express