In A Web Browser, Go To The Apache Tomcat Web Page:: Important Note
In A Web Browser, Go To The Apache Tomcat Web Page:: Important Note
In A Web Browser, Go To The Apache Tomcat Web Page:: Important Note
IMPORTANT NOTE
As of this writing the default project you will download, import and use in this class is not enabled for
Tomcat. If you truly need to use Tomcat for this course – please contact your IBM representative,
and they will see if there is a Tomcat-specific project you can obtain.
That said – in general, you may wish to install and configure Tomcat as your application
server, in order to run (test) your development work using RBDe. You actually have your
choice of a number of application servers to run with, including: WebSphere Application
Server, Tomcat, BEA’s WebLogic, etc.
Someone may already have installed and configured the Tomcat application server for you.
If this is the case, or if you’re going to use WebSphere Application Server (WAS) you should
skip ahead to the next step in this process. If not, we recommend you use Tomcat. Please
follow the steps below to install and configure.
2
Installing and configuring Tomcat
In the workbench, click Window → Preferences. The Preferences window opens.
At the left side of the Preferences window, expand Server.
Under Server, click Installed Runtimes. The right side of the Preferences window now
shows a list of all of the server runtimes installed in the workbench.
Click Add. The New Server Runtime window opens.
In the New Server Runtime window, expand Apache.
Under Apache, click Tomcat v5.5. 13. Click Next. 14. Under Tomcat installation
directory, click Browse.
Locate the folder that contains the Tomcat installation files and then click OK.
Click Finish. Tomcat is added to the list of installed runtimes. The Preferences
window looks like this
Click OK.
3
Import the Tutorial Project
From the RBDe Workbench
Open the File menu, and select Import…
Expand the Other folder (at the bottom of the list) and select:
Project Interchange
Click Next – this opens the Import Project window
4
Configure Preferences – 1 of 2
You will need to configure your
preferences, in order to complete
the labs in this course.
5
Configure Preferences – 2
of 2
Still from within the
Preferences Window
Click Validation
Click Disable All
Click OK
6
Clean the Tutorial Project and Run an Installation Verification Page
From the RBDe Workbench
Open the Project menu, select Clean…
At the Clean window, press OK
To run the installation verification page (from the
Project Explorer):
Expand the EGLWeb folder
Expand the WebContent folder
Right-click over allcustomers.jsp
Select Run As
– Run on Server…
You will be prompted to choose a Server
– (see the next slide)
7
Installing and configuring Tomcat
When prompted to Define a New
Server
Click Finish!
8
Your First Page
You should see something that looks
like this!