It seems to be something with my Vista machine. Here at work running XP, I have no problems :( Now to find out what in the heck it is. Since I see no debug output when connecting, it must still be some issue with security or firewall on the Vista machine. Funny thing is that I can start the standalone ftpd.exe and that runs.

Zhu, Yan-Bo (TSG-GDCC-CD) wrote:
Make sure you are not in debug mode and your application is breaking at a 
breakpoint.....
I am trying to embed the server in Glassfish.  I am doing so by creating
a Glassfish LifecycleListener and I start the server up when I receive
the ready event.  This seems to be working but I cannot connect to the
server.  I try and basically the connect just hangs.  I am running this
on Window's Vista and I have turned off the firewall.

Netstat -a reports:


    Active Connections

      Proto  Local Address          Foreign Address        State
      TCP    0.0.0.0:21             brett-home:0
LISTENING


So it seems like the server is up and running.  I also made sure that I
did not have anything running on port 21 to begin with.

 My Glassfish log looks like:

    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
    SMGT0007: Self Management Rules service is enabled
    [ INFO] 2009-11-10 21:05:32,534 [] [] FTP server started
    onReady called
    Application server startup complete.

So from that it looks like I the server started up correctly.  But I
cannot connect to the server:

    C:\Users\brett>ftp localhost
    Connected to brett-home.

This just hangs.  I don't see anything in the Glassfish log either when
I do this.  It's as if it never reaches the code.


Reply via email to