Re: [SECURITY] CVE-2014-0099 Apache Tomcat information disclosure

2014-05-27 Thread André Warnier
Mark Thomas wrote: On 27/05/2014 14:05, André Warnier wrote: Mark Thomas wrote: CVE-2014-0099 Information Disclosure ... Description: The code used to parse the request content length header did not check for overflow in the result. This exposed a request smuggling vulnerability when

Re: [SECURITY] CVE-2014-0097 Apache Tomcat information disclosure

2014-05-27 Thread André Warnier
Mark Thomas wrote: CVE-2014-0097 Information Disclosure ... Description: The code used to parse the request content length header did not check for overflow in the result. This exposed a request smuggling vulnerability when Tomcat was located behind a reverse proxy that correctly processed t

Re: Hosts and ROOT folder

2014-05-27 Thread André Warnier
Michael Salmon wrote: Hi all I'am new to Tomcat, so please do not kill me if the issue is simple or my english is bad. I'am running Tomcat 7.0.42 on WinServer 2012 R2. It is front end for a Digital Asset Management system. The Tomcat is installed as part of the DAM system and could be differ

Re: How to monitor performance of tomcat

2014-05-26 Thread André Warnier
Randhir Singh wrote: Hi, I increased the Heap & PermGen memory as per trail mail but the performance seemed to deteriorate. On the day I increased the memory in the morning, the system hung 3 times in the day whereas the maximum times it has got hang before is 2 times in a day. I changed the mem

Re: How to monitor performance of tomcat

2014-05-20 Thread André Warnier
Randhir Singh wrote: Hi, I had another point to add in this other than the reply sent by me in the earlier mail is that if the JVM crashes as pointed out by you, would a JVM process get started when Tomcat is started. Also, how to check if 2 processes are sharing a common JVM. The 2 processes r

Re: denying the request if it comes through IP address instead of DNS

2014-05-17 Thread André Warnier
dku...@ccilindia.co.in wrote: Hello All, We are using - Tomcat Version - 7.0.22 Operating System Version : Windows 2003 server To close a vulnerability, "To denying the request if it comes through IP address instead of DNS", we have made below configuration changes in server.xml default

Re: Tomcat 7.0.50 - URL Questions

2014-04-24 Thread André Warnier
J Java wrote: Chris, Whoever you are I am just a relatively novice Java developer. and certainly not as famous or an expert like you. The correct way of doing things is to make re-name your web application ROOT and deploy it as such. If you want to get rid of the port number, you'll have to r

lean and mean Tomcat 7 configuration

2014-04-24 Thread André Warnier
Hi. Starting from a vanilla current Tomcat 7 download (*), on a Linux server I have looked at the on-line Configuration documentation of Tomcat 7, but that kind of information is not really provided there. We would like to configure this tomcat to be as lean and mean as possible, within the

Re: Connection reset issue in Tomcat

2014-04-23 Thread André Warnier
Gangumolu, Maruti wrote: Hi, I'm seeing continuously this error in tomcat's log file while performing load test. Could somebody help me why we get this error. From Apahce:- Apr 23, 2014 2:48:54 PM org.apache.jk.common.ChannelSocket processConnection WARNING: processCallbacks status 2 Apr 23,

Re: Tomcat 7.0.50 - URL Questions

2014-04-23 Thread André Warnier
Nam Pham wrote: Hi, After searching online(seeing mixed results), and searching through the Wiki, I was hoping someone can confirm how I can do the following: I installed my app, and it has a default URL of: http://something:port/webappname/morestuff.action I was wondering if it was possible

Re: Stateless application is very slow using LDAP authentication

2014-04-22 Thread André Warnier
Leo Donahue wrote: On Tue, Apr 22, 2014 at 8:48 AM, André Warnier wrote: Frédéric Poliquin wrote: << What if you disable authentication entirely as a test... do things speed-up?>> Answer is YES << Do you have a problem only under load or also when you are testing a sin

Re: Stateless application is very slow using LDAP authentication

2014-04-22 Thread André Warnier
Frédéric Poliquin wrote: << What if you disable authentication entirely as a test... do things speed-up?>> Answer is YES << Do you have a problem only under load or also when you are testing a single-user?>> Single user What I did is to put Tomcat behind an Apache Server which solved my proble

Re: [OT] catalina.out is 13G

2014-04-22 Thread André Warnier
Randhir Singh wrote: Thanks for your quick revert. Randir, I think that you are using the word "revert" wrongly, and it is creating some confusion. "revert" means essentially "return to the previous situation" (or location, or belief). The correct word here would be "response" or "reply".

Re: mod_jk warning about "OPTIONS *" requests

2014-04-22 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/22/14, 5:09 AM, André Warnier wrote: Christopher, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm running some load tests in a dev environment, and I'm se

Re: [OT] mod_jk warning about "OPTIONS *" requests

2014-04-22 Thread André Warnier
Christopher Schultz wrote: ... Just to "keep the church in the middle of the village", as they say in my part of the world : [OT] I'm not sure I can interpret the meaning of that. What does it mean? It is a Belgian/French expression, meaning roughly "to keep things in perspective" or "not

Re: Stateless application is very slow using LDAP authentication

2014-04-22 Thread André Warnier
Frédéric Poliquin wrote: Hi, I'm working on a stateless application which does not create an http session. This application has a standard security constraint requesting basic authentication on all resources. Tomcat is configured using a standard JNDIRealm to authenticate against Active Dire

Re: mod_jk warning about "OPTIONS *" requests

2014-04-22 Thread André Warnier
Christopher, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm running some load tests in a dev environment, and I'm seeing acess log messages like these: ::1 - - [21/Apr/2014:14:15:03 +] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.9 (Amazon) OpenSSL/1.0.1

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread André Warnier
Ian Long wrote: On April 15, 2014 at 4:58:28 PM, André Warnier (a...@ice-sa.com(mailto:a...@ice-sa.com)) wrote: Ian, On this list, it is kind of frowned-upon to "top post". It is preferred when people answer a question, below the question. Keeps things more logical in the reading

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread André Warnier
Ian, On this list, it is kind of frowned-upon to "top post". It is preferred when people answer a question, below the question. Keeps things more logical in the reading sequence, and avoids having to scroll down to guess what you are responding to. Ian Long wrote: Yes, I checked both the to

Re: Tomcat @ Windows & Cyrillic

2014-04-15 Thread André Warnier
Petr Nemecek wrote: Hi all, I need to use cyrillic in my webapp. What I did: * Added -Dfile.encoding=utf-8 to the Java options * Added URIEncoding="UTF-8" to the connector in server.xml What I achieved: * When I send a request with cyrillic chars to the Tomcat, it's properly received. * When I

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ian, On 4/15/14, 3:33 PM, Ian Long wrote: Thanks for the reply. It looks to me like tomcat just gave up partway through generating the request, I’m trying to figure out why. There are no exceptions in either my applic

Re: Strange context naming issue

2014-04-14 Thread André Warnier
David kerber wrote: Running TC 7.0.42 on Windows Server 2008 R2 as a windows service, JRE 1.6.0_45 32-bit. What I'm seeing is that my context path is not being initialized with the name I expect: My .war file is named eddSrv.war (lower-case first letter), but the context is being initialize

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-11 Thread André Warnier
Ognjen Blagojevic wrote: On 11.4.2014 10:52, André Warnier wrote: 3) if he has recorded past encrypted traffic to/from your server, and saved this recording, then he can at any time go back and decrypt this past traffic, and pick up anything interesting from there, even without having the new

Re: Tomcat 500 internal server error

2014-04-11 Thread André Warnier
cate. Cheers, Ian On April 11, 2014 at 2:57:05 PM, André Warnier (a...@ice-sa.com) wrote: Ian Long wrote: This is a followup to my previous email, about Tomcat 500 errors. For every error, I see this in the mod_jk (1.2.39) debug logs: [Fri Apr 11 13:06:33.956 2014] [25409:140

Re: How to monitor performance of tomcat

2014-04-11 Thread André Warnier
Shanti Suresh wrote: Hi Chris, On Fri, Apr 11, 2014 at 12:17 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 4/11/14, 9:01 AM, Shanti Suresh wrote: Thank you! Great presentation and most wonderful notes! One questio

Re: Tomcat 500 internal server error

2014-04-11 Thread André Warnier
Ian Long wrote: This is a followup to my previous email, about Tomcat 500 errors. For every error, I see this in the mod_jk (1.2.39) debug logs: [Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1403): received from ajp13 pos=0 l

Re: mod_jk and ~userdir issue

2014-04-11 Thread André Warnier
Doug Tucker wrote: He means : read on about the "JkCopy*" directives under Apache httpd. Thank you. I don't see this directive anywhere, and search google for JkCopy apache or JkCopy tomcat both return zero results? Sorry, I wrote that too quickly, just before packing in my laptop. It

Re: mod_jk and ~userdir issue

2014-04-11 Thread André Warnier
Doug Tucker wrote: 1. Check whether their pages are accessible when you connect to Tomcat directly without HTTPD. Negative. Either way I get the tomcat "container is not available". You can see the error by going to: http://webdev2.seas.smu.edu/~tuckerd/ The server.xml looks OK. I am not

Re: How to monitor performance of tomcat

2014-04-11 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, April 11, 2014 9:27 AM To: Tomcat Users List Subject: Re: How to monitor performance of tomcat Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch

Re: How to monitor performance of tomcat

2014-04-11 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, April 11, 2014 12:54 AM To: Tomcat Users List Subject: Re: How to monitor performance of tomcat All, On 4/8/14, 5:24 PM, Christopher Schultz wrote: Randir, On 4/8/14,

Re: Maximum number of JSP ?

2014-04-11 Thread André Warnier
> Any suggestions/remarks ? Yes, don't top-post. So I'll move you, to show you how it's done here. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, April 11, 2014 7:01 PM To: Tomcat Users List Subject: Re: Maximum number of JSP ? Sy

Re: Maximum number of JSP ?

2014-04-11 Thread André Warnier
Sylvain Goulmy wrote: Hi, I'm facing performance issue with my application which loads a very large number of different JSPs (ie 16 000). As the application loads the different JSP, the response time becomes longer and the CPU increases. I have tried many configurations by modifying the maxLoad

Re: Does heartbleeding bug impact on Tomcat 6.x, 7.x and 8.x

2014-04-11 Thread André Warnier
Just for the sake of clarity, I will redundantly highlight some parts of Christopher's recent message : Christopher Schultz wrote: ... * If you are on 1.1.24-1.1.29, then you have been vulnerable. * ... I can't stress enough that once you update to a fixed version, *you must re-key your server

Re: Bizarre getParameterMap() failure

2014-04-09 Thread André Warnier
Jess Holle wrote: FYI, it would appear that this is a case of someone passing a ServletRequest object to another thread and invoking methods on it at just the wrong point in time so as to utterly corrupt a later request. Changing the code to make an appropriate copy of the ServletRequest obje

Re: [OT] HeartBleed bug

2014-04-09 Thread André Warnier
Ognjen Blagojevic wrote: André, On 9.4.2014 9:49, André Warnier wrote: I wonder if I may ask this list-OT question to the SSH experts on the list : I run some 25 webservers (Apache httpd-only, Tomcat-only, or Apache httpd + Tomcat). I do not use HTTPS on any of them. But I use SSH (OpenSSH

[OT] HeartBleed bug

2014-04-09 Thread André Warnier
I wonder if I may ask this list-OT question to the SSH experts on the list : I run some 25 webservers (Apache httpd-only, Tomcat-only, or Apache httpd + Tomcat). I do not use HTTPS on any of them. But I use SSH (OpenSSH) to connect to them over the Internet for support purposes, with "authorize

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-08 Thread André Warnier
Alten, Jessica-Aileen wrote: It may be interesting to see what happens if you add a line like this in the server's hosts file : 127.0.0.1 localhost localtomcat and then try to use each of these names in your isapi configuration for the worker.host. I tried the formerly commented out lines in

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-08 Thread André Warnier
Alten, Jessica-Aileen wrote: I'll try to check my settings with the C# program. Ipv6 loopback is available: 127.0.0.1 ::1 See http://support.microsoft.com/kb/929852 However, I believe the disabled ipv6 might put us on the right track. Anyway, Konstantin filed an issue in Bugzilla for this

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-05 Thread André Warnier
nner wrote: -Original Message----- From: André Warnier [mailto:aw@ice- sa.com] Sent: Thursday, April 03, 2014 5:27 PM To: Tomcat Users List Subject: Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-03 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/3/14, 3:34 PM, André Warnier wrote: Alten, Jessica-Aileen wrote: -Ursprüngliche Nachricht- Von: André Warnier [mailto:a...@ice-sa.com] Gesendet: Donnerstag, 3. April 2014 15:36 An: Tomcat Users

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-03 Thread André Warnier
Alten, Jessica-Aileen wrote: -Ursprüngliche Nachricht- Von: André Warnier [mailto:a...@ice-sa.com] Gesendet: Donnerstag, 3. April 2014 15:36 An: Tomcat Users List Betreff: Re: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work Alten, Jessica-Aileen wrote: A bit guessing here

Re: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-03 Thread André Warnier
Alten, Jessica-Aileen wrote: A bit guessing here : You have : > worker.ajp13w.host=localhost and > jk_open_socket::jk_connect.c (735): connect to 0.0.0.0:8009 failed (errno=49) is "localhost" == 0.0.0.0 ? From the point of view of mod_jk/isapi, should it not be "127.0.0.1" ? Your answ

Re: AW: AW: grab hostname from tomcat manager

2014-04-03 Thread André Warnier
Bjorn, On 4/2/14, 10:54 AM, bjoern.bec...@easycash.de wrote: -Ursprüngliche Nachricht- Von: André Warnier [mailto:a...@ice-sa.com] Gesendet: Mittwoch, 2. April 2014 16:35 An: Tomcat Users List Betreff: Re: grab hostname from tomcat manager bjoern.bec...@easycash.de wrote: Hello, I need to

Re: External URL delay from webapp

2014-04-02 Thread André Warnier
Scott Bailey wrote: Hi all, We are having an issue with a new tomcat deployment, in our webapp we make a request to a 3rd party webservice site using http URL for retrieving the data, the first time we click the button to make the request the information is returned within a second or 2 but if

Re: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-02 Thread André Warnier
Alten, Jessica-Aileen wrote: Hi all, I have a problem with the new release of the tomcat-connector (1.2.39) for 64 Bit Windows (isapi_redirect.dll), binary download. The older versions worked like a charm under Windows Server 2008 R2 64 Bit and Windows 7 64 Bit, even in a loadbalancing configura

Re: grab hostname from tomcat manager

2014-04-02 Thread André Warnier
bjoern.bec...@easycash.de wrote: Hello, I need to grab the hostname from the tomcat manager somehow. Unfortunately this URL "manager/text/serverinfo" doesn't contain the hostname. Is there any other smart way to receive the hostname via tomcat manager app? For give me for asking, but how

Tomcat start message

2014-04-02 Thread André Warnier
All, Referring to a classic Tomcat log like the one below : Would it not be a good idea for Tomcat, when it starts, to print a first line to its main logfile, similar to what Apache httpd does : [Tue Apr 01 18:00:02 2014] [notice] Apache/2.2.12 (Linux/SUSE) mod_ssl/2.2.12 OpenSSL/0.9.8j-fips

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
André Warnier wrote: Danilo Amaral de Oliveira wrote: Milo, The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Summarizing, here the simulating process of watching the video: User access the page

Re: RES: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
Danilo Amaral de Oliveira wrote: Milo, The video is embedded in a JWPlayer Javascript application. The video is in the page too, but you need download it before watch it. Summarizing, here the simulating process of watching the video: User access the page | Tomcat serve the page

Re: Configuring limits of requests/sessions/threads in Tomcat

2014-04-01 Thread André Warnier
Danilo Amaral de Oliveira wrote: Hello Tomcat Community, Next week we will deploy a institutional video to all company (more than 5k users) in a webpage in an application manges by the Tomcat 7.0.40. I have made a stress test through JMeter, simulating a lot of simultaneous access, and when t

Re: Apache perfomance issue

2014-04-01 Thread André Warnier
Saurabh Makol wrote: Hello Tomcat expert, I am facing a performance issue for one of the application that I am hosting. My apologies for reaching out to y'all as I know this group is tomcat issue but thought if anyone has ever come across this strange issue. We have an environment which is 64

Re: How to deploy Java application into Tomcat in Linux

2014-04-01 Thread André Warnier
Randhir Singh wrote: Hi, As per my understanding, the steps to deploy a Java application on Tomcat (5.X/6.X) in Linux would be as follows: 1) Install Tomcat on Linux 2) Add a host entry in $TOMCAT_HOME/conf with the syntax like- --

Re: [OT] timeout

2014-03-31 Thread André Warnier
André Warnier wrote: Vicky B wrote: there is a firewall between browser and apache httpd and i am not sure if there is a firewall between apache and tomcat (mostly no). But why would this firewall drop the connection ? Some people never learn.. Sigh. Ok, Vicky, one last try from me : 1

Re: [OT] timeout

2014-03-31 Thread André Warnier
. < smithh032...@gmail.com> wrote: On Mar 31, 2014 3:48 AM, "André Warnier" wrote: Howard W. Smith, Jr. wrote: On Sun, Mar 30, 2014 at 9:54 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: tim

Re: Tomcat 7.0.52 strage startup

2014-03-31 Thread André Warnier
Hi. 1) Don't top-post. Roberto Bottoni - AfterBit wrote: Hi, I have a linux debian 6 on a virtual machine..HD is ok and also the filesystem.. i have updated the system a few days ago.. I thought an update might solve the problems, but I get no success .. Tomcat is launched at system startup

Re: [OT] timeout

2014-03-31 Thread André Warnier
Howard W. Smith, Jr. wrote: On Sun, Mar 30, 2014 at 9:54 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Re: timeout - and if that is not the reason, then find the person responsible for the in-between equipmen

Re: timeout

2014-03-30 Thread André Warnier
Vicky B wrote: HI All, Below are the inforamtion OS : Solaris 5 apache httpd : 2.2 tomcat : 7 log : error.log message : [Wed Mar 26 02:24:22 2014] [debug] mod_deflate.c(616): [client 10.32.8.135] Zlib: Compressed 0 to 2 : URL /pbs/cntrty/getReprots [Wed Mar 26 02:24:22 2014] [info

Re: Problem in accessing link

2014-03-29 Thread André Warnier
Randhir Singh wrote: Hi, We are using tomcat in our production setup, the version of tomcat is 5.0.28. While accessing the link hosted on tomcat, the following error is coming as below: ---

Re: timeout

2014-03-29 Thread André Warnier
uot; ? broken pipe : connection reset by peer : writing data to network. In which logfile did you find this ? Please copy the entire message line here. timeout is the direcive in apache which is set to 300 . Which "timeout" directive, in which configuration file, of which "apac

Re: timeout

2014-03-28 Thread André Warnier
Vicky B wrote: HI All, i have configured apache and apache tomcat i.e apache is my http server and tomcat is my webserver. The does not seem to make much sense. Both are HTTP servers and thus webservers. Do you mean that apache http is working as a front-end to Tomcat ? If so, how does one c

Re: {OT] Scripting Tomcat installation versus multiple instances

2014-03-27 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/26/14, 3:35 PM, André Warnier wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Please don't top-post. - -

Re: Tomcat under load && frontend reverse proxy timeouts

2014-03-27 Thread André Warnier
Frederik Nosi wrote: First thanks for your reply, On 03/27/2014 10:32 AM, Mark Thomas wrote: On 27/03/2014 01:39, Frederik Nosi wrote: Hi all, Having to deal with slow applications deployed under tomcat, with a reverse proxy in front, frequently i've noticed that even when the frontend timeou

Re: Is it possible to send a 'keep-alive' packet back to client session every x seconds?

2014-03-27 Thread André Warnier
Mark Thomas wrote: On 27/03/2014 03:08, Matthew Turany wrote: Is it possible to configure either apache or tomcat to send a packet every x number of seconds so that at the client end the gateway thinks the session is still active and will keep the connection open, or is this something best put i

Re: [OT] Scripting Tomcat installation versus multiple instances

2014-03-26 Thread André Warnier
Leo Donahue wrote: On Wed, Mar 26, 2014 at 12:35 PM, André Warnier wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Oh no you didn't, just top post. ? Well, you see, it&

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread André Warnier
Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Ok, I got it. When I installed Tomcat on Windows, I used the Windows Service Installer, the executable, not the zip. It seems the installatio

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread André Warnier
Leo Donahue wrote: On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif < sebastien.tardif.contrac...@gmo.com> wrote: I'm confused by the commands given by Tomcat documentation about creating different instances, it says: "service install instance1" but "service" is not a command provided by Tomc

Re: Could I ask something about tomcat's catalina categorize?

2014-03-24 Thread André Warnier
jacky...@ifishbone.com wrote: Dear Apache SoftwareFundation Could I categorize catalina.out by virtual host ? Is any setting can do that? I have been finding the answer for two weeks but still got nothing. Could give me a answer and reply . Thank you very much. Hi. When asking such type o

Re: Apache Tomcat Version 6.0.39 , config SSO on Linux machine (SUSE 11.3 )

2014-03-23 Thread André Warnier
Brosh, Yossi wrote: Hi to all , I am trying to install SSO on Linux machine (SUSE 11.3 )with Apache Tomcat Version 6.0.39 in order to working with Jenkins without the needed to login, any idea ? Yos, Better. At least now you are giving some versions.. There is hope. But still : http://lm

Re: SSO

2014-03-23 Thread André Warnier
Brosh, Yossi wrote: Hi to all , I am trying to install SSO on Linux machine with Tomcat in order to working with Jenkins without the needed to login, any idea ? http://www.catb.org/esr/faqs/smart-questions.html ? - To unsu

Re: filter question

2014-03-14 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Makilaj, On 3/14/14, 8:32 AM, Mikolaj Rydzewski wrote: On 14.03.2014 13:25, André Warnier wrote: Not a direct answer to your question, but this subject comes up so often that maybe a generic explanation may help

Re: filter question

2014-03-14 Thread André Warnier
Brendan Miller wrote: I have a filter with doFilter method like this: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest req = (H

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-14 Thread André Warnier
Lmhelp1 wrote: On 2014-03-13 11:57 AM, André Warnier wrote: Yes, I cannot really think off-hand of any serious problem that this may cause. Basically, it all depends on the context. If this is a one-off thing that you are doing, on your personal website, on a server on which there is no really

Re: Possible Tomcat 8.0.3 issue

2014-03-13 Thread André Warnier
Daniel Mikusa wrote: On Mar 13, 2014, at 7:44 AM, Felipe Jaekel wrote: Yestarday my PrimeFaces applications started to crash. They didn't render correctly and nothing worked. Chrome console output: Resource interpreted as Stylesheet but transferred with MIME type text/plain: " http://spdata

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread André Warnier
Lmhelp1 wrote: Hello and thank you for your answer. On 2014-03-12 11:49 PM, Neven Cvetkovic [via Tomcat] wrote: How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Yes, well, how shall I do that? Personally, I don't think you should. The sc

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-13 Thread André Warnier
Lmhelp1 wrote: On 2014-03-12 11:32 PM, André Warnier [via Tomcat] wrote: Ok, I understand : the target directory is not created by you, it is created by Tomcat, so Tomcat sets these permissions, and they do not fit what you want to be able to do. That's it, I only miss the write permi

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread André Warnier
Lmhelp1 wrote: Hello and thank you for your answer. On 2014-03-12 11:54 AM, André Warnier wrote: If all you need to do, is to 1) read those files, to look at them 2) if they are ok, move them somewhere else 3) if they are not ok, delete them That's it. then (under Linux) you do not

Re: Site down for maintenance senario

2014-03-12 Thread André Warnier
Leo Donahue wrote: On Wed, Mar 12, 2014 at 11:58 AM, Leo Donahue wrote: On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue wrote: On Wed, Mar 12, 2014 at 11:28 AM, John Smith wrote: Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally take

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-12 Thread André Warnier
Lmhelp1 wrote: On 2014-03-11 7:44 PM, André Warnier [via Tomcat] wrote: Maybe easier : supposing that your user-id is "lmhelp1". Do "adduser lmhelp1 tomcat6" (that will add your user-id to the group tomcat6). Then logout, and login again. Then you would already have the

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread André Warnier
Lmhelp1 wrote: ... > The other thing is : do you have the code of that webapp and could you change it ? Yes, I can. > And why do the files have to be owned by user1/group1 ? Is it because some other process must be able to read/write them ? The other process is me :) The webapp stores

Re: Files created by a Tomcat webapp and owner, owner group, permissions for this file

2014-03-11 Thread André Warnier
Lmhelp1 wrote: -- Files created by a Tomcat webapp and owner, owner group, permissions for this file -- Hello and thank you for reading my post. I am running a "Tomcat v6.0" webapp on a "Debian 7.2 Wheezy" OS. In particular, this webapp creates some files on the filesystem. The files created

Re: [Tomcat 6] Maximum webapps in one instance

2014-03-11 Thread André Warnier
philippe rouxel wrote: Hi, I use Tomcat in a RestFull application with cxf and spring. It works fine. Actually, this application is deploy in a single web app. My client ask if I can slip all the services (nearly 100) : he want a webapp for each service. So how many webapps can Tomcat suppor

Re: The Service Component

2014-03-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/10/14, 10:26 AM, Jeffrey Janner wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 9:44 AM To: users@tomcat.apache.org Subject: The Service Compon

Re: The Service Component

2014-03-08 Thread André Warnier
Leon Rosenberg wrote: Hello Leo, On Fri, Mar 7, 2014 at 6:49 PM, Leo Donahue wrote: On Fri, Mar 7, 2014 at 9:01 AM, Leon Rosenberg wrote: Hello, I do use multiple connectors but one service. Multiple connectors to separate user traffic from admin/management traffic. For example if due t

Re: The Service Component

2014-03-08 Thread André Warnier
DHARMENDRA SETHI wrote: Hi Can anyone help me unsubscribe from this mailing list? I have tried numerous times on the website, please help. Thanks Is the line at the bottom of every list message not explicit enough ? Send a message here : |

Re: Tomcat7w.exe

2014-03-07 Thread André Warnier
Leo Donahue wrote: Did I miss something in the documentation about renaming this if one is running multiple windows services of Tomcat? ex: #Prod port 80 c:\apache-tomcat c:\apache-tomcat\apache-tomcat-7.0.52 service install Tomcat7 (from bin directory here) #Dev port 8080 c:\apache-tomcat-dev

Re: The Service Component

2014-03-07 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 3/7/14, 10:44 AM, Leo Donahue wrote: Who uses more than one Service in their server.xml and why? I get that you can have multiple Connectors if you have multiple Service components but why use multiple connect

Re: Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS 5.10

2014-03-06 Thread André Warnier
Jay wrote: Case update: Started Tomcat using "nohup ./startup.sh" ### ... Mar 04, 2014 10:23:34 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Mar 04, 2014 10:23:34 AM org.apache.coyote.AbstractProtocol start INFO: Starting Pr

Re: Trouble shooting refused connections

2014-03-06 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bruce, On 3/5/14, 1:11 PM, Bruce Weertman wrote: We have a load balancer talking with tomcat’s running on multiple backend tomcat servers. The tomcats are running web service applications. In doing testing, and as repo

Re: [OT] secure reverse proxy to my tomcat server HELP NEEDED

2014-03-04 Thread André Warnier
Jeff Haferman wrote: Jeff "Top-Posting is not Bad because you have to scroll to the bottom to see what you're after" Haferman wrote: [...] quote : A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the mos

Re: Shutdown port on Windows Service installation

2014-03-04 Thread André Warnier
David kerber wrote: I am running several instances of TC 7 as services on a Windows Server 2008 R2. Each instance has its own set of ports, and I have both the data port and shutdown ports configured in server.xml. They are currently running only HTTP. My questions: 1. Does the shutdown p

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-04 Thread André Warnier
Hi. On this list, it is preferred (strongly) if you do not top-post, but respond in the text or below the question. It just makes it easier to follow what is going on. I have moved your previous response, to the logival order. Jeff Haferman wrote: Christopher Schultz wrote: -BEGIN PGP

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread André Warnier
Doug Strick wrote: Hello, I'm currently working on a project where we're migrating from Adobe Coldfusion 8 to CF 10. Adobe CF10 now uses tomcat as the underlying server and mod_jk is the standard connector used. On our test environment we have a single apache httpd instance serving multiple do

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread André Warnier
Jeff Haferman wrote: The subject says it, I need help getting a secure reverse proxy to my tomcat server working. Maybe one question here would be : why ? browser <--- HTTPS --> httpd <-- HTTPS --> Tomcat The browser encrypts and sends to httpd. httpd decrypts. httpd then re-encrypts and send

Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-21 Thread André Warnier
Yann Nicolas wrote: Hello, I have a web application load balanced in an intranet and I need to get the hostname of the client from the request (for audit purposes). I have verified that the load balancer is adding the header "x-forwarded-for" and I get the correct client IP with the HttpServlet

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-02-20 Thread André Warnier
Dmitry Batiyevskiy wrote: We have upgraded tomcat 7.0.42 to 7.0.50 We have an app which is built around atmosphere framework and uses websockets After upgrade tomcat instance which has only this app dies in few hours after deploy (the whole java process dies) The only error in log is following:

Re: Error redirection settings

2014-02-19 Thread André Warnier
Randeep wrote: Hi, I'm using tomcat apache-tomcat-6.0.37 I have a few web applications in webapps directory. portal sms crm I'm creating custom error pages. inside the webapplication "portal" under WEB-INF in web.xml I have given the following. 400 /lp/404.html 404 /lp/404.html 500 /lp/

Re: GZIP support in Tomcat 7

2014-02-19 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Akash, On 2/18/14, 7:45 PM, Akash Jain wrote: I have following configuration in my server.xml : compressableMimeType="text/ html,text/xml,text/plain,application/javascript,application/json,text/javascript,text/json"

Re: Unable to shutdown tomcat

2014-02-19 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Unable to shutdown tomcat "Thread-5" daemon prio=5 tid=7fe82c1f7000 nid=0x10c4bb000 waiting for monitor entry [] java.lang.Thread.State: BLOCKED (on object monitor) This thread m

Re: Unable to shutdown Tomcat

2014-02-17 Thread André Warnier
Pooja, *STOP*. *PAUSE*. Please. Stop changing the configurations and the servers, and take some time to do things systematically, step by step, and answer the questions without changing the data in the meantime, and without overwhelming us with confusing answers. Suggestion : 1) choose on

Re: Unable to shutdown Tomcat

2014-02-14 Thread André Warnier
Pooja Swamy wrote: Yes I have tried that. When I kill, the process gets killed gracefully. After killing, if I do a ps -ef|grep tomcat, I don't see the process running. Like I said the issue is not with shutdown. The issue is with startup. When I startup, the startup is not happening at all, whi

<    1   2   3   4   5   6   7   8   9   10   >