You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/06/05 03:11:04 UTC

DO NOT REPLY [Bug 20489] New: - Time out waiting for response on Mac OS 8.6/9.2 (classic)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20489>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20489

Time out waiting for response on Mac OS 8.6/9.2 (classic)

           Summary: Time out waiting for response on Mac OS 8.6/9.2
                    (classic)
           Product: Commons
           Version: unspecified
          Platform: Macintosh
               URL: http://saloon.javaranch.com/cgi-
                    bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=000358
        OS/Version: MacOS 9
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: chris@javaranch.com


Problem posted by Rob Ross on JavaRanch:
I have a simple ftp applet written that works on Windows and Mac OS X but I
can't get it to work with MRJ 2.2.5 (OS 8.6/9.2 (classic) which uses JVM 1.1.8 ).

It times out waiting for a response from the server during the connection attempt. 

Followup posted by Rob Ross on JavaRanch:
It seems that there's a bug in the Commons-Net library and it's not doing the
right thing on the Mac with respect to its line seperator. On the Mac it's just
a \r, whereas on Windows it's \r\n.

Someplace in the telnet client object there's some assumption being made that is
not valid on the Mac platform.

I just changed the line.seperator System property at program startup to be \r\n
and now my ftp client works.

See complete thread at
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=000358

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org