Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Creating and using a custom server assembly

In this section we discuss how to use the Geronimo Eclipse Plugin to create and use a custom server assembly. Before you begin, you must have Eclipse and Geronimo Eclipse Plugin installed, and define a Geronimo server and server runtime in Eclipse.

Creating a custom server assembly

In order to create a custom server assembly, you must already have a Geronimo Server installed and started.

  1. Double-clicking the Geronimo server will bring up the

...

  1. server editor in the main window.

...

  1. Selecting Plugin page and clicking Create Custom Assembly

...

  1. will bring up the New Server Custom Assembly dialog that is shown below.

...

  1. Select relevant plugins or plugins group to be extracted from the server. Items for working with the server can be found on the Plugins Group page.
  2. Enter in the pertinent information and select all the

...

  1. items that you desire to have in the new server. Press Ctrl key to select multiple items in the list. Note that Geronimo Assembly :: Boilerplate or Geronimo Plugin Group :: Framework MUST be selected in order to create a working server.

    Image Added

    The

...

  1. assembled server will be placed

...

  1. under the directory that you specified

...

  1. . A .tar ball or .zip file will also be placed

...

  1. under the <Geronimo_home>/var/temp directory of the running server for easy distribution.

Using

...

the server assembly

Now that we have created the custom a customized server assembly above, it is time to use it. Stop the original server and uninstall it (easiest done by using the Windows Preferences dialog via the Server Runtime Environments pageselecting Windows->Preferences->Server, and removing the server runtime environment. See Defining Geronimo server runtimes and servers page for the details). Use the same method approach that you used to install the original server with except for one small tiny difference. This time, point to the directory the location of *Application Server Installation Directory * should be the one where the newly created server iswas extracted to.
Image Removed
Image Added

In place of the a full stack of Geronimo server that you started with, you should now have a valid custom and customized Geronimo Server for development.