Re: Problem with Transfer-Encoding

2014-07-05 Thread André Warnier
Sushil Prusty wrote: Dear User Thanks for you input. You're welcome. First, a foreword : I will try my best to help you, but doing this is very difficult, and doing it via email is even more difficult. I was not kidding when I wrote earlier that even looking at the data may make it change.

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
What version of Tomcat are you using? I've been using Tomcat 6 and 7 for a while, and now running Tomcat 8. it is recommended that elements not be placed directly in server.xml I know, but it is much easier for me to edit a single file, server.xml then deploy all the other files. I'm looking

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
Normally,we configure docBase when we want the application to be resided on a separate directory and not inside tomcat that's exactly what I'm trying to do when you use docBase I don't think you need to configure host/appbase as well if I don't use host/appBase then "webapps" is set as default

Re: web.xml processing order of directives - filter vs security-constraint

2014-07-05 Thread Falco Schwarz
On Sat, Jul 5, 2014 at 6:17 PM, Hassan Schroeder wrote: > (Sorry, late to the thread but ...) if you just want to restrict access to > a resource to localhost, why not os-level e.g. an iptables rule? Well, the reason behind the restriction is that I would like to use tomcats jmxproxy for our prod

Re: Host appBase vs Context docBase

2014-07-05 Thread Terence M. Bandoian
On 7/4/2014 9:04 PM, Igal @ getRailo.org wrote: I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't like using {Tomcat}/webapps so I don't want to have it as a base directory for websites. What I've been doing so far is create an

Re: Problem with Transfer-Encoding

2014-07-05 Thread Sushil Prusty
Dear User Thanks for you input. I just debugged using HttpFox here is below you find header (Request-Line)POST /test/testUserEditAction.do?dojoIframeSend=true HTTP/1.1 Host** User-AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:30.0) Gecko/20100101 Firefox/30.0 Accept

Re: web.xml processing order of directives - filter vs security-constraint

2014-07-05 Thread Hassan Schroeder
On Sat, Jul 5, 2014 at 9:00 AM, Falco Schwarz wrote: > In the end I found a solution which suits my needs: combining the > RemoteAddrFilter with Spring Security. This way the RemoteAddrFilter > always prevents access if the client is not localhost. (Sorry, late to the thread but ...) if you just

Re: web.xml processing order of directives - filter vs security-constraint

2014-07-05 Thread Falco Schwarz
On Sat, Jul 5, 2014 at 12:39 PM, Mark Thomas wrote: > Maybe look at a third party security plugin like Spring Security? Not sure if > this is supported but worth a look. > > Mark Thanks Mark and Konstantin for your quick replies. I tried to accomplish this only using Spring Security and I also g

Re: Problem with Transfer-Encoding

2014-07-05 Thread André Warnier
Konstantin Kolinko wrote: 2014-07-05 9:24 GMT+04:00 Sushil Prusty : Hello, summary of my Problem: When a client POSTs Tranfer-Encoding data using browser , my server is not processing the request character encoding properly . I send the following request: Content-Type text/html;charset=UTF

Re: Problem with Transfer-Encoding

2014-07-05 Thread Konstantin Kolinko
2014-07-05 9:24 GMT+04:00 Sushil Prusty : > Hello, > > summary of my Problem: > > When a client POSTs Tranfer-Encoding data using browser , > my server is not processing the request character encoding properly . > > > I send the following request: > Content-Type text/html;charset=UTF-8 > Date Sat

Re: web.xml processing order of directives - filter vs security-constraint

2014-07-05 Thread Konstantin Kolinko
2014-07-05 11:41 GMT+04:00 Falco Schwarz : > I should add that the IP restriction is applied via filter, not with a > tomcat Valve. Essentially the question breaks down to this: > > Is it possible in any way for a filter to be applied before the evaluation > of the security-constraint? Or is there

Re: Host appBase vs Context docBase

2014-07-05 Thread Neeraj Sinha
Normally,we configure docBase when we want the application to be resided on a separate directory and not inside tomcat. So, when you use docBase I don't think you need to configure host/appbase as well. Appbase folders go under tomcat directory parallel to default appbase webapps. Each appbase is m

Re: web.xml processing order of directives - filter vs security-constraint

2014-07-05 Thread Mark Thomas
On 5 July 2014 08:41:52 BST, Falco Schwarz wrote: >I should add that the IP restriction is applied via filter, not with a >tomcat Valve. Essentially the question breaks down to this: > >Is it possible in any way for a filter to be applied before the >evaluation >of the security-constraint? No. >

Re: web.xml processing order of directives - filter vs security-constraint

2014-07-05 Thread Falco Schwarz
I should add that the IP restriction is applied via filter, not with a tomcat Valve. Essentially the question breaks down to this: Is it possible in any way for a filter to be applied before the evaluation of the security-constraint? Or is there any other way of setting up an IP filter combined wi