Re: MINA and Glassfish

2008-10-21 Thread Niklas Gustavsson
Hey Has anyone made any progress on the troubles with MINA 2.0 in Glassfish? We have had some FtpServer users who have run into problems when deploying FtpServer in Glassfish, and they seem to be related. I just tried deploying our WAR example in Glassfish V2 UR2 b04 and got the following

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
Niklas Gustavsson wrote: Hey Has anyone made any progress on the troubles with MINA 2.0 in Glassfish? We have had some FtpServer users who have run into problems when deploying FtpServer in Glassfish, and they seem to be related. I just tried deploying our WAR example in Glassfish V2 UR2 b04

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
Niklas Gustavsson wrote: Hey Has anyone made any progress on the troubles with MINA 2.0 in Glassfish? We have had some FtpServer users who have run into problems when deploying FtpServer in Glassfish, and they seem to be related. I just tried deploying our WAR example in Glassfish V2 UR2 b04

Re: MINA and Glassfish

2008-10-21 Thread Mezei Zoltan
On Tue, Oct 21, 2008 at 1:45 PM, Emmanuel Lecharny [EMAIL PROTECTED] wrote: I would like to know if the trunk with this patch : http://svn.apache.org/viewvc?rev=706585view=rev fixes the problem. Anywone can test it ? I'll do it now, however it might take a time to get mina compiled from

Re: MINA and Glassfish

2008-10-21 Thread Niklas Gustavsson
On Tue, Oct 21, 2008 at 1:09 PM, Emmanuel Lecharny [EMAIL PROTECTED] wrote: I think there is something wrong in MINA code : protected NioSession accept(IoProcessorNioSession processor, ServerSocketChannel handle) throws Exception { SelectionKey key =

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
of logs ! PS : could we have the step necessary to install MINA into Glassfish ? -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org

Re: MINA and Glassfish

2008-10-21 Thread Niklas Gustavsson
the app and trying to connect using an FTP client. PS : could we have the step necessary to install MINA into Glassfish ? What I did was to use the ftpserver-example-spring-war example located here: http://svn.apache.org/repos/asf/mina/ftpserver/trunk/examples/ftpserver-example-spring-war

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
I'll do it now, however it might take a time to get mina compiled from source, I didn't do that before. Ok, I did it, but it didn't help :-( At least, this is not the same NPE :) It was used in a .war file with the following web.xml: When I deployed the war file to a glassfish

Re: MINA and Glassfish

2008-10-21 Thread Mezei Zoltan
On Tue, Oct 21, 2008 at 3:36 PM, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Ok, I did it, but it didn't help :-( At least, this is not the same NPE :) :-) Without the check, as the getConnectionRequest() method can return null for the very same reason than the previously fixed accept()

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
Mezei Zoltan wrote: However it yielded the following log messages only: 16:44:01.530 [pool-1-thread-1] DEBUG test - Before connect... 16:44:01.546 [pool-1-thread-1] DEBUG test - After connect... 16:44:01.546 [pool-1-thread-1] DEBUG test - Before await... And nothing else. The same code from a

Re: MINA and Glassfish

2008-10-21 Thread Jeanfrancois Arcand
and the problem will go away. A+ -- Jeanfrancois Emmanuel Lecharny wrote: Niklas Gustavsson wrote: Hey Has anyone made any progress on the troubles with MINA 2.0 in Glassfish? We have had some FtpServer users who have run into problems when deploying FtpServer in Glassfish, and they seem to be related. I

Re: MINA and Glassfish

2008-10-21 Thread Jeanfrancois Arcand
wrote: Niklas Gustavsson wrote: Hey Has anyone made any progress on the troubles with MINA 2.0 in Glassfish? We have had some FtpServer users who have run into problems when deploying FtpServer in Glassfish, and they seem to be related. I just tried deploying our WAR example in Glassfish V2 UR2 b04

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
Jeanfrancois Arcand wrote: Salut, this is a problem with GlassFish: https://glassfish.dev.java.net/issues/show_bug.cgi?id=5321 Mainly, there is a severe bug (we all whine about this %$#% mechanism, which has been dropped in v3). Just add, in domain.xml:

Re: MINA and Glassfish

2008-10-21 Thread Jeanfrancois Arcand
Niklas Gustavsson wrote: On Tue, Oct 21, 2008 at 7:52 PM, Jeanfrancois Arcand [EMAIL PROTECTED] wrote: the exact bug is (we got so much issues related to that :-)) https://glassfish.dev.java.net/issues/show_bug.cgi?id=3027 Thanks (I'll buy you a beer when I get the chance)! That also

Re: MINA and Glassfish

2008-10-21 Thread Emmanuel Lecharny
Jeanfrancois Arcand wrote: Niklas Gustavsson wrote: On Tue, Oct 21, 2008 at 7:52 PM, Jeanfrancois Arcand [EMAIL PROTECTED] wrote: the exact bug is (we got so much issues related to that :-)) https://glassfish.dev.java.net/issues/show_bug.cgi?id=3027 Thanks (I'll buy you a beer when I get

Re: MINA and Glassfish

2008-08-18 Thread Chris Hurst
with more testing or anything else? Hi, can you provide a small test case so we can reproduce it ? If so feel free to attach to a JIRA issue, so we can look at the problem. Cheers, Julien -- View this message in context: http://www.nabble.com/MINA-and-Glassfish-tp18767392p19030673

Re: MINA and Glassfish

2008-08-18 Thread Chris Hurst
? Can I help with more testing or anything else? Hi, can you provide a small test case so we can reproduce it ? If so feel free to attach to a JIRA issue, so we can look at the problem. Cheers, Julien -- View this message in context: http://www.nabble.com/MINA-and-Glassfish