Menu

jml1.0b4release switchboard closed

Help
pgty
2010-01-27
2013-04-29
  • pgty

    pgty - 2010-01-27

    There was a problem that I sent a piece of message with my account,a moment later,JML would triger incident of switchboardClosed,and at this exact moment,if I sent saveral more pieces of message to JML with my account, the first piece of message would be lost.This did not happened in JML 1.0B3.According to SVN record, it might be caused by revision 125 modification.

     
  • Damian Minkov

    Damian Minkov - 2010-01-27

    Hi,

    can you reproduce the problem ? It seems to me a synchronization issue. The switchboards(SB) are closed after some period of inactivity, so if you have sent the message it will be activity and SB won't be closed, if it was closed successfully just before you sent, a new SB will be created and finally you won't lose the message. Any exception? Any logs or steps to reproduce the problem if you manage to reproduce it every time? Thanks

     
  • pgty

    pgty - 2010-01-27

    I understand what you mean,When the news was lost no exception, This situation will appear every time. You can try.

     
  • pgty

    pgty - 2010-01-27

    Such a situation in JML 1.0 B3, there is no, When you send messages to is the same account

     
  • Damian Minkov

    Damian Minkov - 2010-01-27

    You mean this is happening with every first message sent to somebody ?

     
  • pgty

    pgty - 2010-01-27

    For example, your account for a@live.cn, you sent a message to jml,wait moment 7 minutes about,Can see inside the LOG print switchboardClosed, now you again sent a message to jml,sometime this message would be lost

     
  • Damian Minkov

    Damian Minkov - 2010-01-27

    Strange I tried several times but cannot reproduce it. Currently the switchboard is closed after 5 minutes of inactivity. I send a message to jml then wait to see switchboardClosed and then quickly send several messages and none of them is lost.

     
  • pgty

    pgty - 2010-01-27

    Can you send me a jml .jar  my email:pgty119@163.com

     
  • Damian Minkov

    Damian Minkov - 2010-01-27

    I'm using latest trunk. Just made simple main method login through jml add listeners and print in SwitchboardListener.switchboardClosed and in MessageListener.instantMessageReceived. Nothing special here.

     
  • pgty

    pgty - 2010-01-27

    the log as follows: 
    - root -388515  INFO  root  - webtalk.im.robot.IMLogger(locationInfo:52)
    - root -388531  INFO  root  - switchboardClosed() is call !!
    - root -388531  INFO  root  - webtalk.im.robot.IMLogger(locationInfo:52)
    - root -388531  INFO  root  - MsnSwitchboard: msn-test1@live.cn closed

     
  • pgty

    pgty - 2010-01-27

    I'm using latest trunk too but I send a message to jml then wait to see switchboardClosed the message lost and jml no event

     
  • pgty

    pgty - 2010-01-28

    I understand why you don't reproduce this problem, because you wait process without closing MSN dialog

     
  • pgty

    pgty - 2010-01-28

    Thoroughly tested, all versions have this problem

     
  • Damian Minkov

    Damian Minkov - 2010-01-28

    What do you mean by "closing MSN dialog" ?

     
  • Damian Minkov

    Damian Minkov - 2010-01-28

    Aha you mean closing the chat window, aha I will try that.

     
  • pgty

    pgty - 2010-01-28

    I am Very sorry,My English is not good,closing MSN dialog that Microsoft windows live conversation dialog

     
  • pgty

    pgty - 2010-02-02

    Do you anyone to help me

     
  • Damian Minkov

    Damian Minkov - 2010-02-02

    I again have tried and there is no problem with that all my messages are received. Here is the scenario I have tested :
    Run jml client and from Windows Live Messenger open a Dialog and send some messages. After some time I close the dialog and wait the switchboard to be closed by the jml client and after that I open new Dialog and send 2-3 messages quickly one after another and I receive all of them without any problem. Isn't this scenario the same when you test?

     
  • Damian Minkov

    Damian Minkov - 2010-10-13

    Can you try latest svn version and setting system property net.sf.jml.impl.CLOSE_ON_IDLE_PROP to false and try again if you are still experiencing this problem.

     

Log in to post a comment.