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/17 07:47:37 UTC
[jira] Assigned: (GERONIMO-2572) Redeployment fails if using Web
Console, exception: GBean already registered
[ 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