Re: SSL and 408 error code (incomplete request)

2013-07-31 Thread André Warnier
sol myr wrote: Hi, Has anyone happened to stumble onto this issue, please: Our Ajax works perfectly as long as its non-secure. However, when switching to SSL we sometimes see 408 errors (incomplete request). This only happens on ajax, and inconsistently (similar requests might succeed on one

RE: SSL and 408 error code (incomplete request)

2013-07-31 Thread Martin Gainty
what happens if you increase the connectionTimeout (on your ssl connector) to a longer interval e.g.? $CATALINA_HOME/conf/server.xml Martin __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorg

SSL and 408 error code (incomplete request)

2013-07-31 Thread sol myr
Hi, Has anyone happened to stumble onto this issue, please: Our Ajax works perfectly as long as its non-secure. However, when switching to SSL we sometimes see 408 errors (incomplete request). This only happens on ajax, and inconsistently (similar requests might succeed on one moment, but fail

Re: Tomcat and IP transparency

2013-07-31 Thread Leon Rosenberg
Hello Joan, I fear I have to disappoint you. If I understand you correctly you want to manipulate the packets on the IP level, setting the source ip address to the ip address of the originator of the packet, similar to what a loadbalancer would do. It is possible technically, but it's a very diffe

RE: Tomcat and IP transparency

2013-07-31 Thread Ilya Kazakevich
Hello, They may use RemoteIpValve to fetch "real" ip from "x-forwarded-for" and set it to "remote_addr" where getRemoteAddr will get it. Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" >-Original Message- >From: Joan Balagueró Ventus Proxy >[ma

Tomcat and IP transparency

2013-07-31 Thread Joan Balagueró Ventus Proxy
Hello, I already asked this question to the Apache HttpClient Forum. They don't know if this is possible with java/Tomcat. I have developed a proxy servlet with an xml cache, running in a Tomcat 6.0.37 on Linux Centos6.4. When the incoming xml request (sent from an external client) is n

Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-07-31 Thread André Warnier
TRAN Trung Thanh wrote: Hi all, I am newbie here. Today, I tried to start apache tomcat 7.0.42 in Linux environment. Server path contains two consecutive spaces. When I run ./catalina.sh run, server cannot start and there is the following exception in console ./catalina.sh run Using CATALINA_

Re: WebappClassLoader problem

2013-07-31 Thread Nick Williams
On Jul 31, 2013, at 11:40 AM, Edward W. Rouse wrote: > I'm losing my mind here. I finally went full standard to see if the changes > in tomcat 7 would allow me to avoid custom class loaders and contexts, but > ran into a catch-22 issue. > > > > I was getting: > > > > java.lang.ClassCastExce

WebappClassLoader problem

2013-07-31 Thread Edward W. Rouse
I'm losing my mind here. I finally went full standard to see if the changes in tomcat 7 would allow me to avoid custom class loaders and contexts, but ran into a catch-22 issue. I was getting: java.lang.ClassCastException: com.sun.xml.ws.transport.http.servlet.WSServletContainerInitializer

Re: Controlling permissions when creating directories

2013-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, On 7/30/13 1:51 PM, sderrick wrote: > The host we use, uses the java service wrapper to launch tomcat so > I added > > wrapper.java.umask=0002 > > to the .conf file. > > Now I can ratchet the the permissions down with PosixFilePermisions >

Re: Configuration question for 2500 simultaneous users.

2013-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, On 7/30/13 3:42 PM, Tomcat Random wrote: > The project I'm working on has 5000 simultaneous users average. I > have two physical servers both running an instance of Tomcat 7.0. > They're behind a physical load balancer with sticky, least > con

Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-07-31 Thread Ognjen Blagojevic
Tran, On 31.7.2013 7:11, TRAN Trung Thanh wrote: Today, I tried to start apache tomcat 7.0.42 in Linux environment. Server path contains two consecutive spaces. When I run ./catalina.sh run, server cannot start and there is the following exception in console I am able to reproduce the same pro

Re: Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

2013-07-31 Thread TRAN Trung Thanh
Hi Micheal-O, I do not understand well your suggestion. Which file should be improved, catalina.sh, right? Anyway, I tried to deploy tomcat default package. AFAIK, quote and slash is used to fix problem if there is a space in path. According my test result, in Tomcat 7, in case of having no c