Undeploy using Deployment Manager fails to undeploy application
---------------------------------------------------------------

         Key: GERONIMO-1132
         URL: http://issues.apache.org/jira/browse/GERONIMO-1132
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0    
    Reporter: Sachin Patel
    Priority: Blocker
     Fix For: 1.0


This defect is opened as an due to my append on jira 1047.  This problem is 
reproducable 100% of the time.  Below explains the scenario through devtools 
tracing and the geronimo log.

DEVTOOLS: APPLICATION IS INSTALLED WITH SUCCESSFULL NOTIFICATIONS FROM SERVER

org.apache.geronimo.devtools.eclipse.core:  
publishModule()[Lorg.eclipse.wst.server.core.IModule;@6a2a2b 1 deltaKind=1
org.apache.geronimo.devtools.eclipse.core:  calling 
invokeComand()Module[hh,org.eclipse.jst.j2ee.server:hh]
org.apache.geronimo.devtools.eclipse.core:  calling doDeploy()
org.apache.geronimo.devtools.eclipse.core:  Distributing project hh completed.
org.apache.geronimo.devtools.eclipse.core:      Completed with id hh/hh
org.apache.geronimo.devtools.eclipse.core:  Wait thread interrupted
org.apache.geronimo.devtools.eclipse.core:  Starting project hh completed.
org.apache.geronimo.devtools.eclipse.core:      Completed
org.apache.geronimo.devtools.eclipse.core:  Wait thread interrupted

GERONIMO: LOG SHOWS APPLICATION WAS INSTALLED AND STARTED

08:16:12,612 INFO  [LocalConfigStore:config-store] Installed configuration 
(file) hh/hh in location 33
08:16:12,759 INFO  [LocalConfigStore:config-store] Loaded Configuration 
geronimo.config:name="hh/hh"
08:16:12,766 INFO  [Configuration] Started configuration hh/hh
08:16:12,897 INFO  [Container] Started [EMAIL PROTECTED]
08:16:12,899 INFO  [/hh] JSR154 unwrappedDispatchSupported=true
08:16:12,899 INFO  [JettyWebAppContext] JettyWebAppContext started
08:16:12,899 INFO  [Container] Started WebApplicationContext[/hh,hh]

DEVTOOLS: APPLICATION INSTALLED, NOTIFICATIONS IMPLY SUCCESSFULL UNDEPLOYMENT

org.apache.geronimo.devtools.eclipse.core:  
publishModule()[Lorg.eclipse.wst.server.core.IModule;@6c4fe 1 deltaKind=3
org.apache.geronimo.devtools.eclipse.core:  calling 
invokeComand()Module[hh,org.eclipse.jst.j2ee.server:hh]
org.apache.geronimo.devtools.eclipse.core:  calling doUndeploy()
org.apache.geronimo.devtools.eclipse.core:  Undeploying project hh running...
org.apache.geronimo.devtools.eclipse.core:      Module hh/hh stopped.
org.apache.geronimo.devtools.eclipse.core:      Module hh/hh unloaded.
org.apache.geronimo.devtools.eclipse.core:      Module hh/hh uninstalled.
org.apache.geronimo.devtools.eclipse.core:  Undeploying project hh completed.
org.apache.geronimo.devtools.eclipse.core:      Completed
org.apache.geronimo.devtools.eclipse.core:  Wait thread interrupted

GERONIMO: AS DOES THE GERONIMO LOG

08:17:12,969 INFO  [Container] Stopped [EMAIL PROTECTED]
08:17:13,301 INFO  [JettyWebAppContext] JettyWebAppContext stopped
08:17:13,301 INFO  [Container] Stopped WebApplicationContext[/hh,hh]
08:17:13,302 INFO  [Configuration] Stopping configuration hh/hh
08:17:13,322 INFO  [LocalConfigStore:config-store] Uninstalled configuration 
hh/hh

RESTART THE SERVER AND START UP FAILS, CONFIGURATION THAT WAS UNDEPLOY IS 
ATTEMPTING TO START

Geronimo startup failed:
org.apache.geronimo.kernel.config.NoSuchConfigException: No configuration with 
id: hh/hh
        at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.load(ConfigurationManagerImpl.java:111)
        at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadRecursive(ConfigurationManagerImpl.java:178)
        at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.loadRecursive(ConfigurationManagerImpl.java:167)
        at 
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:779)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$b1334717.loadRecursive(<generated>)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:232)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:320)
08:18:21,809 INFO  [BasicKernel] Starting kernel shutdown

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to