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.out there is a line about the APR library that shows the "java library path" that could be usefull : java.library.path: /usr/java/jdk1.6.0_20/jre/lib/amd64/server:/usr/java/jdk1.6.0_20/jre/lib/amd64:/usr/java/jdk1.6.0_20/jre/../lib/amd64:/opt/CA/SharedComponents/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Any Suggestion? Stefano. Il giorno sab, 23/10/2010 alle 00.21 +0400, Konstantin Kolinko ha scritto: > 2010/10/22 Stefano Suzzi <s.su...@protesa.it>: > > > > 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 I can access my web application but it works only locally. > > > > Here is the catalina.out with the error in red and the configuration > > file server.xml > > > > any help is really appreciated. > > > > Looking at the sources for NioReceiver.java:266 of TC 6.0.26 [1], > > ServerSocketChannel server = > (ServerSocketChannel) key.channel(); > SocketChannel channel = server.accept(); > 266 -> channel.socket().setReceiveBufferSize(getRxBufSize()); > > so it is likely that ServerSocketChannel.accept() call on line 265 > returned null. > > What is your Java vendor and version? > > [1] > http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_26/java/org/apache/catalina/tribes/transport/nio/NioReceiver.java?revision=920929&view=markup#l266 > > > > By the way, when you will post your server.xml next time, please > remove all the comments. > > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >