Re: error during startup after applying changes from CVE-2016-3092

2016-06-22 Thread Lentes, Bernd
- On Jun 22, 2016, at 1:52 PM, Bernd Lentes bernd.len...@helmholtz-muenchen.de wrote: > Hi, > > i changed maxHttpHeaderSize in server.xml following the recommendation in > CVE-2016-3092. > I changed it to 2048 bytes. > >connectionTimeout="2" > redirectPor

error during startup after applying changes from CVE-2016-3092

2016-06-22 Thread Lentes, Bernd
Hi, i changed maxHttpHeaderSize in server.xml following the recommendation in CVE-2016-3092. I changed it to 2048 bytes.

binary distribution - how to upgrade ?

2013-06-20 Thread Lentes, Bernd
Hi, i'm fairly new to tomcat. We have a SLES 10 SP4 64bit host, running Tomcat 5.5, which was provided as a rpm from the distributor. Our developers need now a more current version, 6 or prefered 7. I didn't find rpm's for these versions for my OS. So i have to install the binary version from th

RE: specifying the content-type

2011-06-28 Thread Lentes, Bernd
> > > Andre Warnier wrote: > > > > > On 6/1/2011 1:04 PM, Lentes, Bernd wrote: > >>> Okay. Can you post your servlet code, then? > >> I have to ask our developers. > > > > Okay. > > > >>> There is no default Content-Type

RE: specifying the content-type

2011-06-07 Thread Lentes, Bernd
Christopher Schultz wrote: > > Lentes, > > On 6/7/2011 11:36 AM, Lentes, Bernd wrote: > > first we tried to set the content-type in the ... > > section in the html file. That didn't work. > > How did you do it? If you use CONTENT="text/html" />, i

RE: AW: specifying the content-type

2011-06-07 Thread Lentes, Bernd
Hi, first we tried to set the content-type in the ... section in the html file. That didn't work. Our developers try now to use the response.setContentType("text/html"); method to configure the content-type in the HTTP-Header. What i also found out is that you can use a defaulttype directive

RE: specifying the content-type

2011-06-03 Thread Lentes, Bernd
Pid wrote: > > > >> > >> Your configuration of mod_jk below looks correct (except a small > >> detail, see JkMount). > >> But I must say that it is difficult to believe that the request is > >> actually forwarded to Tomcat, and that Tomcat then fails > to recognise > >> the file as a JSP page, and

AW: specifying the content-type

2011-06-02 Thread Lentes, Bernd
Andre Warnier wrote: > > On 6/1/2011 1:04 PM, Lentes, Bernd wrote: >>> Okay. Can you post your servlet code, then? >> I have to ask our developers. > > Okay. > >>> There is no default Content-Type for HTTP responses, so >>> getting a response dir

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Martin Kuen wrote: > > Hi Bernd, > > I think your colleagues forgot/didn't want to set the > content-type in the servlet(-code)? Yes, i also think they forgot. They are Bioinformatics and don't know much about protocols and web servers. > > text/plain is apache default for anything it doesn't kn

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Christopher Schulz wrote: > > On 6/1/2011 5:18 AM, Lentes, Bernd wrote: > > I use JKMount, and DocumentRoot of httpd and webapps of > tomcat are not > > overlapping. > > > > [snip] > > > > We don't use jsp, we have servlets. > > Okay.

RE: RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Igor Cimicov wrote: > > Are you using virtual host maybe? If so, the JkMount > directive has to be inside VirtualHost and not in the global > apache conf file. > > Igor No. Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Andre Warnier wrote: > > Your configuration of mod_jk below looks correct (except a > small detail, see JkMount). > But I must say that it is difficult to believe that the > request is actually forwarded to Tomcat, and that Tomcat then > fails to recognise the file as a JSP page, and returns it as

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Pid wrote: > > On 01/06/2011 10:55, Lentes, Bernd wrote: > > lrwxrwxrwx 1 root root 20 Apr 18 16:33 webapps -> > /srv/tomcat6/webapps/ > > What is in the webapps dir? A directory called 'mouseidgenes'? > Yes. > If so, what is the file tree in

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Andre Warnier wrote: > Lentes, Bernd wrote: > > Hi, > > > > first, i'm new to tomcat and i'm not a java developer. > > You have all my sympathy. > > > My collegues developed a web application i have to deploy > now. I'm using tomcat6 on a sl

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Christopher Schultz wrote: > > On 5/31/2011 2:09 PM, Lentes, Bernd wrote: > > box. I configured a httpd (apache > > 2.2.10) in front of the tomcat, which communicates with > tomcat using > > AJP. > > Do you actually require httpd for your setup? If Tomcat works

RE: specifying the content-type

2011-06-01 Thread Lentes, Bernd
Charles Caldarale wrote: > > > when talking with a web browser directly to tomcat (port 8080), the > > web page is shown correctly. > > Are you sure the original request on port 80 is actually > making it through httpd all the way to Tomcat? The symptoms > you're reporting are characteristic of

RE: specifying the content-type

2011-05-31 Thread Lentes, Bernd
> > Hi, > > first, i'm new to tomcat and i'm not a java developer. > My collegues developed a web application i have to deploy > now. I'm using tomcat6 on a sles 11 sp1 box. > I configured a httpd (apache 2.2.10) in front of the tomcat, > which communicates with tomcat using AJP. > When i open on

specifying the content-type

2011-05-31 Thread Lentes, Bernd
Hi, first, i'm new to tomcat and i'm not a java developer. My collegues developed a web application i have to deploy now. I'm using tomcat6 on a sles 11 sp1 box. I configured a httpd (apache 2.2.10) in front of the tomcat, which communicates with tomcat using AJP. When i open one link, i don't s