This article is about how to use the Geronimo Eclipse Plugin(GEP) to convert Applications into Geronimo plugins and install them back into the server.
We use Apache Geronimo v2.2 and an existing sample application throughout the tutorial. See Stateless Session Bean for development and deployment of the application.
In order to convert applications into Geronimo plugins, the Geronimo Server must be installed and started. Note that only a Geronimo configuration with file type .car can be exported from a server.
And you must have installed the sample application on the running server.
Once done, follow the steps below to export Geronimo plugins using GEP.
geronimo-plugin.xml
file before saving. All the fields on the next two pages are data that will be saved with the plugin and will help with installation.
geronimo/jetty/1.0/car
) or something like a database pool or security realm that the user must install because the plugin author can't create a value that will be valid in the destination server. You may want to leave out as many segments of the module ID as possible in order to accommodate more users. For example, use /mypool//*
rather than myapp/mypool/1.2/car
.
geronimo-plugin.xml
file. The wizard goes back to the first page for user to export another plugin.
The above process creates a maven-like repository with the name specified in Local Plugin Repository field at the first page of the wizard. A geronimo-plugin.xml
file is created for each plugin under its /META-INF
directory. The top directory of the repository includes a geronimo-plugins.xml
file which keeps track of all the plugins that have been created. The values in these files came from fields in the last two pages of the wizard.
If you intend to install plugins into the same server that is used to export the plugins, you have to remove the projects and relevant resources from the server firstly.
To install the plugins back into a Geronimo server, follow the steps below:
false
, the plugin cannot be selected. The most common reason that a plugin cannot be installed is that the version of this plugin is already installed on the server or its prerequisites are not met.
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2013, The Apache Software Foundation, Licensed under ASL 2.0. |