Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Launch Eclipse by running <eclipse_home>/eclipse.
  2. 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



  3. Click on the Download additional server adapters link.



  4. In the Install New Server Adapter dialog, select Geronimo v2.1 Server Adapter and click Next.
  5. Read and accept any License Agreements and click Finish. Click OK to continue installation.

...

  1. Launch Eclipse by running <eclipse_home>/eclipse.
  2. Open the Eclipse Update Manager as follows:
    • Select Help, -> Software Updates, -> Find and Install.
    • Select Search for new features to install and click Next.



  3. Create a Eclipse Remote Update Site as follows:
  4. Select only the Geronimo Eclipse Update Site in the Sites to include in search selection box and click Finish.
  5. 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:

  1. Click Window, -> Preferences, -> Server, -> Installed Runtimes.



  2. Click Add to launch New Server Runtime dialog.
  3. 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.



  4. 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.)



  5. Select the location of the archive containing Geronimo source. This is required only if you intend to debug into Geronimo source code.
  6. Click Finish to return to Installed Server Runtime Environments dialog.



...

  1. 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.



  2. 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.

  3. 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.



...

  1. Right-click on the project and select click Run As, -> Run on Server.
  2. Click Choose and existing server, select Apache Geronimo v2.1 Server at localhost and click Finish.

...