Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: try to fix non-working links to sections in HTML

...

  1. Right Click on the geronimo server instance and Select Start.





  2. Server will be started and you can see the status changed to Started.





  3. To stop the server Right Click on the server instance and Select Stop.





    Deploy

    /

    , Run

    /

    , Undeploy

    /

    and Redeploy an Application

    To illustrate these functionalities we will add a simple web project and later work with it to deploy/run/undeploy/redploy application.
  4. Right Click under Project Explorer and Select New->Dynamic Web Project.





  5. Name the project as Hello World. Select Next.





  6. Keep the defaults on the next window. Select Next.





  7. On the Geronimo Deployment Plan window name the Artifact Id as Hello. Select Finish. This will add a web project.





  8. Expand the project and Right Click on Web Content. Select New->JSP. Name the jsp as index.jsp and Select Next.





  9. On the next window select Finish.





  10. In index.jsp add the title as Hello World and in the body add This is my first application on G/GEP. Save the changes.





  11. Now you are all set to run your first application on Geronimo. Right Click on your project and select Run->Run on Server.





  12. On the next screen select Apache Geronimo and Select Next.





  13. You can see Hello World as one of the configured projects. Select Finish. This will DEPLOY your application on Geronimo server.





  14. Launch a web browser as shown in the figure.





  15. Run the url http://localhost:8080/Hello World. This sill RUN your application.



  16. Next modify index.jsp and append Hello World! in the body.





  17. Once you save the changes you can see Geronimo server state changing to Republish. It may take a moment till your application is REDEPLOYED.





  18. Refresh the browser to verify if the changes you made are reflected.





  19. To UNDEPLOY the application from server. Right Click on geronimo server instance and select Add and Remove Projects.





  20. On the next screen select Hello World project and select Finish. This will UNDEPLOY the project from geronimo.





...