The code is:
... try { ...
out.println( "JAMES RemoteAdministration Tool " +
Constants.SOFTWARE_VERSION );
out.println("Please enter your login and password");
... loop ...
out.println("Login id:");
login = in.readLine().trim();
out.println("Password:");
password = in.readLine().trim();
... until good login ...
out.println("Welcome" + login + ". HELP for a list of commands");
... } catch ( final IOException e ) { out.println("Error. Closing
connection"); ...
So if you are seeing:
------------- telnet screen dump --------------
JAMES RemoteAdministration Tool 2.0a3-cvs
Please enter your login and password
Login id:
Error. Closing connection
Connection to host lost.
------------end of telnet screen dum -------------
then the IOException ought to be coming from login = in.readLine().trim().
Is it possible that you are seeing a socket timeout? Unfortunately, the
code eats the actual exception ( :-( ), so the log won't do you much good.
Are you able to build James from source? If so, you might want to modify
the catch block to log the specific exception; that might help identify the
problem.
--- Noel
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>