Scenario: Remote debug development environment for WebSphere Portal on Linux
This scenario sets up the "WebSphere Portal Server Attach"
configuration. WebSphere Studio V5.1.2 and Portal Toolkit V5.0.2.3 will be
installed on the development machine. WebSphere Portal will be installed
on a separate remote machine.
WebSphere Studio V5.1.2 is as follows:
- WebSphere Studio Site Developer (WSSD) V5.1.2
- WebSphere Studio Application Developer Integration Edition (WSAD IE) V5.1.1
- Creating the WebSphere Studio V5.1.2
Installation image
- Installing WebSphere Studio
- Creating the Portal Toolkit V5.0.2.3
Installable image
- Installing Portal Toolkit V5.0.2.3
- Set up the portal server on a remote
machine
- Verifying the installation
If you have the WebSphere Studio V5.1.2 CD or the
network installation image, you can skip this step.
The following step is only for WSSD V5.1.2. For WSED V5.1.2 and WSAD IE V5.1.1 users, please refer to their installation guides.
Prerequisites:
- Your environment variable TEMP or TMP must point to a valid
temporary directory with at least 167 MB free. This is in addition to
the space required to install the product.
- You must have approximately 4 GB of disk space to store the full
set of downloadable images plus another 4 GB of disk space to unpack
the images.
To download and create the installation image:
- Download the following 2 parts at a minimum. The rest are optional.
- Part 1 (C57I0ML.bin, wsextract.bin) - Contains core installation files.
- Part 2 (C57I1ML.bin, Required.bin) - Contains core installation files.
- Launch the wsextract.bin file that is located in this temporary
directory. This starts the wizard that creates the installation image.
- Follow the instructions in the wizard to specify where you want to
create the image.
- Select the following feature at a minimum.
- After the image is created, deselect Start the installation
wizard now before you click Finish.
Return to top
Install either of the following:
- WebSphere Studio Site Developer V5.1.2
- WebSphere Studio Application Developer Integration Edition V5.1.1
Installation steps
- Log in as root user.
- Run launchpad.bin of WebSphere Studio
- Click "Install IBM WebSphere Studio".
- Change the default Directory Name. Please note the
following:
- Do not use double-byte characters or special characters
such as periods (".") or dollar signs ("$").
- Ensure the required features are checked.
- You can deselect the WebSphere Application Server 5.1
checkbox under Integrated Test Environments.
- Verify that the installation was completed successfully by
starting the application.
- If you want to use the double-byte character set on Red
Hat 8.0, you will need to upgrade GTK 2.0 to GTK 2.2.2 or later.
However, support for Korean, Simplified Chinese, Japanese, and
Traditional Chinese languages is not fully functional. To avoid these
limitations, use the product in English. To upgrade GTK,
refer to "(Optional) Upgrading to GTK 2.2.2 or later" in the
Installation Guide of WebSphere Studio Version 5.1.2.
- Log out and log in as a user that is used for the
development.
- In a command prompt, type the following command:
/usr/bin/wssitedev51 or /usr/bin/wsappdevie51
Return to top
Prerequisites:
- Your environment variable TEMP or TMP must point to a valid
temporary directory with at least 130 MB free. This is in addition to
the space required to install the product.
- You must have approximately 300MB of disk space to store the full
set of downloadable images and to unpack the images.
To create the installable image:
- Log in as root user.
- Download Portal Toolkit V5.0.2.3: ptk5023Linux.bin
and RequiredLinux.bin from the Portal
Toolkit web site.
- Launch the ptk5023Linux.bin file. This starts the wizard that
creates the installation image.
- Specify where you want to create the image.
Important: Do not use special characters.
- Leave the Core installation files feature checkbox selected.
- After the image is created, click Finish.
Return to top
Carry out the following steps:
- Make sure WebSphere Studio is not
running.
- Log in as root user.
- Stop the HTTP server if it has been started.
- Run the installation
program by launching ptkimg/PortalToolkit5023/setup.bin,
where ptkimg is the directory that you have created the
installation image.
- Click Next on the welcome panel, read and accept the license
agreement, and click Next.
- You do not need to select the WebSphere
Portal for Test Environment and click Next.
- Make sure the install location displayed is the installation
directory of WebSphere Studio.
- Click Next. Portal Toolkit will be installed.
- When the installation is completed, click Finish.
- Launch WebSphere Studio.
- If you want to use the double-byte character set on Red
Hat 8.0, you will need to upgrade GTK 2.0 to GTK 2.2.2 or later.
However, support for Korean, Simplified Chinese, Japanese, and
Traditional Chinese languages is not fully functional. To avoid these
limitations, use the product in English. To upgrade GTK,
refer to "(Optional) Upgrading to GTK 2.2.2 or later" in the
Installation Guide of WebSphere Studio Version 5.1.2.
- Log out and log in as a user that is used for the
development.
- In a command prompt, type the following command:
/usr/bin/wssitedev51 or /usr/bin/wsappdevie51
- You will see the Configuration Changes panel.
- Select the pending configuration change that is displayed.
- Click Finish.
- When the update is completed, you will be prompted to restart the
workbench. Click Yes to restart.
- Portal Toolkit installation is completed.
After you restart WebSphere Studio, you will be ready to start work
in the portlet development environment.
Return to top
Refer to the InfoCenter of WebSphere Portal on the WebSphere
Portal Product Documentation.
Return to top
The installation is completed. To verify the remote debug
configuration, carry out the following steps:
- In the remote server, start WebSphere Portal.
- In a browser, enter the address
"http://hostname.yourco.com/wps/portal" to ensure that the
server is running.
- Launch the Studio.
- If you want to use the double-byte character set on Red
Hat 8.0, you will need to upgrade GTK 2.0 to GTK 2.2.2 or later.
However, support for Korean, Simplified Chinese, Japanese, and
Traditional Chinese languages is not fully functional. To avoid these
limitations, use the product in English. To upgrade GTK,
refer to "(Optional) Upgrading to GTK 2.2.2 or later" in the
Installation Guide of WebSphere Studio Version 5.1.2.
- Log out and log in as a user that is used for the
development.
- In a command prompt, type the following command:
/usr/bin/wssitedev51 or /usr/bin/wsappdevie51
- From the menu, select File > New > Other >
Server > Server and Server Configuration. A wizard
starts.
- Enter the server name.
- In the Server type, expand the WebSphere Portal that you
will debug portlets on.
- Select Server Attach and click Next.
- Enter the fully-qualified host name or the IP address of the
remote server in the hostname.
- Click Finish.
- In the Servers view, right-click on the server and select Debug.
- Verify that the server starts successfully.
Return to top