Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-07-07 Thread Mark Thomas
On 14/03/2012 19:18, pricyber wrote: > I downloaded the apache source code and commented out the line in > org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties.java:184) > where it say > socket.setTrafficClass(soTrafficClass); > > And it works, but not sure if there are any

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-31 Thread pricyber
Any updates on this? -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4674549.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-27 Thread pricyber
I've confirm that -Djava.net.preferIPv4Stack=true made no difference to the Java 7 setup. -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4661984.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-18 Thread pricyber
I confirm that -Djava.net.preferIPv4Stack=true or = false made no differnece to the Java 7 setup. Thanks alot! -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4630889.html Sent from the Tomcat - User mailing list archive at Nabble.c

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-18 Thread Pid
On 16/03/2012 18:08, pricyber wrote: > I am doing this at the moment. I am away all of this week, but I've got a note to look into the traffic class config on Windows when I get back. Can you just confirm that setting: -Djava.net.preferIPv4Stack=true made no difference to the Java 7 setup? p >

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-16 Thread pricyber
I am doing this at the moment. diff /apache-tomcat-6.0.35-src/java/org/apache/tomcat/util/net/SocketProperties.java < socket.setTrafficClass(soTrafficClass); --- > try { > socket.setTrafficClass(soTrafficClass); > } catch (Throwable t) { > //TODO: L

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-16 Thread pricyber
OK. 1. Can you set the address field manually, rather than letting the defaults run? I tried with either "localhost", "127.0.0.1" still doesnt work. Also, can you please log "InetAddress.toString()" immediately before you do the above line? I suspect Inet4 v Inet6 is the culprit. Tried wi

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-15 Thread Pid
On 15/03/2012 01:08, pricyber wrote: > I did nothing in the xml files, but in the embedded tomcat I did this > instead. > > connector = embedded.createConnector((String)null, port, > Http11NioProtocol.class.getName()); OK. 1. Can you set the address field manually, rather than letting the defaul

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
I did nothing in the xml files, but in the embedded tomcat I did this instead. connector = embedded.createConnector((String)null, port, Http11NioProtocol.class.getName()); -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4619650.html S

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
I did nothing in the xml files, but in the embedded tomcat I did this instead. connector = embedded.createConnector((String)null, port, Http11NioProtocol.class.getName()); -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4619649.html S

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread Pid
On 14/03/2012 18:04, pricyber wrote: > It look like a similar issue with Tomcat 7 > http://tomcat.10.n6.nabble.com/Tomcat-7-Cluster-Issue-td4562937.html I couldn't replicate the issue on OSX with Oracle Java 7u4 or OpenJDK. The other thread referred to NIO configuration in the Cluster, which imp

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
I downloaded the apache source code and commented out the line in org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties.java:184) where it say socket.setTrafficClass(soTrafficClass); And it works, but not sure if there are any ill effects for doing that. This problem only o

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread pricyber
It look like a similar issue with Tomcat 7 http://tomcat.10.n6.nabble.com/Tomcat-7-Cluster-Issue-td4562937.html -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4579220.html Sent from the Tomcat - User mailing list archive at Nabble.co

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-13 Thread pricyber
I looked at the logs and I find this on Windows 2003 with Java 7 and tomcat 6.0.35 java.net.SocketException: Invalid argument: no further information at sun.nio.ch.Net.setIntOption0(Native Method) at sun.nio.ch.Net.setSocketOption(Net.java:279) at sun.nio.ch.SocketChannelImpl.setOption(SocketChan

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Terence M. Bandoian
ou reply to this email, your message will be added to the discussion below: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4567768.html To unsubscribe from Java 7 + Tomcat 6.0.35 + Win2k3 Problem, click here. NAML -- View this message in context: http://tomcat.1

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread pricyber
h Java 7 and Win2k3 with Tomcat 6.0.35? > >>>>>> > >>>>>> None I've heard of. > >>>>>> > >>>>>> > >>>>>> p > >>>>>> > >>>>>>> Thanks al

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
gt;>>>> p >>>>>> >>>>>>> Thanks alot. >>>>>>> >>>>> >>>>> You should supply some mode setup details: >>>>> - is tc-native used? Binaries or compiled by yourself? >>>&g

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
gt;>>>> >>>>>> Thanks alot. >>>>>> >>>> >>>> You should supply some mode setup details: >>>> - is tc-native used? Binaries or compiled by yourself? >>>> - What type of connector is used? Java BIO? >

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread pricyber
the access log valve to see if the request was > >> processed by your tomcat (and check the status code) > >> > > - > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > > > If you reply to this email, your message will be added to the discussion > below: > http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4567768.html > To unsubscribe from Java 7 + Tomcat 6.0.35 + Win2k3 Problem, click here. > NAML -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4567875.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Konstantin Kolinko
2012/3/11 pricyber : > Using binaries downloaded in a embedded java application. > I used Http11NIOProtocol, but if I use Http11Protocol, it works fine. So I > think Http11NIOProtocal is the problem in my setup. It is Http11NioProtocol. The spelling matters a lot. > No logs at all when I use H

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread pricyber
If you reply to this email, your message will be added to the discussion > below: > http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4567286.html > To unsubscribe from Java 7 + Tomcat 6.0.35 + Win2k3 Problem, click here. > NAML -- View this message in context: http://tomcat.10.n6.nabble.com/Java-7-Tomcat-6-0-35-Win2k3-Problem-tp4566739p4567612.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Stefan Mayr
Am 11.03.2012 11:33, schrieb Pid: On 11/03/2012 06:25, pricyber wrote: Hi I recently upgrade JDK from 1.6 to 1.7u3. And tomcat no longer work on Windows 2003, ie not sending response to any request either with https or plain http. But the same code/setting works on Windows 7 and my ubuntu machin

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
On 11/03/2012 06:25, pricyber wrote: > Hi I recently upgrade JDK from 1.6 to 1.7u3. And tomcat no longer work on > Windows 2003, ie not sending response to any request either with https or > plain http. But the same code/setting works on Windows 7 and my ubuntu > machine. Error logs? Access logs?

Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-10 Thread pricyber
Hi I recently upgrade JDK from 1.6 to 1.7u3. And tomcat no longer work on Windows 2003, ie not sending response to any request either with https or plain http. But the same code/setting works on Windows 7 and my ubuntu machine. Are there known issues with Java 7 and Win2k3 with Tomcat 6.0.35? Th