This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Problem with client initialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Problem with client initialization" Watch "Problem with client initialization" New topic
Author

Problem with client initialization

Saraswathy Krishnamoorth
Ranch Hand

Joined: Mar 07, 2003
Posts: 73
When the client choses Network mode, he has to enter the server host and port. If the user enters a port other than the one on which Rmiregistry is running, I catch the connectException,IOException and display an error message to the user.
When I try to enter a port, which is used by some other application, I get a ConnectIOException and SocketTimeoutException and the system hangs. How to solve this problem. Only for few ports the system hangs. (i.e for example if 1027 and 1030 ports are used by some other application, if I enter 1030 , it catches the connectException and displays a highlevel information to the user. If I enter 1027, it throws ConnectIOException and sockettimeoutexception and the system hangs). Please help.
[ April 11, 2003: Message edited by: Saraswathy Krishnamoorth ]
[ April 11, 2003: Message edited by: Saraswathy Krishnamoorth ]
 
Consider Paul's rocket mass heater.
 
subject: Problem with client initialization
 
Similar Threads
SocketTimeoutException, ConnectIOException: Read timed out
Problem with Jtable
ConnectIOException
Package for exception
Jar