Installation Guide: IBM Web Experience Factory
Installation Guide: IBM Web Experience Factory
Installation Guide
Version 8 Release 5
IBM Web Experience Factory
Installation Guide
Version 8 Release 5
Note
Before using this information and the product it supports, read the information in “Notices” on page 17.
Notice
This edition applies to version 8.5 of IBM(r) Web Experience Factory (product number 5724-O03) and to all
subsequent releases and modifications until otherwise indicated in new editions.
© Copyright IBM Corporation 2014, .
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Web Experience Factory Product Installation Guide
Use this guide to install IBM® Web Experience Factory Version 8.5.
For more information about installing Eclipse, see Manually installing Eclipse.
For more information about supported versions, see the System Requirements.
Note: To install Web Experience Factory into a Rational IDE on a system using a
language other than English, you must first edit the file installer.properties and
modify the path specified on the line which starts with PRODUCTREG_PATH= to
accurately specify the path on your system.
If you want to use the same directory for the new installation, follow these steps.
1. Consider a backup of your existing installation.
2. Back up any private files, such as SAP libraries.
3. Remove the old version using the process detailed in Section 4.
4. Install the new version using the process detailed in Section 2.
5. Move any backed up private files into the correct directory in the new
installation.
Then, you can follow the steps described in “Step 2 - Run the tutorial: creating a
Web application project” on page 11 to begin exploring the product.
Note: If you select this option and select a directory that contains an
existing installation of Eclipse, a warning message displays. Choose a
different directory to continue the installation.
v Install into existing IBM Rational Application Developer*
Select this option if you want to use a Rational Development Environment
you have already installed. This includes Rational Application Developer,
Rational Software Architect, and Rational Web Developer. The installation
program adds to the current version of your Rational Development
Environment menu items specific to Web Experience Factory.
v Install into existing Eclipse
Select this option to use a version of the Eclipse-based IDE that is already
installed. The installation program adds to the current version of your
Eclipse IDE menu items specific to Web Experience Factory Designer.
8. In the Specify IDE screen, specify the IDE location and click Next.
If you need to browse for the location, click Choose.
9. In the Test Server Install Option screen, click Install the Liberty Profile as a
development test server and choose the install location if you want to install
WebSphere Application Server Liberty Profile.
A 32-bit version of Eclipse for Linux is packaged with Web Experience Factory. See
Manually Installing Eclipse for more information.
If the directories are not writable by group, then run the following
commands.
chmod -R g+w WP_INSTALL_DIR/AppServer/
chmod -R g+w WP_INSTALL_DIR/PortalServer/
This allows write access to the those folders after the WAR files are
deployed.
f. Restart WebSphere Portal server.
2. Launch the installer.
./Factory.bin
The installer checks for space and other prerequisites and displays the first
panel.
3. When prompted, select your preferred language for using the product. Then
click OK
An introduction page displays with copyright and other information.
4. Click Next to proceed with installation.
5. Read the license agreement and select I accept the terms of the License
Agreement to proceed with installation, then click Next.
Note: If you do not accept the license terms, you are prompted to quit the
installation.
6. In the Choose Install Folder screen, specify the location to install Web
Experience Factory files and click Next.
7. Specify the location where Eclipse with Web Tools is installed and click Next.
If you are using Rational Application Developer, choose the default and click
Next.
8. In the Choose Liberty screen, specify if you want the liberty server to be
installed and click Next.
9. In the IBM Support Assistant Install Option, specify if you want the support
assistant to be installed and click Next.
10. Review the Pre-Installation Summary screen, and, if all information is correct,
click Install.
An Install progress screen is displayed and, once installation is complete, the
Install Complete screen is displayed.
11. Click Done to close the Factory installer.
A browser opens and displays a Welcome page containing information about
Next Steps. Upon successful installation, an install log is created in the install
location (for example, /root/IBM/).
If the directories are not writable by group, then run the following
commands.
chmod -R g+w WP_INSTALL_DIR/AppServer/
chmod -R g+w WP_INSTALL_DIR/PortalServer/
This allows write access to the those folders after the WAR files are
deployed.
f. Restart WebSphere Portal server.
2. Install Web Experience Factory with the user account of the Web Experience
Factory user.
The Eclipse installation location should be a directory that the user account has
write access to. You may need to choose a location other than the Rational
Application Developer installation location. There does not need to be an
existing Eclipse in this location.
3. If you chose to install Eclipse into the Rational Application Developer install
location in the previous step, skip this step.
Do one of the following steps.
v Using an account with write privileges to the Rational Application Developer
install location, copy the links directory created by the installer to the correct
directory in the Rational Application Developer install location.
The links folder should be located just within the Rational Application
Developer installation directory.
v You can also copy the Web Experience Factory link file directly to a
previously created links directory within Rational Application Developer.
4. Start Rational Application Developer with the -clean flag as root (or the
Rational Application Developer owner) and verify Web Experience Factory is
installed.
Use Help > About to verify that the Web Experience Factory button displays.
You can manually install Eclipse on platforms other than Windows and Linux,
such as 64-bit Mac OS X, by using components provided in the Web Experience
Factory install image and components obtained from IBM or eclipse.org.
The config directory of the Web Experience Factory installation image contains the
following files:
eclipse.zip
Contains Windows 32-bit Eclipse SDK
eclipse_linux.tgz
Contains Linux 32-bit Eclipse SDK
eclipse_plugins.zip
Contains additional Eclipse plugins as required by Web Experience Factory
(Graphical Editing Framework (GEF), Web Tools, Data Tools, Eclipse
Modeling Framework (EMF), XML Schema Definition (XSD))
jre.zip
Contains Windows 32-bit Java™ JRE
jre_linux.tgz
Contains Linux 32-bit Java JRE
To install the 32-bit Eclipse version, make a new target directory and expand the
archives appropriate for your operating system into the new target directory:
v On Windows, expand eclipse.zip, eclipse_plugins.zip and jre.zip into the
new Eclipse target directory, for example, C:\IBM\WEF\Eclipse.
v On Linux, expand eclipse_linux.tgz, eclipse_plugins.zip and jre_linux.tgz
into the new Eclipse target directory. For example, run the following commands
to install a copy of 32-bit Eclipse for Linux:
mkdir ~/WEF
mkdir ~/WEF/eclipse
cd ~/WEF/eclipse
tar -xvf <path to config>/eclipse_linux.tgz
unzip <path to config>/eclipse.plugins.zip
tar -xvf <path to config>/jre_linux.tgz
v You can install Eclipse for other platforms by using the components provided in
the Web Experience Factory install image with components obtained from IBM
or eclipse.org:
1. Obtain a Java 1.6 JRE for your platform. For example, download the IBM
64-bit JRE for Linux from http://www.ibm.com/developerworks/java/jdk/
linux/download.html#java6.
2. Obtain a copy of the base Eclipse SDK for your platform. For example,
download the 64-bit Eclipse SDK from http://www.eclipse.org/downloads/
packages/eclipse-classic-422/junosr2.
Note: If you do not accept the license terms, you are prompted to quit the
installation.
6. In the Choose Install Folder screen, specify the location to install Web
Experience Factory files and click Next.
7. Specify the location where Eclipse with Web Tools is installed and click Next.
8. In the Choose Liberty screen, specify if you want the liberty server to be
installed and click Next.
9. In the IBM Support Assistant Install Option, specify if you want the support
assistant to be installed and click Next.
10. Review the Pre-Installation Summary screen, and, if all information is correct,
click Install.
An Install progress screen is displayed and, once installation is complete, the
Install Complete screen is displayed.
11. Click Done to close the Factory installer.
A browser opens and displays a Welcome page containing information about
Next Steps. Upon successful installation, an install log is created in the install
location (for example, /root/IBM/).
The publish action in the Web Experience Factory Designer must establish a secure
connection to the WebSphere Application Server to install the application. When
running the Designer under a non-IBM JRE (as is required on Mac OS X), the IBM
WebSphere SSL stack is not available. This prevents the Designer from
automatically accepting the SSL certificates presented by the WebSphere
Application Server during the publish process. In order to successfully publish to a
WebSphere Application Server, the SSL certificate used by the server must be
manually added to the trust store used by the JRE. The following steps describe
this process.
12. Determine the JRE that Eclipse is using:
a. In Eclipse, select Eclipse > About Eclipse.
b. On the About dialog, click Installation Details.
c. Switch to the Configuration tab.
d. Locate the java.home property, for example, /System/Library/Java/
JavaVirtualMachines/1.6.0_jdk/Contents/Home.
13. Obtain the SSL certificate used by the target application server.
a. Open a web browser and connect to the HTTPS port of the target
application server. For example, connect to https://localhost:10029/wps/
portal.
b. Using Firefox:
1) Open Firefox and connect to the HTTPS port of the target application
server. For example, connect to https://host.ibm.com:10029/wps/
portal.
2) The browser should prompt you to accept the certificate used by the
server. Expand the I Understand the Risks section and click Add
Exception....
3) On the dialog panel, click View... to view the certificate.
4) Activate the Details tab.
5) Click Export....
6) Save the certificate to a folder.
c. Using Safari:
1) Open Safari and connect to the HTTPS port of the target application
server. For example, connect to https://host.ibm.com:10029/wps/
portal.
2) The browser should open a dialog that prompts you to accept the
certificate used by the server. Click Show Certificate.
3) Drag the certificate icon located next to the certificate information to
the Desktop or another folder. This creates a .cer file.
14. Import the SSL certificate into the JRE trust store.
a. Open a Terminal window.
b. Navigate to the JRE home directory as determined in step 12. Then change
to the lib/security subdirectory. For example: cd /System/Library/Java/
JavaVirtualMachines/1.6.0_jdk/Contents/Home/lib/security.
The property files contain default responses to the installation program. For
information on generating your own response file for a silent installation, see
“Optional: Creating an installation response file” on page 11.
1. Edit the desired pre-configured property file to match your installation
environment.
v Set the license agreement property.
Note: For silent installation to work correctly, the license agreement property
must be set to true to indicate acceptance of the license agreement.
# License agreement. Please see documentation for more info.
LICENSE_ACCEPTED=true
Specify the path to the existing IDE. For example, on Windows systems, set
the path using the following format.
USER_MAGIC_FOLDER_1=C:\\Program Files\\IBM\\SDP
These values are not automatically set even if you specify that you are
installing into a supported version of an IDE.
2. Indicate the location of the response file in the installation command.
On Windows systems, open a command line and enter the following command.
c:\Factory.exe -f c:.\config\win_silent_install.properties
On Linux systems, enter the following command.
sh ./Factory.bin -f ./config/linux_silent_install.properties
This path can be absolute or relative to the location of the installer.
3. Run the installation in silent mode.
v On Windows systems, open a command line and enter the following
command.
Factory.exe -i Silent -f config\win_silent_install.properties
10 IBM Web Experience Factory: Installation Guide
v On Linux systems, enter the following command.
./Factory.bin -i Silent -f config/linux_silent_install.properties
The installation program installs everything to the target location without showing
the user any output. You know that the installation is complete when the log file is
created in the root of the installation directory.
Follow the procedure in “Installing silently from the command line” on page 10 to
run a silent installation with your response file rather than the supplied property
file.
The Web Experience Factory Designer provides a New Project wizard to help you
create a project. This multiple page wizard walks you through the steps involved
in project creation and deployment and also builds the project for you. F1 Help
that describes project settings and parameters is available for each page of the
wizard. Refer to F1 Help to learn about the settings on a given page and to access
links to additional information.
The best way to create your first project is to run the tutorial that describes this
process. If you are using a Windows client, this tutorial is available from the
Welcome page, or from Start. Click Start > Programs > IBM > Web Experience
Factory > Tutorials. If you are using a Linux client, this tutorial is available from
the Web Experience Factory Help system.
To use Eclipse in a language other than English, you must download a language
pack from the Eclipse web site, and install that pack into your Eclipse IDE.
1. In Web Experience Factory Designer, click Help > Install New Software.
2. In the Install dialog, click Add.
3. In the Add Site dialog, in Name, enter text to describe your package (for
example, Language FR) and, in Location, enter the following URL.
http://download.eclipse.org/technology/babel/update-site/R0.8.1/helios
4. Click OK to have the list of available languages made available.
This operation can take several minutes.
5. In the list of available languages, expand the language that you want and, from
the list of available language packs, select the following item.
Babel language pack for eclipse language (%)
Note: Multiple-byte characters are not supported for project names or the
names of folders in the path.
9. Optional: You can force Web Experience Factory Designer to run in any Group
1 language by adding a language identifier to the Eclipse startup command.
For example, if you add the following identifiers to the startup command, you
can run Web Experience Factory Designer in Spanish, regardless of the
language the system is configured to use.
-Duser.language=es -Duser.country=ES
You must modify any projects that you created using the old plug-in files so that
these projects can include changes related to the new plug-in files and feature sets.
1. Open an existing project into Web Experience Factory Designer.
2. Right-click the project entry in the Project Explorer and click Web Experience
Factory Project > Upgrade Project Version.
3. A summary information displays. Click Next.
4. Update the deployment information for this project if necessary. Check the
deployment configuration and click Finish in the upgrade wizard.
5. Before the upgrade process completes, you may be prompted to overwrite any
Web Experience Factory files in the project that have changed, including files
that were changed by Web Experience Factory functionality, not necessarily files
that you have changed manually.
6. You will need to redeploy the project to the servers. Click Yes when prompted
to redeploy.
7. Right-click the project in the workspace.
8. Click Properties > Web Experience Factory Properties > Feature Info.
9. Set Refresh installed Feature Sets and then click OK.
If you have added any jar files to /WEB-INF/work/lib, you will need to manually
add them to the build path after a project upgrade.
You can easily upgrade portlets built using the deprecated WebSphere Native
Portlet API to the Java Portlet Standard API. To do so, you must modify the project
that contains the portlet models.
Note: If you have already upgraded the project, you can switch to Java Portlet
Standard API by switching the project to a Java Portlet Standard API. Change the
server configuration by uninstalling the old WAR as described in the following
steps and update the project to use the Java Portlet Standard API server
configuration. Publish the project when prompted.
These steps are required to capture new event metadata that did not exist in prior
releases of Web Experience Factory.
1. For each model in your project that contains the Cooperative Portlet Source
builder or the Cooperative Portlet Target builder, open the model.
2. Force a regeneration.
For example, click Model > Generate Model or open any builder and click OK.
3. Save the model and publish or export the project again.
The usage of applications and portlet WAR files created with the IBM Web
Experience Factory can be monitored and tracked by Tivoli License Manager. To
enable this capability, you must place at the root level of an application or portlet
EAR file certain files that are generated by the Web Experience Factory and
recognizable by Tivoli License Manager.
To enable Tivoli License Manager usage tracking, perform the following operation:
Drag the WEB-INF\bin\itlm\ directory and its contents to the root of the deployed
EAR file.
Note: Ensure that the WEB-INF\bin\itlm\ directory is in one location only. You see
a dual usage error if multiple copies of this directory exist in an EAR file.
Note: Tivoli License Manager provides only inventory tracking if you do not move
the WEB-INF\bin\itlm\ directory to the root of the EAR file.
For more information about using Tivoli License Manager, see your IBM
WebSphere Portal documentation.
You need to have Java Access Bridge for Microsoft Windows Operating System
software installed on your system. Java Access Bridge for Microsoft Windows
Operating System is provided by Oracle, Copyright (c) 2006 Oracle and/or its
affiliates.
Use the following command to start the Web Experience Factory installation:
This command forces the installation to use the JVM that you specified and that
works with the Java Access Bridge.
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 grant you
any license to these patents. You can send license inquiries, in writing, to:
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
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.
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.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
Office 4360
One Rogers Street
Cambridge, MA 02142
U.S.A.
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
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:
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at “Copyright and
trademark information” at www.ibm.com/legal/copytrade.shtml.
Notices 19
20 IBM Web Experience Factory: Installation Guide
Printed in USA