[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1262) MBean for ear not deregistered when deploy fails
[ http://jira.jboss.com/jira/browse/JBAS-1262?page=comments#action_12315380 ] Darran commented on JBAS-1262: -- Keit, The current workaround is to use the twiddle command as described in the fault description to manually unregister the MBean of the EAR. > MBean for ear not deregistered when deploy fails > > > Key: JBAS-1262 > URL: http://jira.jboss.com/jira/browse/JBAS-1262 > Project: JBoss Application Server > Type: Bug > Components: EJBs > Versions: JBossAS-4.0.1 Final > Environment: Win2k, JDK 1.4.2, default-configuration as supplied. > Reporter: Heiko W. Rupp > Assignee: Scott M Stark > > > 1) deploy an ear that has a ejb-jar in it that fails verification > 2) redeploy the same ear (either with or without changed jar). > 3) you will get an exception: > 21:55:12,206 INFO [EARDeployer] Init J2EE application: > file:/D:/jboss401/server > /small/deploy/adb.ear > 21:55:12,296 INFO [EARDeployment] Registration is not done -> stop > 21:55:12,296 ERROR [MainDeployer] Could not initialise deployment: > file:/D:/jboss401/server/small/deploy/adb.ear > org.jboss.deployment.DeploymentException: Error in accessing application > metadata: ; - nested throwable: > javax.management.InstanceAlreadyExistsException: > jboss.j2ee:service=EARDeployment,url='adb.ear' already registered.) > 4) Go to jmx-console > jboss.j2ee > * service=EARDeployer > * service=EARDeployment,url='adb.ear' > 5) go into the ,url=... MBean > 6) MBean is in state 8 (registered) > 7) call stop() and/or destroy() > 22:01:47,795 WARN [ServiceController] Ignoring request to destroy > nonexistent service: jboss.j2ee:service=EARDeployment,url='adb.ear' > 8) redeploy ear -> same exception again > 9) call unregister over twiddle: > D:> d:\jboss401\bin\twiddle unregister > "jboss.j2ee:service=EARDeployment,url='adb.ear'" > 10) MBean is gone in MBean-List, ear can be deployed as usual. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1262) MBean for ear not deregistered when deploy fails
[ http://jira.jboss.com/jira/browse/JBAS-1262?page=comments#action_12314584 ] Kiet Tran commented on JBAS-1262: - Is there workaround for this problem until it is resolved? I'm stuck and unable to deploy my ear. Thanks. > MBean for ear not deregistered when deploy fails > > > Key: JBAS-1262 > URL: http://jira.jboss.com/jira/browse/JBAS-1262 > Project: JBoss Application Server > Type: Bug > Components: EJBs > Versions: JBossAS-4.0.1 Final > Environment: Win2k, JDK 1.4.2, default-configuration as supplied. > Reporter: Heiko W. Rupp > Assignee: Scott M Stark > > > 1) deploy an ear that has a ejb-jar in it that fails verification > 2) redeploy the same ear (either with or without changed jar). > 3) you will get an exception: > 21:55:12,206 INFO [EARDeployer] Init J2EE application: > file:/D:/jboss401/server > /small/deploy/adb.ear > 21:55:12,296 INFO [EARDeployment] Registration is not done -> stop > 21:55:12,296 ERROR [MainDeployer] Could not initialise deployment: > file:/D:/jboss401/server/small/deploy/adb.ear > org.jboss.deployment.DeploymentException: Error in accessing application > metadata: ; - nested throwable: > javax.management.InstanceAlreadyExistsException: > jboss.j2ee:service=EARDeployment,url='adb.ear' already registered.) > 4) Go to jmx-console > jboss.j2ee > * service=EARDeployer > * service=EARDeployment,url='adb.ear' > 5) go into the ,url=... MBean > 6) MBean is in state 8 (registered) > 7) call stop() and/or destroy() > 22:01:47,795 WARN [ServiceController] Ignoring request to destroy > nonexistent service: jboss.j2ee:service=EARDeployment,url='adb.ear' > 8) redeploy ear -> same exception again > 9) call unregister over twiddle: > D:> d:\jboss401\bin\twiddle unregister > "jboss.j2ee:service=EARDeployment,url='adb.ear'" > 10) MBean is gone in MBean-List, ear can be deployed as usual. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1262) MBean for ear not deregistered when deploy fails
[ http://jira.jboss.com/jira/browse/JBAS-1262?page=comments#action_12314506 ] Adrian Brock commented on JBAS-1262: I proposed the correct way to fix this on this dev forum post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=53623 > MBean for ear not deregistered when deploy fails > > > Key: JBAS-1262 > URL: http://jira.jboss.com/jira/browse/JBAS-1262 > Project: JBoss Application Server > Type: Bug > Components: EJBs > Versions: JBossAS-4.0.1 Final > Environment: Win2k, JDK 1.4.2, default-configuration as supplied. > Reporter: Heiko W. Rupp > Assignee: Scott M Stark > > > 1) deploy an ear that has a ejb-jar in it that fails verification > 2) redeploy the same ear (either with or without changed jar). > 3) you will get an exception: > 21:55:12,206 INFO [EARDeployer] Init J2EE application: > file:/D:/jboss401/server > /small/deploy/adb.ear > 21:55:12,296 INFO [EARDeployment] Registration is not done -> stop > 21:55:12,296 ERROR [MainDeployer] Could not initialise deployment: > file:/D:/jboss401/server/small/deploy/adb.ear > org.jboss.deployment.DeploymentException: Error in accessing application > metadata: ; - nested throwable: > javax.management.InstanceAlreadyExistsException: > jboss.j2ee:service=EARDeployment,url='adb.ear' already registered.) > 4) Go to jmx-console > jboss.j2ee > * service=EARDeployer > * service=EARDeployment,url='adb.ear' > 5) go into the ,url=... MBean > 6) MBean is in state 8 (registered) > 7) call stop() and/or destroy() > 22:01:47,795 WARN [ServiceController] Ignoring request to destroy > nonexistent service: jboss.j2ee:service=EARDeployment,url='adb.ear' > 8) redeploy ear -> same exception again > 9) call unregister over twiddle: > D:> d:\jboss401\bin\twiddle unregister > "jboss.j2ee:service=EARDeployment,url='adb.ear'" > 10) MBean is gone in MBean-List, ear can be deployed as usual. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1262) MBean for ear not deregistered when deploy fails
[ http://jira.jboss.com/jira/browse/JBAS-1262?page=comments#action_12314497 ] Heiko W. Rupp commented on JBAS-1262: - The same behaviour applies when the deploy of an MBean fails (i.e. not only for EJBs, but e.g. also for JMS-Queues). The MBean stays in the system in state 8 and needs to be manually deregistered via twiddle. > MBean for ear not deregistered when deploy fails > > > Key: JBAS-1262 > URL: http://jira.jboss.com/jira/browse/JBAS-1262 > Project: JBoss Application Server > Type: Bug > Components: EJBs > Versions: JBossAS-4.0.1 Final > Environment: Win2k, JDK 1.4.2, default-configuration as supplied. > Reporter: Heiko W. Rupp > Assignee: Scott M Stark > > > 1) deploy an ear that has a ejb-jar in it that fails verification > 2) redeploy the same ear (either with or without changed jar). > 3) you will get an exception: > 21:55:12,206 INFO [EARDeployer] Init J2EE application: > file:/D:/jboss401/server > /small/deploy/adb.ear > 21:55:12,296 INFO [EARDeployment] Registration is not done -> stop > 21:55:12,296 ERROR [MainDeployer] Could not initialise deployment: > file:/D:/jboss401/server/small/deploy/adb.ear > org.jboss.deployment.DeploymentException: Error in accessing application > metadata: ; - nested throwable: > javax.management.InstanceAlreadyExistsException: > jboss.j2ee:service=EARDeployment,url='adb.ear' already registered.) > 4) Go to jmx-console > jboss.j2ee > * service=EARDeployer > * service=EARDeployment,url='adb.ear' > 5) go into the ,url=... MBean > 6) MBean is in state 8 (registered) > 7) call stop() and/or destroy() > 22:01:47,795 WARN [ServiceController] Ignoring request to destroy > nonexistent service: jboss.j2ee:service=EARDeployment,url='adb.ear' > 8) redeploy ear -> same exception again > 9) call unregister over twiddle: > D:> d:\jboss401\bin\twiddle unregister > "jboss.j2ee:service=EARDeployment,url='adb.ear'" > 10) MBean is gone in MBean-List, ear can be deployed as usual. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1262) MBean for ear not deregistered when deploy fails
[ http://jira.jboss.com/jira/browse/JBAS-1262?page=comments#action_12314464 ] Heiko W. Rupp commented on JBAS-1262: - I forgot: removing the .ear before redeploying does not change anything. > MBean for ear not deregistered when deploy fails > > > Key: JBAS-1262 > URL: http://jira.jboss.com/jira/browse/JBAS-1262 > Project: JBoss Application Server > Type: Bug > Components: EJBs > Versions: JBossAS-4.0.1 Final > Environment: Win2k, JDK 1.4.2, default-configuration as supplied. > Reporter: Heiko W. Rupp > Assignee: Scott M Stark > > > 1) deploy an ear that has a ejb-jar in it that fails verification > 2) redeploy the same ear (either with or without changed jar). > 3) you will get an exception: > 21:55:12,206 INFO [EARDeployer] Init J2EE application: > file:/D:/jboss401/server > /small/deploy/adb.ear > 21:55:12,296 INFO [EARDeployment] Registration is not done -> stop > 21:55:12,296 ERROR [MainDeployer] Could not initialise deployment: > file:/D:/jboss401/server/small/deploy/adb.ear > org.jboss.deployment.DeploymentException: Error in accessing application > metadata: ; - nested throwable: > javax.management.InstanceAlreadyExistsException: > jboss.j2ee:service=EARDeployment,url='adb.ear' already registered.) > 4) Go to jmx-console > jboss.j2ee > * service=EARDeployer > * service=EARDeployment,url='adb.ear' > 5) go into the ,url=... MBean > 6) MBean is in state 8 (registered) > 7) call stop() and/or destroy() > 22:01:47,795 WARN [ServiceController] Ignoring request to destroy > nonexistent service: jboss.j2ee:service=EARDeployment,url='adb.ear' > 8) redeploy ear -> same exception again > 9) call unregister over twiddle: > D:> d:\jboss401\bin\twiddle unregister > "jboss.j2ee:service=EARDeployment,url='adb.ear'" > 10) MBean is gone in MBean-List, ear can be deployed as usual. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development