Geronimo
  1. Geronimo
  2. GERONIMO-5527

Support -c/--clean option in the server startup script to clean cache for OSGi/tomcat

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: osgi
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      To fix server bugs in geronimo 2.x , we usually replace the module with a fixed module to see if the bug was fixed. But in Geronimo 3.0, it does not work because there's osgi cache to prevent the fixed module from loading.

      we also have some tomcat cache within var/catalina/, we need to clean them too. We need a switch to clear the whole OSGi/Tomcat cache to resolve this for now.

        Issue Links

          Activity

          Shawn Jiang created issue -
          Shawn Jiang made changes -
          Field Original Value New Value
          Assignee Shawn Jiang [ genspring ]
          Shawn Jiang made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.0 [ 12314206 ]
          Resolution Fixed [ 1 ]
          Shawn Jiang made changes -
          Link This issue is related to GERONIMODEVTOOLS-704 [ GERONIMODEVTOOLS-704 ]
          Shawn Jiang made changes -
          Summary It's better to refresh the corresponding bundle in cache automatically when a geronimo module get modified. Support -c/--clean option in the server startup script to clean cache for OSGi/tomcat
          Description To fix server bugs in geronimo 2.x , we usually replace the module with a fixed module to see if the bug was fixed. But in Geronimo 3.0, it does not work because there's osgi cache to prevent the fixed module from loading.


          We have to clear the whole cache to resolve this for now. It's better for Geronimo to refresh the corresponding bundle in cache automatically when a Geronimo module get modified.
          To fix server bugs in geronimo 2.x , we usually replace the module with a fixed module to see if the bug was fixed. But in Geronimo 3.0, it does not work because there's osgi cache to prevent the fixed module from loading.

          we also have some tomcat cache within var/catalina/, we need to clean them too. We need a switch to clear the whole OSGi/Tomcat cache to resolve this for now.
          Shawn Jiang made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Shawn Jiang made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fix Version/s 3.0-M2 [ 12315547 ]
          Resolution Fixed [ 1 ]
          Jarek Gawor made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Jarek Gawor made changes -
          Assignee Shawn Jiang [ genspring ] Jarek Gawor [ gawor@mcs.anl.gov ]
          Jarek Gawor made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Forrest Xia made changes -
          Fix Version/s 3.0-M2 [ 12315547 ]

            People

            • Assignee:
              Jarek Gawor
              Reporter:
              Shawn Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development