Re: tomcat8 ClassCastException

2016-10-18 Thread Mark Olsson
On Tue, Oct 18, 2016 at 3:17 PM, musafir wrote: > Hey Guys, can you pls provide some suggestions..exact copy of > tomcat+webapp working fine on one machine..no issues in tomcat7with either > jdk7/8 > > > What java version and vendor are you using? Or are you using Scala or some other JVM based l

Re: Restrict access to manager app by IP

2016-09-02 Thread Mark Olsson
On Fri, Sep 2, 2016 at 4:28 AM, Yuval Schwartz wrote: > Tomcat: 8.0.22 > JDK: 1.8.0_05 > > Hello, > > I am currently running a web application. > > I would like to restrict access to the manager app (it is currently being > hit by spammers every so often who are unable to connect (get a message >

Re: Unable to access Manager App, Host Manager and Server Status urls

2016-08-14 Thread Mark Olsson
Tried that but no charm as of yet. If I add comments like the one I have bold, I am unable to access tomcat manager.So I have to uncomment it. After uncomment. It says access denied... Take just this out of context.xml and restart Tomcat and your browser. ** Actually I don't know if restarting

Re: Unable to access Manager App, Host Manager and Server Status urls

2016-08-14 Thread Mark Olsson
On Sun, Aug 14, 2016 at 1:43 AM, Andrew M wrote: > I tried disabling SE Linux but no charm :( > What is interesting is I have enabled finest level of debugging but I > cannot see anything in log files as ALL or finest level of logging. > Make sure if you have an address filter in webapps/manager

Re: Multipart form submission does not work over SSL HTTP2 on Tomcat 9

2016-03-19 Thread Mark Olsson
On Sat, Mar 19, 2016 at 2:21 PM, Ajay Verma wrote: > Hello, > I'm trying to get multipart forms working in Tomcat 9 over HTTP2 (with TLS > enabled). > > The SSL Connector configuration in server.xml (Tomcat 9) is given > below protocol="org.apache.coyote.http11.Http11AprProtocol" maxThreads="150

Re: Parameter handling on forward

2016-01-13 Thread Mark Olsson
On Wed, Jan 13, 2016 at 12:20 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > All, > For the benefit of the archives: > https://bz.apache.org/bugzilla/show_bug.cgi?id=58836 > > This issue was raised in BZ and will be fixed in Tomcat 8.0.31 as well > as others. See the bug for deta

Re: Parameter handling on forward

2016-01-11 Thread Mark Olsson
quest dispatcher that something is wrong where the parameters are gathered the second time, or somewhere before they are made available to the destination. On Mon, Jan 11, 2016 at 3:41 PM, Andreas Junius wrote: > Did you try: > > "/page2?foo=&bar=123" > > Normally param

Parameter handling on forward

2016-01-11 Thread Mark Olsson
I'm getting unexpected parameter handling with a request.getRequestDispatcher().forward(). Not sure if this is a bug or I'm using gRD.f wrong, but here's the situation: A POST is made with form data to a servlet (didn't try with a multipart content, just regular) and the servlet decides to redire