svn commit: r469360 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java webapps/docs/changelog.xml

2006-10-30 Thread markt
Author: markt Date: Mon Oct 30 19:51:44 2006 New Revision: 469360 URL: http://svn.apache.org/viewvc?view=rev&rev=469360 Log: Fix bug 37458 where concurrent attempts to load the same class could set entry.manifest to null in one thread whilst the other thread(s) were operating under the assumptio

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Remy Maucherat
Peter Rossbach wrote: Hi Filip, ok, next step: 30.10.2006 19:51:44 org.apache.catalina.core.ApplicationContext log INFO: ChatServlet: Begin for session: DC3A87204AA3AE2A441848596CF77373 30.10.2006 19:52:27 org.apache.catalina.core.ApplicationContext log INFO: ChatServlet: Error for session: DC3

svn commit: r469207 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-10-30 Thread fhanik
Author: fhanik Date: Mon Oct 30 09:47:26 2006 New Revision: 469207 URL: http://svn.apache.org/viewvc?view=rev&rev=469207 Log: Fixed null pointer exception on comet socket timeout Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/tc6.0.x/trunk/ja

svn commit: r469178 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-10-30 Thread fhanik
Author: fhanik Date: Mon Oct 30 08:15:35 2006 New Revision: 469178 URL: http://svn.apache.org/viewvc?view=rev&rev=469178 Log: Revert fix, suggestion was incorrect and can lead to memory leaks Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/tc6

svn commit: r469168 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-10-30 Thread fhanik
Author: fhanik Date: Mon Oct 30 07:53:19 2006 New Revision: 469168 URL: http://svn.apache.org/viewvc?view=rev&rev=469168 Log: If the key is null, channel is closed,not sure this is the correct fix, since the key potentially had an attachment this could lead to NIO mem leak, must track down how t

svn commit: r469141 - in /tomcat/tc6.0.x/trunk/webapps/examples/jsp/chat: chat.jsp login.jsp

2006-10-30 Thread pero
Author: pero Date: Mon Oct 30 05:10:02 2006 New Revision: 469141 URL: http://svn.apache.org/viewvc?view=rev&rev=469141 Log: fix small html smells Modified: tomcat/tc6.0.x/trunk/webapps/examples/jsp/chat/chat.jsp tomcat/tc6.0.x/trunk/webapps/examples/jsp/chat/login.jsp Modified: tomcat/tc

svn commit: r469198 - /tomcat/container/tc5.5.x/webapps/docs/logging.xml

2006-10-30 Thread rjung
Author: rjung Date: Mon Oct 30 09:10:40 2006 New Revision: 469198 URL: http://svn.apache.org/viewvc?view=rev&rev=469198 Log: Correct URL typo for java.util.logging API docs. Modified: tomcat/container/tc5.5.x/webapps/docs/logging.xml Modified: tomcat/container/tc5.5.x/webapps/docs/logging.xm

svn commit: r469212 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-10-30 Thread fhanik
Author: fhanik Date: Mon Oct 30 10:07:22 2006 New Revision: 469212 URL: http://svn.apache.org/viewvc?view=rev&rev=469212 Log: cancel the keys Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndp

svn commit: r469211 - /tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java

2006-10-30 Thread pero
Author: pero Date: Mon Oct 30 10:06:52 2006 New Revision: 469211 URL: http://svn.apache.org/viewvc?view=rev&rev=469211 Log: Fix some html smells Modified: tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java Modified: tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/clas

svn commit: r469189 - /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2006-10-30 Thread fhanik
Author: fhanik Date: Mon Oct 30 08:47:10 2006 New Revision: 469189 URL: http://svn.apache.org/viewvc?view=rev&rev=469189 Log: Fixed bug where OP interest is different for the first time the key is used, hence a key that never has been read would never timeout. Modified: tomcat/tc6.0.x/trunk/

svn commit: r469213 - /tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

2006-10-30 Thread fhanik
Author: fhanik Date: Mon Oct 30 10:09:38 2006 New Revision: 469213 URL: http://svn.apache.org/viewvc?view=rev&rev=469213 Log: after close has been called we are no longer a comet thingy Modified: tomcat/tc6.0.x/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java Modified: tomcat/tc6

Re: Strange tcnative version at tomcat60

2006-10-30 Thread Peter Rossbach
OK, at which time you plan the 2.x cut? regards Peter Am 30.10.2006 um 20:03 schrieb Mladen Turk: Peter Rossbach wrote: Hi Malden, Must be tcnative at tomcat60 not an external svn link? I would like that we have the subset of connectors/jni inside tc6/native (only the parts that are used

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Peter Rossbach
Hi Filip, ok, next step: 30.10.2006 19:51:44 org.apache.catalina.core.ApplicationContext log INFO: ChatServlet: Begin for session: DC3A87204AA3AE2A441848596CF77373 30.10.2006 19:52:27 org.apache.catalina.core.ApplicationContext log INFO: ChatServlet: Error for session: DC3A87204AA3AE2A441848596C

Re: Strange tcnative version at tomcat60

2006-10-30 Thread Mladen Turk
Peter Rossbach wrote: Hi Malden, Must be tcnative at tomcat60 not an external svn link? I would like that we have the subset of connectors/jni inside tc6/native (only the parts that are used). The probable version will be 2.x while the version in connectors/jni will stay as 1.x for tc 5.5.x

Strange tcnative version at tomcat60

2006-10-30 Thread Peter Rossbach
Hi Malden, I have check the tcnative connector at tomcat 60. Strange, the version numbers differ tomcat60/native/connector/include/tcn_version.h * @version $Revision: 466609 $, $Date: 2006-10-22 01:30:39 +0200 (Sun, 22 Oct 2 tomcat55/connectors/jni/native/include/tcn_version.h * @versio

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Filip Hanik - Dev Lists
ok, I fixed the NPE, thanks for bringing to my attention. I haven't used the chat app yet, so I can't speak for how it works. Filip Peter Rossbach wrote: Hi Filip, I have use newest tomcat 6 svn head, with jdk 1.5.0_06, MAC OS X 10.4.8, PPC, fresh build. Used Safari and FireFox 1.5 Open a

Find some compiler warnings at tcnative network.c at mac os x

2006-10-30 Thread Peter Rossbach
Hi, I see following compiler warning at mac os x 10.4.8 gcc 4.0.1. === I/Users/peter/tools/local/include -I/Users/peter/tools/local// include/apr-1 -o src/network.lo -c src/network.c && touch src/ network.lo src/network.c: In function 'Java_org_apache_tomcat_jni_Socket_send': src/network.c

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Peter Rossbach
Oops, as you find a fix, I will test it :-) regards Peter Am 30.10.2006 um 17:05 schrieb Filip Hanik - Dev Lists: yeah, that fix is not entirely correct and can lead to problems down the road, the problem is bigger than that, I have to catch the socket being closed earlier so that I can un

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Peter Rossbach
Hi Filip, I have use newest tomcat 6 svn head, with jdk 1.5.0_06, MAC OS X 10.4.8, PPC, fresh build. Used Safari and FireFox 1.5 Open a Window 1 http://localhost:8080/examples/jsp/chat/login.jsp -> get post.jsp dialog Open new Window 2 with http://localhost:8080/examples/jsp/chat/chat ->

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Filip Hanik - Dev Lists
yeah, that fix is not entirely correct and can lead to problems down the road, the problem is bigger than that, I have to catch the socket being closed earlier so that I can unattach the attachment from the key Filip Filip Hanik - Dev Lists wrote: how do you reproduce this? I've added in your

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Filip Hanik - Dev Lists
how do you reproduce this? I've added in your fix, but cant reproduce the problem Filip Peter Rossbach wrote: Hi Filip. you see at my situation the key can be null: 30.10.2006 16:03:20 org.apache.tomcat.util.net.NioEndpoint$Worker run INFO: [EMAIL PROTECTED]:java.nio.channels.SocketChannel[

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Peter Rossbach
Hi Filip. you see at my situation the key can be null: 30.10.2006 16:03:20 org.apache.tomcat.util.net.NioEndpoint$Worker run INFO: [EMAIL PROTECTED]:java.nio.channels.So cketChannel[connected local=/127.0.0.1:8080 remote=/127.0.0.1:50517] [EMAIL PROTECTED] 30.10.2006 16:03:40 org.apache.to

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Filip Hanik - Dev Lists
interesting, I will take a look thanks for the feedback Filip Peter Rossbach wrote: Hi Filip, I found that MAC OS X only support setTrafficClass with following JDK option -Djava.net.preferIPv4Stack=true http://lists.apple.com/archives/java-dev/2006/Jun/msg00414.html It seems a older IPV6

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Peter Rossbach
Hi Filip, I found that MAC OS X only support setTrafficClass with following JDK option -Djava.net.preferIPv4Stack=true http://lists.apple.com/archives/java-dev/2006/Jun/msg00414.html It seems a older IPV6 bug. At which place we can document those things? -> F&Q The chat example flush t

Re: It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Filip Hanik - Dev Lists
try to set the property socket.soTrafficClass to some other value, if it's not working, what JDK are you running, here is the flag described by SUN http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int) Peter Rossbach wrote: Hi Filip, I am starting testing your n

It seems that Http11NioProtocol handler not working at mac os x 10.4.8 ppc

2006-10-30 Thread Peter Rossbach
Hi Filip, I am starting testing your new NioProtocol handler, but I got following exception: 30.10.2006 13:37:24 org.apache.tomcat.util.net.NioEndpoint setSocketOptions SCHWERWIEGEND: java.net.SocketException: Invalid argument at sun.nio.ch.Net.setIntOption0(Native Method)

Scott Johnson/Raleigh/IBM is out of the office.

2006-10-30 Thread Scott Johnson
I will be out of the office starting 10/30/2006 and will not return until 11/02/2006. I am in class and will be checking email sporadically. If you need assistance please contact Will Gregory ([EMAIL PROTECTED]).

svn commit: r469092 - in /tomcat/connectors/trunk/jni/native: include/tcn_version.h os/win32/libtcnative.rc

2006-10-30 Thread mturk
Author: mturk Date: Mon Oct 30 00:33:58 2006 New Revision: 469092 URL: http://svn.apache.org/viewvc?view=rev&rev=469092 Log: Increment working version Modified: tomcat/connectors/trunk/jni/native/include/tcn_version.h tomcat/connectors/trunk/jni/native/os/win32/libtcnative.rc Modified: t

svn commit: r469091 - /tomcat/connectors/trunk/jni/native/src/sslutils.c

2006-10-30 Thread mturk
Author: mturk Date: Mon Oct 30 00:33:28 2006 New Revision: 469091 URL: http://svn.apache.org/viewvc?view=rev&rev=469091 Log: Fix JNIEnv initialization order for password callback Modified: tomcat/connectors/trunk/jni/native/src/sslutils.c Modified: tomcat/connectors/trunk/jni/native/src/sslu

svn commit: r469090 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

2006-10-30 Thread mturk
Author: mturk Date: Mon Oct 30 00:29:31 2006 New Revision: 469090 URL: http://svn.apache.org/viewvc?view=rev&rev=469090 Log: Call the flush after sending headers if flush_header is defined. Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Modified: tomcat/connectors/trunk/j