[jboss-jira] [JBoss JIRA] Closed: (JBAS-5528) If SingletonStatelessSessionInstancePool is used for a SLSB, container MBean state is reported incorrectly

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Wed May 21 08:52:10 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5528?page=all ]

Alexey Loubyansky closed JBAS-5528.
-----------------------------------

    Resolution: Done

There is no plan to release JBoss-4.0.5.SP1. The fix will be in JBoss-5.0.0.CR1 and JBoss-4.2.3.GA. Thanks for the patch!

> If SingletonStatelessSessionInstancePool is used for a SLSB, container MBean state is reported incorrectly
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-5528
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5528
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions: JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta4, JBossAS-4.2.2.GA
>         Environment: JDK 1.4.2, Windows NT 5.1, Cygwin
> (any other anvironment should do as well, though).
>            Reporter: Andrew Shcheglov
>         Assigned To: Alexey Loubyansky
>             Fix For: JBossAS-5.0.0.CR1, JBossAS-4.2.3.GA
>
>
> If SingletonStatelessSessionInstancePool instead of regular StatelessSessionInstancePool is used for a SLSB,
> State/StateString JMX attributes
> of the container MBean (jboss.j2ee:jndiName=XXX,plugin=pool,service=EJB)
> are always 8/Registered.
> This is most probably caused by the fact that org.jboss.ejb.plugins.SingletonStatelessSessionInstancePool class
> directly overrides create()/start()/stop()/destroy() operations
> with empty implementations,
> which any MBean derived from ServiceMBeanSupport shouldn't.
> This seems even more useless
> since AbstractInstancePool (the direct superclass of SingletonStatelessSessionInstancePool )
> doesn't override any methods from ServiceMBeanSupport.

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