Redeployment of fails using Web Console with exception GBean already registered
-------------------------------------------------------------------------------

                 Key: GERONIMO-2572
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2572
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 1.2
         Environment: Windows XP, should be valid for all platforms
            Reporter: Rakesh Midha


When using web console, redeployment for an applications fails everytime with 
message:
Deployment failed:
restart of default/sampleHello/1163675367263/war failed 

and exception trace:
org.apache.geronimo.kernel.config.LifecycleException: restart of default/sampleH
ello/1163674841717/war failed
Caused by: org.apache.geronimo.kernel.GBeanAlreadyExistsException: GBean already
 registered: geronimo.config:name="default/sampleHello/1163674841717/war"

This is caused by earlier deployment mistake. Steps to recreate the problem:

1. Deploy any web application

2. Make changes in web application, and try to deploy it again but don't forget 
to select redeploy option.
  It will fail with NullPointerException in Trace, exception trace
Problem in doFail of default/sampleHello/1163
675272276/war?J2EEApplication=null,j2eeType=WebModule,name=default/sampleHello/1
163675272276/war 
java.lang.RuntimeException: java.lang.NullPointerException

3. Now try to redeploy this application with redeploy option selected, it will 
never work.

Only option left is undeploy and deploy the application.

Thanks
Rakesh


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