You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rakesh Midha (JIRA)" <ji...@apache.org> on 2006/11/16 15:03:37 UTC

[jira] Created: (GERONIMO-2572) Redeployment of fails using Web Console with exception GBean already registered

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

        

[jira] Updated: (GERONIMO-2572) Redeployment fails if using Web Console, exception: GBean already registered

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2572?page=all ]

Rakesh Midha updated GERONIMO-2572:
-----------------------------------

    Patch Info: [Patch Available]
      Assignee:     (was: Rakesh Midha)


Step 2 described in problem description is main cause of the problem. providing the consoledeploy.patch which fix this problem. This is what the patch does :
If the application you are trying deploy with web console already exists, and you did not select the redeploy checkbox, it will give you a message "The application with same moduleId already exists, redeploying <appname>" and redeploy's the application.

Similar issue for deploy command exists http://issues.apache.org/jira/browse/GERONIMO-1907, and Iseprate patch for that will be provided, to make the feature consistent.


> Redeployment fails if using Web Console, 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
>         Attachments: consoledeploy.patch
>
>
> 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

        

[jira] Updated: (GERONIMO-2572) Redeployment fails if using Web Console, exception: GBean already registered

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2572?page=all ]

Rakesh Midha updated GERONIMO-2572:
-----------------------------------

    Summary: Redeployment fails if using Web Console, exception: GBean already registered  (was: Redeployment of fails using Web Console with exception GBean already registered)

> Redeployment fails if using Web Console, 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

        

[jira] Updated: (GERONIMO-2572) Redeployment fails if using Web Console, exception: GBean already registered

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2572?page=all ]

Rakesh Midha updated GERONIMO-2572:
-----------------------------------

    Attachment: consoledeploy.patch

Patch described in previous comment. 

> Redeployment fails if using Web Console, 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
>         Attachments: consoledeploy.patch
>
>
> 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

        

[jira] Assigned: (GERONIMO-2572) Redeployment fails if using Web Console, exception: GBean already registered

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2572?page=all ]

Rakesh Midha reassigned GERONIMO-2572:
--------------------------------------

    Assignee: Rakesh Midha

> Redeployment fails if using Web Console, 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
>         Assigned To: 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