...
- Launch Eclipse by running <eclipse_home>/eclipse.
- Launch the Define a New Server dialog using one of the following:
- From the Servers view in the Java EE Perspective: Right-click, -> New, -> Server.
- From any Perspective: Select File, -> New, -> Other, -> Server
- Click on the Download additional server adapters link.
- In the Install New Server Adapter dialog, select Geronimo v2.1 Server Adapter and click Next.
- Read and accept any License Agreements and click Finish. Click OK to continue installation.
...
- Launch Eclipse by running <eclipse_home>/eclipse.
- Open the Eclipse Update Manager as follows:
- Select Help, -> Software Updates, -> Find and Install.
- Select Search for new features to install and click Next.
- Create a Eclipse Remote Update Site as follows:
- Click the New Remote Site... button.
- Type Geronimo Eclipse Update Site (or other suitable unique name) in the Name field.
- Type the URL of the Geronimo Eclipse Update site http://www.apache.org/dist/geronimo/eclipse/updates/ in the URL field.
- Click OK.
- Select only the Geronimo Eclipse Update Site in the Sites to include in search selection box and click Finish.
- Select a mirror and click OK if prompted to do so.
...
In order to define a new Geronimo Server v2.1 Runtime, follow the steps below:
- Click Window, -> Preferences, -> Server, -> Installed Runtimes.
- Click Add to launch New Server Runtime dialog.
- Select Apache Geronimo v2.1 Runtime, uncheck Also create new local server (we will discuss about the use of this option later) and click Next.
- Select Workbench default JRE (click Installed JREs to add any new JREs and return to this dialog once done), enter the directory name or browse to <geronimo_home> and click Next. (Note: Download options part of this dialog does not work currently.)
- Select the location of the archive containing Geronimo source. This is required only if you intend to debug into Geronimo source code.
- Click Finish to return to Installed Server Runtime Environments dialog.
...
- Launch the Define a New Server dialog using one of the following:
- From the Servers view in the Java EE Perspective: Right-click, -> New, -> Server.
- From any Perspective: Select File, -> New, -> Other, -> Server.
- Select Apache Geronimo v2.1 Server, select an Apache Geronimo v2.1 Runtime from the Server runtime dropdown and click Next.
Note Additional Geronimo Server Runtimes can be installed by clicking on Installed Runtimes button and return to this step once done to select the newly added server runtime.
- Modify Hostname, Administrator Id, Administrator password, Web Connector port and RMI Naming port if necessary and click Finish. Normally you will not need to change the default values for these fields for a newly installed Geronimo 2.1 server.
...
- Right-click on the project and select click Run As, -> Run on Server.
- Click Choose and existing server, select Apache Geronimo v2.1 Server at localhost and click Finish.
...