Re: Java 7 and 8 features

2015-10-27 Thread tomcat
On 27.10.2015 17:01, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? I believe t

Re: Java 7 and 8 features

2015-10-27 Thread David kerber
On 10/27/2015 12:01 PM, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? Which ve

Re: Java 7 support on Tomcat 5.5

2013-04-01 Thread Nick Williams
On Apr 1, 2013, at 3:44 PM, Satheesh Babu wrote: > Good Evening! > > We're running our production applications in Tomcat 5.5/JRE 1.5, and there is > a need for us to migrate our applications to Java 7(JRE 1.7). There is no > information available either on java or on Apace Tomcat site regradin

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
On 1:59 PM, pricyber wrote: Using Orcale Java 7 u3. Will try to get some logs. Thanks A lot! On 2012-03-11, at 5:38 PM, Pid * [via Tomcat] wrote: On 11/03/2012 21:07, Pid wrote: On 11/03/2012 18:28, pricyber wrote: Yes I used Http11NioProtocol , more specifically I used Http11NioProtocol

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread pricyber
Using Orcale Java 7 u3. Will try to get some logs. Thanks A lot! On 2012-03-11, at 5:38 PM, Pid * [via Tomcat] wrote: > On 11/03/2012 21:07, Pid wrote: > > > On 11/03/2012 18:28, pricyber wrote: > >> Yes I used Http11NioProtocol , more specifically I used > >> Http11NioProtocol.class.getName(

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
On 11/03/2012 21:07, Pid wrote: > On 11/03/2012 18:28, pricyber wrote: >> Yes I used Http11NioProtocol , more specifically I used >> Http11NioProtocol.class.getName() to get the name of the class. >> >> The problem only occurs on Windows 2003 with Http11NioProtocol on Java 1.7, >> It works fine

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
On 11/03/2012 18:28, pricyber wrote: > Yes I used Http11NioProtocol , more specifically I used > Http11NioProtocol.class.getName() to get the name of the class. > > The problem only occurs on Windows 2003 with Http11NioProtocol on Java 1.7, > It works fine with Java 1.6 > Also Http11NioProtocol

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread pricyber
Yes I used Http11NioProtocol , more specifically I used Http11NioProtocol.class.getName() to get the name of the class. The problem only occurs on Windows 2003 with Http11NioProtocol on Java 1.7, It works fine with Java 1.6 Also Http11NioProtocol and Java 1.7 works fine with Windows 7 and Windo

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
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. No logs at all when I use Http11NIOProtocol. On 2012-03-11, at 9:28 AM, Stefan Mayr-2 [via Tomcat] wrote: > Am

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?

Re: Java 7

2011-11-23 Thread Ognjen Blagojevic
André, On 22.11.2011 20:31, André Warnier wrote: The reason I'm asking is that for testing some unrelated Java software, I am being asked to install Java 7 on a system on which currently happily runs Tomcat 6.x with Java 6 (Oracle), and I'd like to know if I would be setting myself up for some i

RE: Java 7

2011-11-22 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Java 7 > I believe I remember seeing some comments on the list about there > being some problems related to the Tomcat/Java 7 relationship. Tomcat cannot be built with Java 7, but it can be run with it. Make sure you use the latest ver