Re: Tomcat cluster error (null pointer except) on NioReceiver.java:266

2010-10-26 Thread Stefano Suzzi
In the post before I sed why accept() returns null, so i was investigating in tomcat and jdk_1.6 source code, and I found that the method accept in ServerSocketChannel.java can return null in case of non-blocking socket e no connection available. Should this be tested? and why ask for session rep

Re: Tomcat cluster error (null pointer except) on NioReceiver.java:266

2010-10-25 Thread Stefano Suzzi
Hi, thanks for reply, I was watching too the NioReceiver.java source code, and I was wondering why server.accept() does not throw an exception instead null, mha!. The java version in production is 1.6.0_20 vendor Sun 64bit. while in my devel environment is 1.6.0_11 vendor Sun 32bit. In catalina.o

Re: Tomcat cluster error (null pointer except) on NioReceiver.java:266

2010-10-22 Thread Konstantin Kolinko
2010/10/22 Stefano Suzzi : > > Hi, i've 3 tomcat 6.0.26  on 3 different IBM machines linux RedHat  el > 5, kernel.osrelease = 2.6.18-194.el5 . > > The 3 tomcat are giving an error that cannot replicate the session, > of course I cannot replicate the error in my devel systems that work > perfectly w

Tomcat cluster error (null pointer except) on NioReceiver.java:266

2010-10-22 Thread Stefano Suzzi
Hi, i've 3 tomcat 6.0.26 on 3 different IBM machines linux RedHat el 5, kernel.osrelease = 2.6.18-194.el5 . The 3 tomcat are giving an error that cannot replicate the session, of course I cannot replicate the error in my devel systems that work perfectly with the same configuration. In anycase