System. getProperty ()-the software in your host suspends an established connection, system. getproperty

Source: Internet
Author: User

System. getProperty ()-the software in your host suspends an established connection, system. getproperty

I cannot describe my mood at the moment ..

Originally, it was a completed netty5 demo program, and a tcp persistent connection was created between the server and the client .. then, just upload a simple demo of the data .. then I tried the tcp sticky Package example today and used the System. the tragedy of the getProperty () method has come into being .. after the program is modified, the server starts normally, and the client fails to get started, it automatically exits upon startup, improving the client exception capture, then we can occasionally report some exception information:

The software on your host suspends a established connection.

Some new software and plug-ins are installed today. If you uninstall them one by one, you still cannot start the clienet client. You still need to report this error. Check whether the anti-software program and firewall settings are normal.

This is strange. debug it and find that the connection is normal, create the message to be sent, and then wait for the message to be sent. I also wondered if the local running environment was broken. I quickly rolled back the code to the status before it was changed, and the code was executed normally .. by comparing the code, I just fell down...

System. getProperty ("line. separator") // System. getProperty ("line. seperator") // However, I wrote

This is an online game...

The reason is also quite understandable. When the jvm does not get the corresponding parameter, it directly reports an exception to the end program.

Another lesson is that the configuration parameters that are too low-level can be copied and never written. The mistake is really terrible ..

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.