...
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.
Table of Contents |
---|
Creating Geronimo plugins
...
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.
...
...
Installing Geronimo Plugins
...
- To remove the projects, use Add and Remove item on the right-click list of the server in Eclipse;
- To remove the resources, the database pool in this tutorial, you can use undeploy command as followed;
bgColorNo Format
#000000borderStyle solid./deploy.sh --user system --password manager undeploy console.dbpool/jdbc_userds/1.0/car Using GERONIMO_HOME: /home/jeffchi/Geronimo/g2.2-tomcat6 Using GERONIMO_TMPDIR: var/temp Using JRE_HOME: /opt/ibm/java-i386-60/jre Module console.dbpool/jdbc_userds/1.0/car unloaded. Module console.dbpool/jdbc_userds/1.0/car uninstalled. Undeployed console.dbpool/jdbc_userds/1.0/car
Installing the plugins
To install the plugins back into a Geronimo server, follow the steps below:
...