Redeployment fails after third iteration.
-----------------------------------------

                 Key: GERONIMO-2402
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2402
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 1.1, 1.1.1
         Environment: JDK 1.4.2_98, Windows/XP  Pro, Version 2002 SP/2
            Reporter: Fran Varin
            Priority: Critical


Here is a modified copy of the test case that reproduces the bug. In its 
original state there were some screen shots included for clarity sake. However, 
it is not possible to include those here. The applicaiton that was used in 
concert with this test case was an extremely simply project that just included 
one JSP. There was no "geronimo-web.xml" used in the project and it was 
deployed in "exploded" form. 

Step 1 - Launch Geronimo
•       For this test I used the 1.1.1-RC3 Version. 
•       I am pointing to Java SE v1.4.2_08
•       The standard startup.bat was used to start the server with no 
modification.
•       The application does not contain a "Geronimo-web.xml" descriptor. 

•       Below are all of the message on the console after the Geronimo started. 
Note that the application was deployed

Booting Geronimo Kernel (in Java 1.4.1_02)...
Module  1/20 geronimo/rmi-naming/1.1.1-rc3/car              started in   .265s
Module  2/20 geronimo/j2ee-server/1.1.1-rc3/car             started in   .563s
Module  3/20 geronimo/j2ee-security/1.1.1-rc3/car           started in   .547s
Module  4/20 geronimo/axis/1.1.1-rc3/car                    started in   .078s
Module  5/20 geronimo/openejb/1.1.1-rc3/car                 started in   .313s
Module  6/20 geronimo/system-database/1.1.1-rc3/car         started in  1.750s
Module  7/20 geronimo/activemq-broker/1.1.1-rc3/car         started in  1.188s
Module  8/20 geronimo/activemq/1.1.1-rc3/car                started in   .390s
Module  9/20 geronimo/tomcat/1.1.1-rc3/car                  started in  2.015s
Module 10/20 geronimo/geronimo-gbean-deployer/1.1.1-rc3/car started in   .297s
Module 11/20 geronimo/j2ee-deployer/1.1.1-rc3/car           started in   .234s
Module 12/20 geronimo/openejb-deployer/1.1.1-rc3/car        started in   .266s
Module 13/20 geronimo/client-deployer/1.1.1-rc3/car         started in   .047s
Module 14/20 geronimo/axis-deployer/1.1.1-rc3/car           started in   .078s
Module 15/20 geronimo/sharedlib/1.1.1-rc3/car               started in   .016s
Module 16/20 geronimo/tomcat-deployer/1.1.1-rc3/car         started in   .093s
Module 17/20 geronimo/welcome-tomcat/1.1.1-rc3/car          started in   .266s
Module 18/20 geronimo/webconsole-tomcat/1.1.1-rc3/car       started in  4.297s
Module 19/20 geronimo/remote-deploy-tomcat/1.1.1-rc3/car    started in   .234s
Module 20/20 geronimo/hot-deployer/1.1.1-rc3/car            started in   .343s
Startup completed in 16 seconds
  Listening on Ports:
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    4201 0.0.0.0 ActiveIO Connector EJB
    4242 0.0.0.0 Remote Login Listener
    8009 0.0.0.0 Tomcat Connector AJP
    8080 0.0.0.0 Tomcat Connector HTTP
    8443 0.0.0.0 Tomcat Connector HTTPS
    9999 0.0.0.0 JMX Remoting Connector
   61616 0.0.0.0 ActiveMQ Message Broker Connector

  Started Application Modules:
    EAR: geronimo/webconsole-tomcat/1.1.1-rc3/car
    RAR: geronimo/activemq/1.1.1-rc3/car
    WAR: geronimo/remote-deploy-tomcat/1.1.1-rc3/car
    WAR: geronimo/welcome-tomcat/1.1.1-rc3/car

  Web Applications:
    http://RI150WS311:8080/
    http://RI150WS311:8080/console
    http://RI150WS311:8080/console-standard
    http://RI150WS311:8080/remote-deploy

Geronimo Application Server started
11:15:15,111 INFO  [Hot Deployer] Deploying Test.war
11:15:15,423 WARN  [TomcatModuleBuilder] Web application . does not contain a 
WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a problem, 
depending on whether you have things like resource references that need to be 
resolved.  You can also give the deployer a separate deployment plan file on 
the command line.
    Deployed default/Test/1158074115142/war @
    http://RI150WS311:8080/Test

Examine the "deploy" directory. Note that it contains the application as 
deployed. 

Examine the "repository\default" directory. Note that it contains what I refer 
to as the actually running deployed application. 

If I were to expand this folder I would find that the WAR file has been 
deployed here and contains the code that actually is running in the Geronimo 
server. 

Note the last line of the config.xml, it was modified by Geronimo so that the 
correct version of the application would be executed. 

<module name="default/Test/1158074115142/war"/>



Step 2 - Test the application
•       I used the following url to execute the "index.jsp"  
http://localhost:8080/Test/index.jsp
•       The test produced the correct result.

Step 3 - Modify the JSP
•       I modify the JSP to change what it will display in the browser. 
•       Save the new modified JSP to 
"C:\TestEclipse\eclipse32\geronimo-1.1.1-rc3\deploy\Test.war". This is the 
location in Geronimo where the application is deployed. 
•       Once saved, Geronimo detects the change and deploys the new code. Here 
is the console message: 

11:35:51,939 INFO  [DirectoryMonitor] Hot deployer notified that an artifact was
 removed: default/Test/1158074115142/war
    Redeployed default/Test/1158075351595/war

•       Check the "config.xml" and note the changes. The last line now reads as 
follows...
<module name="default/Test/1158075351595/war"/>

•       Examine the 
"C:\TestEclipse\eclipse32\geronimo-1.1.1-rc3\repository\default\Test" 
directory. It now contains two folders with numerical sequences that match both 
deployments. The first "default/Test/1158074115142" is now empty and the new 
one "default/Test/1158075351595" now contains the deployed application that 
reflects the changes made to the JSP

Step 4 - Test Again
•       Repeat Step 2
•       Test runs successfully
•       The console displayed the following: 

11:42:35,429 INFO  [Hot Deployer] Redeploying Test.war
11:42:35,616 WARN  [TomcatModuleBuilder] Web application . does not contain a 
WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a problem, 
depending on whether you have things like resource references that need to be 
resolved.  You can also give the deployer a separate deployment plan file on 
the command line.
11:42:35,929 INFO  [DirectoryMonitor] Hot deployer notified that an artifact was
 removed: default/Test/1158075351595/war

•       Check "config.xml" and note the changes. The last line now reads as 
follows...
<module name="default/Test/1158075755616/war"/>
•       Examine the 
"C:\TestEclipse\eclipse32\geronimo-1.1.1-rc3\repository\default\Test" 
directory. It now contains three folders with numerical sequences that match 
all deployments. 
o       The first "default/Test/1158074115142" is now empty 
o       The second "default/Test/1158075351595" is now empty
o       and the new one "default\Test\1158075755616" now contains the deployed 
application that reflects the changes made to the JSP

Step 5 - Modify the JSP 
•       Modify the JSP as before to change what will be displayed in the 
browser.
•       Save the JSP as before.
•       Once save, on this occasion NO NEW MESSAGES WRITTEN TO THE CONSOLE
•       Check the "config.xml" and note the changes. Note that there has been 
NO CHANGE The last line...
<module name="default/Test/1158075755616/war"/>

•       Examine the 
"C:\TestEclipse\eclipse32\geronimo-1.1.1-rc3\repository\default\Test" 
directory. It still contains three folders with numerical sequences that match 
all deployments (except this one). 
o       The first "default/Test/1158074115142" is now empty 
o       The second "default/Test/1158075351595" is now empty
o       and the new one "default\Test\1158075755616" now contains the deployed 
application that reflects the changes made to the JSP from Step 3 (oops)
•       Given the observations from the bullets above check the source for the 
JSP in "C:\TestEclipse\eclipse32\geronimo-1.1.1-rc3\deploy\Test.war" to see 
what it contains. Verify that it contains the modifications made in this step. 
•       CONCLUSION: The modifications were successfully made to the JSP and 
saved. On the third attempt, Geronimo did not recognize the change and perform 
the hot deployment. 

Step 6 - Stop the server
•       Using the supplied "shutdown.bat" stop the server. The intent here is 
to stop and restart the server to see if Geronimo will see the modifications 
made in Step 5 and redeploy the application successfully. 
•       The server shutdown normally

Step 7 - Start the server
•       Using the supplied "startup.bat" start the server.
•       The server throws and exception during startup trying to deploy the 
"Test" application. Here are all of the messages from the console.


  Started Application Modules:
    EAR: geronimo/webconsole-tomcat/1.1.1-rc3/car
    RAR: geronimo/activemq/1.1.1-rc3/car
    WAR: default/Test/1158075755616/war
    WAR: geronimo/remote-deploy-tomcat/1.1.1-rc3/car
    WAR: geronimo/welcome-tomcat/1.1.1-rc3/car

  Web Applications:
    http://RI150WS311:8080/
    http://RI150WS311:8080/Test
    http://RI150WS311:8080/console
    http://RI150WS311:8080/console-standard
    http://RI150WS311:8080/remote-deploy

Geronimo Application Server started
12:00:50,099 ERROR [DirectoryMonitor] Unable to scan file C:\TestEclipse\eclipse
32\geronimo-1.1.1-rc3\deploy\Test.war during initialization
java.lang.IllegalArgumentException: Invalid id: Test
        at 
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
        at 
org.apache.geronimo.deployment.hot.DirectoryHotDeployer.getDeploymentTime(DirectoryHotDeployer.java:215)
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:233)
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:206)
        at java.lang.Thread.run(Thread.java:536)
12:00:54,099 INFO  [Hot Deployer] Deploying Test.war
12:00:54,396 WARN  [TomcatModuleBuilder] Web application . does not contain a 
WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a problem, 
depending on whether you have things like resource references that need to be 
resolved.  You can also give the deployer a separate deployment plan file on 
the command line.
12:00:54,708 ERROR [GBeanInstance] Problem in doFail of default/Test/11580768541
30/war?J2EEApplication=null,j2eeType=WebModule,name=default/Test/1158076854130/war
java.lang.RuntimeException: java.lang.NullPointerException
        at 
org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:327)
        at 
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$5833cf43.removeContext(<generated>)
        at 
org.apache.geronimo.tomcat.TomcatWebAppContext.doFail(TomcatWebAppContext.java:459)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1010)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at 
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
        at 
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$3e7e7cbc.startConfiguration(<generated>)
        at 
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
        at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
        at java.io.File.<init>(File.java:180)
        at 
org.apache.catalina.core.StandardContext.getWorkPath(StandardContext.java:1789)
        at 
org.apache.catalina.startup.ContextConfig.destroy(ContextConfig.java:1269)
        at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:281)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at 
org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4419)
        at 
org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:325)
        ... 31 more
12:00:54,724 ERROR [GBeanInstanceState] Error while starting; GBean is now in 
the FAILED state: 
abstractName="default/Test/1158076854130/war?J2EEApplication=null,j2eeType=WebModule,name=default/Test/1158076854130/war"
java.lang.IllegalArgumentException: addChild:  Child name '/Test' is not unique
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:749)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at 
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
        at 
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$5833cf43.addContext(<generated>)
        at 
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:438)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at 
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
        at 
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$3e7e7cbc.startConfiguration(<generated>)
        at 
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
        at java.lang.Thread.run(Thread.java:536)
org.apache.geronimo.kernel.config.LifecycleException: start of 
default/Test/1158076854130/war failed
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$3e7e7cbc.startConfiguration(<generated>)
        at 
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
        at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown 
start exception
        at 
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:440)
        at 
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        ... 12 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: 
Configuration default/Test/1158076854130/war failed to start due to the 
following reasons:
  The service 
J2EEApplication=null,j2eeType=WebModule,name=default/Test/1158076854130/war did 
not start because the doStart method threw an exception.
java.lang.IllegalArgumentException: addChild:  Child name '/Test' is not unique
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:749)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at 
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
        at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b07
3.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$5833cf43.addContext(<generated>)
        at 
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:438)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at 
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
        at 
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
        at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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:122)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at 
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$3e7e7cbc.startConfiguration(<generated>)
        at 
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
        at java.lang.Thread.run(Thread.java:536)


        at 
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:403)
        ... 14 more
12:00:54,927 WARN  [Hot Deployer] Unable to start some modules for C:\TestEclips
e\eclipse32\geronimo-1.1.1-rc3\deploy\Test.war


•       Examine the "repository" directory. 

Note that an additional directory has been added "1158076854130". It is an 
attempt by Geronimo to redeploy the "Test" application during startup. It 
contains the modifications made in Step 5. The directory "1158075755616" also 
contains a copy of the deployed application that reflects the last successful 
change made to the application. However this violates the pattern of the 
directories being emptied by Geronimo when the most current one is deployed 
with changes to the application.

•       The "config.xml" now contains the following lines: 
  <module name="default/Test/1158075755616/war"/>
<module load="false" name="default/Test/1158076854130/war"/>



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