Re: Exception javax.sip.InvalidArgumentException: Address already in use
"M. Rangnathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Lebing, Give the listening point some time to exit all threads and close connections before you restart and see if that helps. There may also be some lags in the JVM before the connection is actually closed. Also note that TCP connections are kept around for a linger time in the stack before they are closed. This is to reduce latency ( tcp connections can be expensive to establish and I want to reuse them if a second tx needs to connect to the same remote ip addr and port in the linger time window). Take a look at how the linger timer is used. Set it to 0 and see if that clears things up for you. Regards Ranga Lebing Xie wrote: >Well, It is not a Bug report. Sometime (not always!) I got this >exxception after I restart the JAIN SIP application. I tried to find out >the reason but failed. Seemed that a exception from TCP/IP Native code? >Just want to know when and how comes such exception. > >urs Lebing > > >javax.sip.InvalidArgumentException: Address already in use > at >gov.nist.javax.sip.SipStackImpl.createListeningPoint(SipStackImpl.java:497) > > >_______________________________________________ >nist-sip mailing list >[email protected] >http://www-x.antd.nist.gov/mailman/listinfo/nist-sip > > -- M. Ranganathan Advanced Networking Technologies Division, National Institute of Standards and Technology (NIST), 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/ Advanced Networking Technologies For the People!