Hi All, Running the org.apache.mina.example.sumup example, I got exactly the same behavior. Logs attached for the client and the server.
Mina version is 1.0.2. This is a bug? Should I open a JIRA? Regards, Csaba
The client logs: [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] CREATED [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] OPENED [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] WRITE: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 00 00 00 00 01] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] WRITE: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 01 00 00 00 02] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] WRITE: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 02 00 00 00 03] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] WRITE: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 03 00 00 00 04] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] WRITE: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 04 00 00 00 05] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 00 00 00 00 01] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 01 00 00 00 02] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 02 00 00 00 03] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 03 00 00 00 04] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: DirectBuffer[pos=0 lim=10 cap=16: 00 01 00 00 00 04 00 00 00 05] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] RECEIVED: DirectBuffer[pos=0 lim=60 cap=65536: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 01 00 00 00 00 00 03 00 00 00 00 00 02 00 00 00 00 00 06 00 00 00 00 00 03 00 00 00 00 00 0A 00 00 00 00 00 04 00 00 00 00 00 0F] [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] The sum: 15 [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] CLOSE [14:58:15] INFO [org.apache.mina.example.sumup.ClientSessionHandler] - [localhost/127.0.0.1:8080] CLOSED The server logs: [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] CREATED [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] OPENED [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] RECEIVED: DirectBuffer[pos=0 lim=10 cap=65536: 00 01 00 00 00 00 00 00 00 01] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] WRITE: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 00 00 00 00 00 00 01] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] RECEIVED: DirectBuffer[pos=0 lim=10 cap=65536: 00 01 00 00 00 01 00 00 00 02] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] WRITE: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 01 00 00 00 00 00 03] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] RECEIVED: DirectBuffer[pos=0 lim=10 cap=65536: 00 01 00 00 00 02 00 00 00 03] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] WRITE: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 02 00 00 00 00 00 06] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] RECEIVED: DirectBuffer[pos=0 lim=10 cap=65536: 00 01 00 00 00 03 00 00 00 04] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] WRITE: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 03 00 00 00 00 00 0A] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] RECEIVED: DirectBuffer[pos=0 lim=10 cap=65536: 00 01 00 00 00 04 00 00 00 05] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] WRITE: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 04 00 00 00 00 00 0F] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 00 00 00 00 00 00 01] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 01 00 00 00 00 00 03] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 02 00 00 00 00 00 06] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 03 00 00 00 00 00 0A] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: DirectBuffer[pos=0 lim=12 cap=16: 00 00 00 00 00 04 00 00 00 00 00 0F] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] [14:58:15] INFO [org.apache.mina.example.sumup.ServerSessionHandler] - [/127.0.0.1:36351] CLOSED
