Hello MINA Users,
   I'm having a strange problem. I'm running a MINA Server that is very 
similar to the echo example. When I telnet to the server to test it, 
everything works fine. However, whenever I use the commons.net 
TelnetClient, the server receives the message, but neither 
messageReceived() or dataRead() is called. (I implemented both 
messageReceived(IoSession, Object) & dataRead(IoSession, ByteBuffer) 
trying to make it work, I originally only had messageReceived() and it 
didn't work that way either.) I know my MINA server is receiving the 
messages the TelnetClient is sending because the logger is printing out 
messages like this:

17371 [AnonymousIoService-1-15] INFO 
aero.sita.bbg.test.mina.examples.echoserver.EchoProtocolHandler - 
[/XX.X.X.XX:3323] RECEIVED: DirectBuffer[pos=0 lim=22 cap=8192: 54 65 72 
6D 69 6E 61 6C 20 23 32 3A 20 4D 65 73 73 61 67 65 20 30]
17403 [AnonymousIoService-1-14] INFO 
aero.sita.bbg.test.mina.examples.echoserver.EchoProtocolHandler - 
[/XX.X.X.XX:3341] RECEIVED: DirectBuffer[pos=0 lim=23 cap=8192: 54 65 72 
6D 69 6E 61 6C 20 23 31 38 3A 20 4D 65 73 73 61 67 65 20 30]

(I manually replaced the IP address with X's) But the println's in message 
Received() & dataRead() are not coming up. I'm using MINA version 0.9.4 
and JRE 1.4.2_12. Any assistance you could provide would be greatly 
appreciated. 

Best Regards,

Elizabeth Clause

Reply via email to