Geronimo-Devtools
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-704

Provide a check box to clean server cache when start server from GEP.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M2
    • Fix Version/s: 3.0-M2
    • Component/s: eclipse-plugin
    • Labels:
      None

      Description

      see https://issues.apache.org/jira/browse/GERONIMO-5527, some code added to support c/-clean switch to clean server cache from startup script. we need to add the same function in GEP.

      ---------------------------------------------------------------------------------------------------------------------------------------------
      Repository Revision Date User Message
      ASF #1025840 Thu Oct 21 02:05:53 EDT 2010 genspring GERONIMO-5527 provide a way to clean osgi bundle cache when starting the server.
      Files Changed
      MODIFY /geronimo/server/trunk/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/geronimo.bat
      MODIFY /geronimo/server/trunk/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/EmbeddedDaemon.java
      MODIFY /geronimo/server/trunk/framework/modules/geronimo-cli/src/main/java/org/apache/geronimo/cli/daemon/DaemonCLParser.java
      MODIFY /geronimo/server/trunk/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/geronimo

        Issue Links

          Activity

          Hide
          Shawn Jiang added a comment -

          With some additional code to GERONIMO-5527, GEP could just use c/-clean with following properties

          1, -Dorg.osgi.framework.storage.clean=onFirstInit

          to clean up the OSGi cache.

          2, -Ddirectorys.to.remove.on.start=/var/catalina/work,/var/catalina/resources

          to customize other cache to delete when geronimo starts.

          Show
          Shawn Jiang added a comment - With some additional code to GERONIMO-5527 , GEP could just use c/ -clean with following properties 1, -Dorg.osgi.framework.storage.clean=onFirstInit to clean up the OSGi cache. 2, -Ddirectorys.to.remove.on.start=/var/catalina/work,/var/catalina/resources to customize other cache to delete when geronimo starts.
          Hide
          Ted Kirby added a comment -

          FYI, I have developed code to fix this issue.

          Show
          Ted Kirby added a comment - FYI, I have developed code to fix this issue.
          Hide
          Jarek Gawor added a comment -

          The work for this item is done.

          Show
          Jarek Gawor added a comment - The work for this item is done.

            People

            • Assignee:
              Ted Kirby
              Reporter:
              Shawn Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development