Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4794

Difference in application start/stop and restart behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.3, 2.1.4
    • Wish List
    • console
    • Security Level: public (Regular issues)
    • None
    • Windows XP, G 214

    Description

      There is a difference in behavior of start/stop and restart of application. Currently start/stop functions in the following manner once you issue the stop command configurations will be stopped, than unloaded. This will also destroy the current classloader. Once a start is issued the configurations will loaded and than started. This will also result in the creation of new classloaders.

      In case of restart same modules will be started as before the restart command, and same old classloaders will be used. This results in loss of functionality in which some of the static variables are not re-initialized and can no longer be useful.

      So as to fix this issue up, restart code needs to be modified so that new classloaders are created.

      For more information please refer the following discussion
      http://www.nabble.com/Difference-in-start-stop-and-restart-behavior-td24933496s134.html

      Attachments

        1. DummyProject.war
          4 kB
          Ashish Jain

        Activity

          People

            ashishjain Ashish Jain
            ashishjain Ashish Jain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: