On Tue, Oct 21, 2008 at 7:10 AM, Phlogiston Eight <[EMAIL PROTECTED]> wrote: > Unfortunately, we can't switch to Tomcat because it is not an Application > Server--only supports web applications, not J2EE apps. We are constrained to > Glassfish.
Over at [EMAIL PROTECTED] Jeanfrancois Arcand from the Glassfish team quickly figured out that it is this bug in Glassfish: https://glassfish.dev.java.net/issues/show_bug.cgi?id=5321 This bug affects all uses of NIO in Glassfish, thereby also MINA. It is resolved by adding the following to domain.xml: <jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options> I've confirmed that this fixes the problems with FtpServer in Glassfish and it now behaves as in any other appserver. /niklas
