6320TOC.fmDraft Document for Review July 28, 2004 7:33 pm
x Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
Draft Document for Review July 28, 2004 7:33 pm6320spec.fm
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area.
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that
does not infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document.
The furnishing of this document does not give you any license to these patents. You can send license
inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such provisions
are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES
THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer
of express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may
make improvements and/or changes in the product(s) and/or the program(s) described in this publication at
any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm
the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on
the capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the
sample programs are written. These examples have not been thoroughly tested under all conditions. IBM,
therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy,
modify, and distribute these sample programs in any form without payment to IBM for the purposes of
developing, using, marketing, or distributing application programs conforming to IBM's application
programming interfaces.
The following terms are trademarks of other companies:
Intel, Intel Inside (logos), MMX, and Pentium are trademarks of Intel Corporation in the United States, other
countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the
United States, other countries, or both.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
SET, SET Secure Electronic Transaction, and the SET Logo are trademarks owned by SET Secure
Electronic Transaction LLC.
Other company, product, and service names may be trademarks or service marks of others.
Draft Document for Review July 28, 2004 7:33 pm6320pref.fm
Preface
This redbook is based on our experience migrating a customer application.
Carrot Bunch Companies, Inc is the customer that provided the application,
Chapter 4, “Commerce Application used during the migration” on page 55 covers
the details of the application, runtime used, hardware specification and degree of
customization.
The team that wrote this redbook
This redbook was produced by a team of specialists from around the world
working at the International Technical Support Organization, Raleigh Center.
Figure 0-1 The team who wrote this book. From left to right: Sanjeev Sharma, Hernan
Cunico, Andrew Hays, Drake Philbrook, Steve Insley, Sanjay Shah, Nicolai Nielsen and
Khurram Wyne.
6320pref.fmDraft Document for Review July 28, 2004 7:33 pm
Hernan Cunico is an Senior I/T Specialist, WebSphere Specialist at the IBM
International Technical Support Organization (ITSO), Raleigh Center. He has
nine years of experience in Information Technology and e-business consulting.
Hernan has written extensively on WebSphere Commerce and Application
Server. His areas of expertise include networking, Internet security, e-business
and e-commerce solutions architecture.
Andrew Hays is a Senior IT Consultant at Daniel IT Services, Inc., located in
Athens, AL. He has over four years of experience in information systems
focusing on internet technologies. His areas of expertise include internet site
development, web application design & development, systems integration, and
WebSphere Commerce solutions. He holds a degree in Computer Science from
Athens State University in Athens, AL. Over the last three years he has worked
on several WebSphere Commerce Suite V5.1 projects.
Steve Insley is a Senior IT Consultant / Lead Architect for Retail at European
Technology Consultants Ltd. in the United Kingdom. He has seven years of
experience in the field of application development, system integration and
consulting for e-commerce and e-business solutions. He also has four years
experience in technical architecture and design. Steve holds a degree in
Computer Science from the University of Warwick, England. He has written
extensively on WebSphere Commerce and worked on several major WebSphere
Commerce customer engagements in the UK.
Khurram Wyne is an I/T Specialist with IBM Global Services Denmark. He has 4
years of experience in application development, systems integration and
consulting for J2EE solutions. He holds a Software Engineering degree from
Ballerup Technical University in Denmark. His areas of expertise include
application design and architecture, systems integration and WebSphere
Commerce solutions (including V5.1 and V5.4).
Nicolai Nielsen is an I/T Specialist with IBM Global Services Denmark. He has
nine years of experience in the field of consulting, application development and
systems integration. Nicolai holds a degree in Engineering from the Technical
University of Denmark. Over the last three years, he has worked on several
WebSphere Commerce B2C and B2B projects.
Sanjeev Sharma is a team lead of WebSphere Commerce Solutions in IBM
Canada’s software development lab in Toronto. He has 5 years of experience in
WebSphere Commerce and database administration fields. He holds a
Computer Engineering degree from McGill University in Canada. His areas of
expertise include solution design, installation, integration and testing. He has
written extensively on installation and integration test methodologies.
Sanjay Shah works for IBM Global Services and is an Advisory I/T Specialist for
the e-Commerce Solutions practice, which is responsible for defining,
xiv Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
Draft Document for Review July 28, 2004 7:33 pm6320pref.fm
architecting, developing and implementing Enterprise B2C and B2B
e-Commerce solutions. He has over five years experience in Product Integration,
Information Technology and e-business consulting. Sanjay is skilled in providing
infrastructure support, e-commerce solutions, application development and
formal document writing.
Drake Philbrook is the Vice President of WebSphere Commerce Practice for
Shared Vision Group. Shared Vision Group is an IBM ISSW Core Business
Partner working directly with the IBM Commerce Lab to deliver WebSphere
Commerce implementation and enablement. Drake is a Senior Web Architect
with over 20 years of software development and technical consulting experience
and a focus on Java-based enterprise solutions.
Thanks to the following people/cars for their contributions to this project:
David Yuan, IBM Canada
Michael Au, IBM Canada
Yanchun Zao, IBM Canada
Cherry Cheng, IBM Canada
Bing Jiang Sun, IBM China
Become a published author
Join us for a two- to six-week residency program! Help write an IBM Redbook
dealing with specific products or solutions, while getting hands-on experience
with leading-edge technologies. You'll team with IBM technical professionals,
Business Partners and/or customers.
Your efforts will help increase product acceptance and customer satisfaction. As
a bonus, you'll develop a network of contacts in IBM development labs, and
increase your productivity and marketability.
Find out more about the residency program, browse the residency index, and
apply online at:
ibm.com/redbooks/residencies.html
Comments welcome
Your comments are important to us!
We want our Redbooks to be as helpful as possible. Send us your comments
about this or other Redbooks in one of the following ways:
Preface xv
6320pref.fmDraft Document for Review July 28, 2004 7:33 pm
Use the online Contact us review redbook form found at:
ibm.com/redbooks
Send your comments in an Internet note to:
redbook@us.ibm.com
Mail your comments to:
IBM Corporation, International Technical Support Organization
Dept. HZ8 Building 662
P.O. Box 12195
Research Triangle Park, NC 27709-2195
xvi Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
Draft Document for Review July 28, 2004 7:33 pm6320p01.fm
Draft Document for Review July 28, 2004 7:33 pm6320ch_intro.fm
1
Chapter 1.Introduction
This book describes all the necessary steps needed to successfully migrate a
WebSphere Commerce Suite V5.1 application to WebSphere Commerce V5.6
on the Microsoft Windows 2000 platform. This book covers both production and
development environments.
6320ch_intro.fmDraft Document for Review July 28, 2004 7:33 pm
1.1 Overview
Migrating complex applications as WebSphere Commerce always demands a lot
of effort and preparation. In this book we used a WebSphere Commerce Suite
V5.1 customer application as the starting point, a sample site, for the
version-to-version migration scenario.
This book covers all the steps we followed to migrate that application as well as
the development environment from WebSphere Commerce Suite V5.1 to
WebSphere Commerce V5.6.
Some things were changed from the original customer scenario, some extra
customization has been done in order to make that application more generic and
to cover more topics during the migration process. The following chapters will
provide details about the application as it is today and how is was migrated.
For a real WebSphere Commerce Suite V5.1 customer environment we choose
Carrot Bunch Companies, Inc. We will refer to this customer from now on as
Carrot Ink. This customer is already a success story implementing WebSphere
Commerce Suite V5.1 in 2002, the following URL provides the details of this
implementation.
Changes done from the original customer environment (just for the purposes of
this book) and the differences from the default (out-of-the-box) implementation in
terms of WebSphere Commerce customization, Catalog, Database and
shopping flow are described in detail in Chapter 4, “Commerce Application used
during the migration” on page 55.
1.2 Structure of the book
This book is organized in parts and it is designed to easily identify the general
concepts for the migration planning, then proceed with the actual migration
procedures for both production and development environments.
Part 1, “Introduction to WebSphere Commerce V5.6”
Part 1 of the book describes how the book is laid out, what is new in WebSphere
Commerce V5.6, strategy and planning as well as a description of the customer
application we migrated. This part of the book is organized as follows:
Part 4 of the book provides additional information on managing the different
components of the WebSphere Commerce environment and detailed information
about the scripts behaviors. This part of the book is organized as follows:
Appendix A, “Managing WebSphere Commerce components”
Appendix B, “Backup WebSphere Commerce Suite V5.1”
Appendix C, “Migration scripts”
Appendix D, “Moving from single to multi-node environment”
Appendix E, “Additional material”
Chapter 1. Introduction 5
6320ch_intro.fmDraft Document for Review July 28, 2004 7:33 pm
Draft Document for Review July 28, 2004 7:33 pm6320ch_sum_of_changes.fm
2
Chapter 2.WebSphere Commerce V5.6
Overview
This chapter provides an overview of WebSphere Commerce V5.6. Sections
include an overview of the product, tools used to manage a site or store, and a
description of the business and data models.
The chapter is organized into the following sections:
Product overview
WebSphere Commerce software components
WebSphere Commerce Server subsystems
WebSphere Commerce Tools
WebSphere Commerce Business models
What’s new in WebSphere Commerce V5.6
6320ch_sum_of_changes.fmDraft Document for Review July 28, 2004 7:33 pm
2.1 Product overview
WebSphere Commerce V5.6 provides you with all the functionality that is needed
to have a fully functional e-commerce site. It runs on industry leading products
like DB2 and WebSphere Application Server. It is designed for security,
scalability and performance that any e-commerce site demands. It comes
pre-packaged with all the software required to have a fully functional
e-commerce site.
In this section we introduce the key components of the WebSphere Commerce
runtime architecture. We have categorized the components for the WebSphere
Commerce Server as follows (see Figure 2-1 on page 10):
WebSphere Commerce software components
We have listed the primary software components for WebSphere Commerce.
There are many additional software components included in the IBM
WebSphere Commerce V5.6 product packaging that have not been listed
here but that can be integrated with WebSphere Commerce.
–Web server
– WebSphere Application Server
– Database Server
– WebSphere Commerce Server
– WebSphere Commerce Payments Server
– Enablement software
WebSphere Commerce Server subsystems
The subsystems run within the WebSphere Commerce enterprise application
on the WebSphere Commerce Server, and provide the infrastructure to
support the features used by the administration tooling and stores.
6320ch_sum_of_changes.fmDraft Document for Review July 28, 2004 7:33 pm
Web Browser
Administration Tools
WC Payments
Administration
Console
Administration
Console
Commerce
Accelerator
Organization
Administration
Console
Development Tools
WebSphere
Commerce
Developer
Configuration Tools
Configuration
Manager
(client)
Web Server + WebSphere plug-in
WebSphere Commerce node
WebSphere Application Server
WebSphere Commerce Payments Server
WebSphere Commerce Server
Administration tools
Administration
Console
Business Interaction Engine
PoliciesEntitlementStores
Personalization
Subsystems
Member
Subsystem
Marketing
Subsystem
Inventory
Subsystem
Configuration
Manager Server
Commerce
Accelerator
Common Server Runtime
Trading
Subsystem
Merchandizing
Subsystem
WebSphere
Commerce
<instance>.xml
Organization
Administration
Console
Globalization
Catalog
Subsystem
Subsystem
Messaging
Subsystem
H
M
T
Q
T
P
Order
I
C
S
Database ServerDatabase Server
WebSphere
Commerce
instance
database
WebSphere
Commerce
Payments
database
e
F
-
i
l
m
e
a
i
l
Transport adapters
Figure 2-1 WebSphere Commerce Server runtime components
2.2 WebSphere Commerce software components
There are many software components included with IBM WebSphere Commerce
V5.6. In this section, we will limit our discussion to the following software
components of the WebSphere Commerce runtime architecture:
Draft Document for Review July 28, 2004 7:33 pm6320ch_sum_of_changes.fm
Web server
WebSphere Application Server
Database Server
WebSphere Commerce Server
WebSphere Commerce Payments Server
Note: The WebSphere Commerce node architecture depicted in Figure 2-1 on
page 10 shows a single-node configuration. The software components listed
in this section can be distributed on separate nodes for scalability and security
reasons.
2.2.1 Web server
The Web server can be installed on the WebSphere Commerce node or a
remote node, which can be optionally clustered for load balancing using the
WebSphere Application Server V5, Network Deployment Edition Edge
components. Regardless of whether the Web server is local or remote, it must be
configured to use the WebSphere Application Server plug-in. There are several
supported Web server plug-ins. The IBM HTTP Server and plug-in are found on
the WebSphere Application Server CD included with WebSphere Commerce.
The majority of the WebSphere Commerce tooling and store application assets
are J2EE components (JSPs, servlets, EJBs, etc.) that run on the application
server located on the WebSphere Commerce node. There are some static HTML
pages and images found in the WebSphere Commerce tools and stores that can
be served by the Web server.
Incoming HTTP requests from Web browser clients are received by the Web
server and WebSphere plug-in. The WebSphere plug-in, via the use of the
plugin-cfg.xml file, redirects requests to applications on the WebSphere
Application Server on the WebSphere Commerce node.
2.2.2 WebSphere Application Server
The WebSphere Commerce Server leverages the J2EE technologies provided
by the WebSphere Application Server such as JSPs, servlets (WebSphere
Commerce commands), EJBs, XML, Web Services, security, MQ embedded
messaging, etc.
IBM WebSphere Commerce V5.6 includes the IBM WebSphere Application
Server V5 base edition and Network Deployment Edition. The base edition is
suitable for single-node and multi-node runtime configurations. When multiple
WebSphere Application Servers are needed for scalability, such as horizontal
application clustering, then the Network Deployment Edition is needed.
Chapter 2. WebSphere Commerce V5.6 Overview 11
6320ch_sum_of_changes.fmDraft Document for Review July 28, 2004 7:33 pm
WebSphere Application Server now uses a web based interface which can be
accessed at http://<hostname>:9090/admin by default. You must have
application server named “server1” running to access this interface.
You will also notice that WebSphere Application Server no longer requires a
database or a web server to be installed.
2.2.3 Database Server
DB2 Universal Database V8.1.5 is included with WebSphere Commerce V5.6. In
addition, Oracle9i (9.2.0.1) Enterprise Server and Standard Edition are
supported (not included). The Database Server is used for the WebSphere
Commerce instance database and the WebSphere Commerce Payments
database.
The WebSphere Commerce instance database is used for store configuration
data such as taxes, shipping, customer profile information, and the product
catalog.
The WebSphere Commerce Payments database is used for payment
configuration, such as accounts, payment types, cassettes and payment
transaction data.
The database server software can be installed on the same node as WebSphere
Commerce or on a remote Database Server node.
2.2.4 WebSphere Commerce Server
The WebSphere Commerce Server is a WebSphere enterprise application,
which runs on its own application server within the WebSphere Application
Server. The WebSphere Commerce application software is installed via the
WebSphere Commerce Installer.
After installation, WebSphere Commerce must be configured using the
Configuration Manager. The Configuration Manager is used to create the
WebSphere Commerce instance. During instance creation, an application server
for the WebSphere Commerce Server and the enterprise application is deployed.
For most runtime topologies, the configuration of the WebSphere Application
Server is performed for the user via the WebSphere Commerce Configuration
Manager. When adding a remote Web server, remote WebSphere Commerce
Payments node, and clustering using the WebSphere Application Server
Network Deployment Edition, some manual configuration is needed.