Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2246 by gongda.fan: sessionDestroyed() and
sessionReadyToInvalidate() is called twice.
http://code.google.com/p/mobicents/issues/detail?id=2246
What steps will reproduce the problem?
1.write a class implements the SipApplicationSessionListener
2.output some debug messages and call Thread.sleep(1000*5) in
sessionReadyToInvalidate().
3.view the server out, debug messages in the sessionReadyToInvalidate() and
sessionDestroyed() appear twice.
What is the expected output? What do you see instead?
The sessionDestroyed() and sessionReadyToInvalidate() of
SipApplicationSessionListener should be called once.
I tried the same code in the MSS-1.4.0-Fianl (jboss), it is work fine.
sessionDestroyed() and sessionReadyToInvalidate() is called only once.
What version of the product are you using? On what operating system?
OS-System: Linux 2.6.35-gentoo-r12,i386
Java version: 1.6.0_22,Sun Microsystems Inc.
VM arguments: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
-Djava.endorsed.dirs=/opt/mss-jboss/lib/endorsed
mss-1.5.0.FINAL-jboss-jdk6-5.1.0.GA-1012212016-LGPL and
mss-1.5.0.FINAL-jboss-jdk6-5.1.0.GA-1012212015-full
Please provide any additional information below.