[jboss-jira] [JBoss JIRA] Closed: (JBAS-5593) EJB2 ProxyFactoryHA has unbalanced lifecycle
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Thu Jun 5 17:09:20 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5593?page=all ]
Brian Stansberry closed JBAS-5593.
----------------------------------
Resolution: Done
> EJB2 ProxyFactoryHA has unbalanced lifecycle
> --------------------------------------------
>
> Key: JBAS-5593
> URL: http://jira.jboss.com/jira/browse/JBAS-5593
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering, EJB2
> Affects Versions: JBossAS-5.0.0.Beta4
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: JBossAS-5.0.0.CR1
>
>
> Sets stuff up in setupInvokers(), which is called as part of start(). Tears it down in destroy(). Effect is a start()/stop()/start() fails:
> 2008-06-05 14:19:20,752 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (RMI TCP Connection(5)-127.0.0.1) Error installing to Start: name=jboss.j2ee:jndiName=nextgen_StatefulSession,service=EJB state=Create mode=Manual requiredState=Installed
> java.lang.IllegalStateException: Trying to register target using an existing hashCode.
> at org.jboss.invocation.unified.server.UnifiedInvokerHA.registerBean(UnifiedInvokerHA.java:75)
> at org.jboss.proxy.ejb.ProxyFactoryHA.setupInvokers(ProxyFactoryHA.java:119)
> at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:238)
> at org.jboss.proxy.ejb.ProxyFactoryHA.start(ProxyFactoryHA.java:101)
> at org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:440)
> at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:398)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
> The destroy() work needs to be moved to stop().
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list