I downloaded mina-2.0.0-M5 and created an ant build.xml file to compile and run 
the tennis example. When I try "ant run" I get the following output:

-----------------------------------------------
run:
     [java] Gonzo: Starting
     [java] Player-1: READY
     [java] Player-0: READY
     [java] Gonzo: Sending first message
     [java] Player-0: RCVD PING (10)
     [java] Player-1: SENT PING (10)
     [java] Player-1: RCVD PONG (9)
     [java] Player-0: SENT PONG (9)
     [java] Player-0: RCVD PING (8)
     [java] Player-1: SENT PING (8)
     [java] Player-1: RCVD PONG (7)
...
     [java] Player-0: SENT PONG (1)
     [java] Player-0: QUIT
     [java] Gonzo: Waiting for match end
     [java] Gonzo: Unbinding acceptor
     [java] Gonzo: Finishing
-----------------------------------------------

And that's it, it stops printing anything and I have to Ctrl-C it. As you can 
see, I added some logging of my own. The final "Finishing" line is the very 
last line on the main() method, right after acceptor.unbind(). There are no 
other changes to the code.

If I comment out everything in the main method except my "Starting" and 
"Finishing" log lines, I get the following output:

-----------------------------------------------
run:
     [java] Gonzo: Starting
     [java] Gonzo: Finishing

BUILD SUCCESSFUL
Total time: 0 seconds
-----------------------------------------------

So it would seem this is NOT an ant-related problem. Any hints?

Thanks and best regards.


----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 

Reply via email to