Causes and solutions of java.rmi.server.ExportException anomalies

Source: Internet
Author: User
1 Exception description

After the previous start of the server error, modify the errors, directly start again, reported the following exception:

2 Exception Reason

By observing the description of the anomaly above, we can know:

Java.rmi.server.ExportException:Port already in use:1099

This exception is: The port number is occupied with an exception. 3 Resolution method

The reason for this anomaly is obvious, by reading the 1th part of the "abnormal description", we can also find the problem, that is: modify the error, directly start again. Obviously, we did not close the previous service, although the program error, but it does not automatically shut down the service, we need to manually shut down the service. Otherwise, the port is occupied is reasonable.

Therefore, the way to resolve this exception is simple: first shut down the server, then reboot, OK.

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.