Hi Dawie,
first of all many thanks for your quick and detailed response. The thing
I don't understand in this context is the following:
In normal cases (I restart the server or kill the process over kill -9)
the devices are registering this and are trying to reconnect after
restart of the server. So the device is notified that the session was
closed. How can it happen (or which cases could this be) that sometimes
when I call a session close, the device doesn't register, that the
server session closes. Can it be a little remaining bug in Mina or a
problem between Mina and the underlying system or what else?
Best Regards
Michael
Dawie Malan schrieb:
*******************************************************************
Click here to view our e-mail legal notice:
http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 7000
*******************************************************************
Michael,
You're quite right - there is something in the middle, and it does cause the
symptoms you are reporting.
A GPRS network has two essential elements:
*Serving GPRS Support Node (SGSN)-Sends data to and receives data from mobile
stations, and maintains information about the location of a mobile station (MS).
The SGSN communicates between the MS and the GGSN.
*Gateway GPRS Support Node (GGSN)-A wireless gateway that allows mobile cell
phone users to access the public data network (PDN) or specified private IP
networks.
The GGSN acts like a proxy and is the device that sends the ACKs to the phone
even though the session is already closed on the server side.
I hope this answers your question.
Regards,
Dawie Malan
-----Original Message-----
From: Michael Bauroth [mailto:[EMAIL PROTECTED]
Sent: 22 March 2007 04:40 PM
To: [email protected]
Subject: Session close problem
Hi,
I'm using currently the trunk version of Mina. I use it to communicate
with GPRS devices on the other side. In most cases this works very well!
But sometimes the things become strange. I've collected a bunch of
problems where I would need help / advices / ideas.
1. I call session.close() from inside my server. It seems, that the
session doesn't close as required.
2. I close the session. The GPRS device on the other side continues to
send data and seems to get ACKs too. It doesn't recognize, that the
other side of the connection (the server) has closed the session a while
before. It seems that there is something in the middle which responds
the ACKs even with not opened server session.
Knows anybody one of the two (most painful) problems and has an answer
for me?
Best Regards
Michael