The Geronimo Eclipse Plugin is a tool for deploying and testing applications to a Geronimo server. Define a new server and server runtime, before attempting to deploy your applications.
When you create or import your Java EE project in the Eclipse Integrated Development Environment (IDE), specify the Geronimo server runtime you defined previously as the target runtime. This action adds the server's class libraries to your project's build path.
If you deploy your assets using Eclipse, it is recommended that you also undeploy and redeploy your applications using Eclipse. For example, if you deploy your application in Eclipse and then undeploy the application using the administrative console or the deploy
command, Eclipse will not detect the change and the view will show that the asset is still deployed. If this happens to you, you can correct the view by removing the applications that have been published to the server but undeployed outside of the Eclipse framework.
Use this procedure to deploy applications to a local server.
Once an asset has been published to the server, you must use the tool's Add/Remove projects option if you want to remove it from the server. If you simply remove the asset without removing its project, the asset will remain deployed on the server.
You can use the same steps discussed above to deploy a Java EE asset to a remote server, but there are additional considerations.
RemoteDeployHostname
attribute in <geronimo_home>\var\config\config-substitutions.properties
, and change the value to the name or IP address of the target server's host.Before debugging the remote application on a running server, you have to start the server under jpda debugger using geronimo.sh/bat:
or
Use this procedure to attach a remote application (a WAR file in this example) to an already running server started in debug mode.
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2011, The Apache Software Foundation, Licensed under ASL 2.0. |