Menu

Login, Send a message, Response and Logout

Help
2009-12-08
2013-04-29
  • Bruno Vilar

    Bruno Vilar - 2009-12-08

    My focus is to create a system that perform the following functions:
    Login
    Shortly thereafter Send a message
    Receive the response and store somewhere
    Logout

    My problems are:
    When I simply login logout then I get error too And the message is not sent.
    If I run in debug mode and wait for a time after logging runs normal without errors and sends the message.
    If I call the logout method also runs without errors.

    EVERE: error shutting down input on socket
    java.net.SocketException: Socket is closed
    at java.net.Socket.shutdownInput(Socket.java:1357)
    at net.sf.jml.net.Session.close(Session.java:375)

    When I log then send a message and I get logout

    INFO: email.teste@gmail.com NS >>> VER 1 MSNP15 MSNP14 MSNP13 MSNP12 MSNP11 MSNP10 MSNP9 MSNP8 CVR0

    INFO: email.teste@gmail.com NS >>> CVR 2 0x0416 winnt 5.1 i386 MSNMSGR 8.5.1288.816 MSMSGS plancorp.teste@gmail.com

    SEVERE: error shutting down input on socket
    java.net.SocketException: Socket is closed
    at java.net.Socket.shutdownInput(Socket.java:1357)
    at net.sf.jml.net.Session.close(Session.java:375)
    SEVERE: error flushing remaining output on socket
    java.net.SocketException: Socket is closed
    at java.net.Socket.getOutputStream(Socket.java:808)
    at net.sf.jml.net.Session.close(Session.java:382)
    at net.sf.jml.protocol.MsnSession.close(MsnSession.java:176)

    Could anyone help me solve this problem, if someone has an example that performs these functions would be grateful if I could send the case to be able to better understand the operation of JML.
    Any help is welcome

     
  • Bruno Vilar

    Bruno Vilar - 2009-12-08

    My focus is to create a system that perform the following functions:

    Login

    Shortly thereafter Send a message

    Receive the response and store somewhere

    Logout

    My problems are:

    When I simply login logout then I get error too And the message is not sent.
    If I run in debug mode and wait for a time after logging runs normal without errors and sends the message.
    If I call the logout method also runs without errors.

    EVERE: error shutting down input on socket
    java.net.SocketException: Socket is closed
    at java.net.Socket.shutdownInput(Socket.java:1357)
    at net.sf.jml.net.Session.close(Session.java:375)

    When I log then send a message and I get logout

    INFO: email.teste@gmail.com NS >>> VER 1 MSNP15 MSNP14 MSNP13 MSNP12 MSNP11 MSNP10 MSNP9 MSNP8 CVR0

    INFO: email.teste@gmail.com NS >>> CVR 2 0x0416 winnt 5.1 i386 MSNMSGR 8.5.1288.816 MSMSGS plancorp.teste@gmail.com

    SEVERE: error shutting down input on socket
    java.net.SocketException: Socket is closed
    at java.net.Socket.shutdownInput(Socket.java:1357)
    at net.sf.jml.net.Session.close(Session.java:375)
    SEVERE: error flushing remaining output on socket
    java.net.SocketException: Socket is closed
    at java.net.Socket.getOutputStream(Socket.java:808)
    at net.sf.jml.net.Session.close(Session.java:382)
    at net.sf.jml.protocol.MsnSession.close(MsnSession.java:176)

    Could anyone help me solve this problem, if someone has an example that performs these functions would be grateful if I could send the case to be able to better understand the operation of JML.
    Any help is welcome

     

Log in to post a comment.