Author: baranowb
Date: Fri Nov 14 09:03:08 2008
New Revision: 3672

Modified:
trunk/servers/media/core/server-impl/src/main/java/org/mobicents/media/server/impl/jmx/EndpointManagement.java

Log:
Bug reported by Amit. Caused by typo, tearDown used jboss mbean stop - which destroyed mbean, instead of endpoint stop, which makes it not accept new reqeusts. tearDown caused whole MMS to be expunched.

Modified: trunk/servers/media/core/server-impl/src/main/java/org/mobicents/media/server/impl/jmx/EndpointManagement.java
==============================================================================
--- trunk/servers/media/core/server-impl/src/main/java/org/mobicents/media/server/impl/jmx/EndpointManagement.java (original) +++ trunk/servers/media/core/server-impl/src/main/java/org/mobicents/media/server/impl/jmx/EndpointManagement.java Fri Nov 14 09:03:08 2008
@@ -344,7 +344,7 @@
        }

        public void tearDownPlatform() {
-               this.stop();
+               this.stopPlatform();
                for(String name: this.getEndpointNames())
                {
                        this.destroyEndpoint(name);

Reply via email to