You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2011/01/25 10:52:43 UTC

[jira] Resolved: (GERONIMO-5527) Support -c/--clean option in the server startup script to clean cache for OSGi/tomcat

     [ https://issues.apache.org/jira/browse/GERONIMO-5527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-5527.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M2

 Committed additional fixes to m2 and trunk to:

 1, Levarage OSGi standard cache clean flag
 2, Externalize other resources to clean to geronimo script.


----------------------------------------------------------------------------------------------------
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

Repository 	Revision 	Date 	User 	Message
ASF 	#1063193 	Tue Jan 25 04:47:01 EST 2011 	genspring 	GERONIMO-5527 Support -c/--clean option in the server startup script to clean cache for OSGi/tomcat
    
    1, Levarage OSGi standard cache clean flag
    2, Externalize other resources to clean to geronimo script.
Files Changed
MODIFY /geronimo/server/branches/3.0-M2/framework/configs/karaf-framework/src/main/distribution/unix-shell/bin/geronimo
MODIFY /geronimo/server/branches/3.0-M2/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/geronimo.bat
MODIFY /geronimo/server/branches/3.0-M2/framework/modules/geronimo-system/src/main/java/org/apache/geronimo/system/main/EmbeddedDaemon.java 

> Support -c/--clean option in the server startup script to clean cache for OSGi/tomcat
> -------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5527
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5527
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: osgi
>    Affects Versions: 3.0
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>            Priority: Minor
>             Fix For: 3.0-M2, 3.0
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.