RE: Problem embedding in Glassfish

2009-11-10 Thread Zhu, Yan-Bo (TSG-GDCC-CD)
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

RE: implement a ftplet to limit the size of upload files

2009-10-26 Thread Zhu, Yan-Bo (TSG-GDCC-CD)
.). -- awaitUninterruptibly : it makes sure the 150 150_FILE_STATUS_OKAY command is sent before proceeding. --ServerFtpStatistics: this component keeps statistics of the FTPServer usage. If you don't know it, you probably don't need it. Still, I think your code doesn't break it in any way. 2009/10/21 Zhu, Yan-Bo (TSG

Re: implement a ftplet to limit the size of upload files

2009-10-21 Thread Zhu, Yan-Bo (TSG-GDCC-CD)
I'v figured out a implementation by copy the sourcecode in STOR.java to my Ftplet's onUpload method. The following the sourcecode ,pls notice the // at the start of some lines , Some changes are needed: 1, LocalizedFtpReply.translate()method is not usable in ftplet, 2, create a new

implement a ftplet to limit the size of upload files

2009-10-20 Thread Zhu, Yan-Bo (TSG-GDCC-CD)
Hi, I need to limit the size of upload files ,are there any good suggestions? Is implementing a ftplet possible to do this? Thanks for the help! Bob Zhu