vilpan wrote:
> Windows XP Professional SP3.
It runs better on Red Had Linux!
-- Eduardo
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco
-- Eduardo
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco
-- Eduardo
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco
Also, can you recreate the error with debug log level and send it to me?
-- Eduardo
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco
Then, looking at your log:
1) DISCONNECTED event is fired
2) Activity is ended
3) DISCONNECTED event is routed
4) ActivityEndEvent is routed
5) DISCONNECTED event is routed again
5) is of course the reason of this mess, while you fix the handle I
will try to find out how can this happen. Whatever is the issue reason
the container must be protected from it, I will leave the container
code untouched till we understand exactly why this is happening.
-- Eduardo
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco
See http://code.google.com/p/mobicents/issues/detail?id=1617 , the
patch is there if you wish to test it before is committed.
But you still should fix your activity handle hashcode and equals, for
instance using using instead a connection id, or some unpredictable
behavior can happen, and it's always not clear where it comes from.
Also, if you want the best performance, I recommend you to check if
there is a transaction and in such case using instead the transacted
methods to fire event and end the activity.
-- Eduardo
-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
http://emmartins.blogspot.com
http://www.redhat.com/solutions/telco
Patch committed. Build it manually, "ant" in
svn/trunk/servers/jain-slee/release, or wait for next build (1105)
done by Hudson server at
http://hudson.jboss.org/hudson/job/MobicentsSlee/
> Could you please elaborate on the aspect of performance gain when
> using transactions? I thought current logic is not sophisticated
> enough to require transactions and I didn't know it might provide
> considerable impact on performance. Are there any other cases where
> you would strongly recommend using transactional API alternatives?
> What are the cases when non-transactional ones should be preferred?
Whenever you have a tx context and use a non-transactional method then
Mobicents container has to go around the tx, this is mandated by JAIN
SLEE 1.1 spec. This means that if you know for sure there is a tx it's
preferable to use the transactional methods. Anyway this is a blind
shot, was just alerting about this curious behavior, performance must
be measured, sometimes the gains are not important so perhaps leave
such optimizations to the end.
-- Eduardo