Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread Francis Galiegue
:( Can anyone enlighten me? -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything - Tiff Needell

[Repost...] Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-19 Thread Francis Galiegue
, and thanks in advance for your help, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything - Tiff Needell -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL

Re: Tomcat 5.0 : 401 errors do NOT send back a www-authenticate field :(

2005-12-21 Thread Francis Galiegue
2005/12/19, Francis Galiegue [EMAIL PROTECTED]: Hello, As the subject says, we have a problem with Tomcat 5.0 (5.0.27 through 5.0.30 to be precise) where a servlet invoked from tomcat5 does NOT send a www-authenticate header back, resulting in a definitive 401 error. This violates RFC 2616

Re: rotating tomcat logs

2006-02-01 Thread Francis Galiegue
2006/2/1, Tim Lucia [EMAIL PROTECTED]: I use log4j as the logging implementation, and then chose the RollingFileAppender (Daily or Size--your choice) Or use logrotate (that is, if you use some Unix variant and the program exists). -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED

Tomcat 5.5.x or 6.x: ROOT limitation removed?

2008-04-08 Thread Francis Galiegue
, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 42 Av. Raymond Poincaré - 75116 PARIS When it comes to performance, weight is everything - Tiff Needell - To start a new topic, e-mail: users@tomcat.apache.org

Re: Tomcat 5.5.x or 6.x: ROOT limitation removed?

2008-04-09 Thread Francis Galiegue
tried the real appBase, changing the docBase of the Context to one2team: app deploys as /one2team, even though the context file is named ROOT.xml :( -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When

Re: Tomcat 5.5.x or 6.x: ROOT limitation removed?

2008-04-09 Thread Francis Galiegue
like to do it in a cleaner way but then there are elements over which I don't have control of - the two main of them being: the webapp lies in a directory, and the directory has to be named one2team... -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Francis Galiegue
, you see what I mean. I've been playing that trick before, and it worked. I think I'm missing something though. -- Francis Galiegue, [EMAIL PROTECTED] When it comes to performance, weight is everything - Tiff Needell - To start

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Francis Galiegue
of the server is its real FQDN! mod_jk and VitrtualHosts are NOT incompatible. Meh, I even have my Host defined as only responding to localhost! -- Francis Galiegue, [EMAIL PROTECTED] When it comes to performance, weight is everything - Tiff Needell

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Francis Galiegue
redirect these HTML pages too. So what would really help me is a URL rewriting module/plug-in like mod_rewrite. Please clarify. What are these 10 links? Individual files or whole directories/webapps? Also, have you considered mod_proxy (ProxyPass and ProxyPassReverse)? -- Francis Galiegue

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Francis Galiegue
://frontend.kitchen.eel/$1 /VirtualHost CUT I don't use mod_rewrite, as you can see. -- Francis Galiegue, [EMAIL PROTECTED] When it comes to performance, weight is everything - Tiff Needell - To start a new topic, e-mail: users

Re: Is it possible to serve static pages from Tomcat?

2008-04-12 Thread Francis Galiegue
everything AND your 8080 port will not even show in the URL. Heck, your Tomcat/JBoss can even be on a different machine (just change localhost). -- Francis Galiegue, [EMAIL PROTECTED] When it comes to performance, weight is everything - Tiff Needell

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Francis Galiegue
2008/4/12, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, Francis Galiegue wrote: | Apache is much better at serving static content... To be fair, Apache httpd and Tomcat are about equal. But, if you are already using Apache httpd, you

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-13 Thread Francis Galiegue
has precedence, perhaps you need a NameVirtualHost directive Have you put a NameVirtualHost your.ip.add.ress:{443,80} before defining your virtual hosts? -- Francis Galiegue, [EMAIL PROTECTED] When it comes to performance, weight is everything - Tiff Needell

Re: Does mod_jk work with Tomcat 5.5?

2006-02-21 Thread Francis Galiegue
the path. -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything - Tiff Needell

Re: Does mod_jk work with Tomcat 5.5?

2006-02-21 Thread Francis Galiegue
worker.properties, maybe? I think you've done it already, though... Try and ldd the module in question: does it show a missing link? -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance

[BUG] Tomcat 5.0.x doesn't handle permission errors on classes correctly

2006-03-14 Thread Francis Galiegue
on a directory... -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything - Tiff Needell

Re: Here is site, not getting spidered.

2006-03-27 Thread Francis Galiegue
2006/3/27, Scott Purcell [EMAIL PROTECTED]: Here is the site: http://www.theuniquepear.com I'm not very fluent with HTML, but why are there two DOCTYPE declarations in the generated code? -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la

Tomcat 5.0 : how to redirect a 401 error to a specific page

2006-04-25 Thread Francis Galiegue
the two CC are not on the list, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything - Tiff Needell

mod_jk : connection aborted or network problems, but apache and tomcat are on the same machine??

2006-05-04 Thread Francis Galiegue
? If so, what information would be necessary to diagnose the problem? I thought about the mod_jk parameters in Apache configuration and the worker.properties, but maybe something else would help? Thanks and have a nice day, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED

Re: mod_jk : connection aborted or network problems, but apache and tomcat are on the same machine??

2006-05-05 Thread Francis Galiegue
IfModule worker.c StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 /IfModule -- But I cannot tell, I'm no expert at all... Please help :( Thanks, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED

This page contains secure and non secure elements (was mod_jk : connection aborted or network problems, but apache and tomcat are on the same machine??)

2006-05-08 Thread Francis Galiegue
for is what mod_jk actually calls the client... TIA, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything - Tiff Needell

Re: This page contains secure and non secure elements (was mod_jk : connection aborted or network problems, but apache and tomcat are on the same machine??)

2006-05-08 Thread Francis Galiegue
2006/5/8, Marc Farrow [EMAIL PROTECTED]: You said it gives a warning in Firefox, but IE doesn't allow page to be pulled up. No, both fail to load it. The only benefit of Firefox is its more accurate error message. -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED

Tomcat 5.0.x: AccessLogValve's %B pattern specifier shows -1 bytes??

2006-05-17 Thread Francis Galiegue
accept the Apache {} extension, such as %{%Y%m%d,%H:%M:%S}t which I use for my Apache logs? Thanks, -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes to performance, weight is everything

Re: Mod_jk/firewall configuration problems

2006-06-21 Thread Francis Galiegue
, that is in the middle of our navigation some pages just won't display and either IE or Firefox say Server timeout. Do you think it can be related to this? -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 When it comes

Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
the loglevel to TRACE in logging.properties but it doesn't change anything in catalina.out, which is strange. How do I go about logging wh -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
Sorry, keyboard error, so I'll continue here. How do I go about logging wh ...at the manager application is doing while it deploys? Note, I use the default Tomcat logging mechanism. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f

Re: Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
On Fri, Mar 18, 2011 at 11:46, Mark Thomas ma...@apache.org wrote: On 18/03/2011 10:20, Francis GALIEGUE wrote: Sorry, keyboard error, so I'll continue here. How do I go about logging wh ...at the manager application is doing while it deploys? Note, I use the default Tomcat logging

Re: Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
On Fri, Mar 18, 2011 at 11:53, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/3/18 Francis GALIEGUE f...@one2team.com: [...] 1) You are using HTTP connector only, no AJP, no HTTPS? I use AJP, which has no address restriction. I don't use HTTPS. [...] 2) Take 3 thread dumps

Re: Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
[ajp-bio-8009] Mar 18, 2011 2:47:02 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 69826 ms So, it's that sending application events which seems to take up a lot of time. I don't know what that means... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877

Re: Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
On Fri, Mar 18, 2011 at 14:47, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Francis GALIEGUE [mailto:f...@one2team.com] Subject: Re: Tomcat 7: manager application takes forever to deploy - or not On a 30 seconds start sequence, I collected 3 traces and all look like this one

Re: Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
: http://stackoverflow.com/questions/137212/how-to-solve-performance-problem-with-java-securerandom This is actually a JVM bug, which Sun/Oracle doesn't consider as being one (yeah, right), see http://bugs.sun.com/view_bug.do?bug_id=6202721 Thanks a lot! -- Francis Galiegue ONE2TEAM Ingénieur

Re: [OT] Tomcat 7: manager application takes forever to deploy - or not

2011-03-18 Thread Francis GALIEGUE
On Fri, Mar 18, 2011 at 17:58, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 3/18/2011 6:16 AM, Francis GALIEGUE wrote: I build my own CATALINA_HOME, the difference between the bundled tar.gz and my home are: * no i18n

Re: [OT] Tomcat 7: manager application takes forever to deploy - or not

2011-03-19 Thread Francis GALIEGUE
at all: EADDRINUSE. Unless you arrange for different JAVA_OPTS on startup and shutdown, which I don't need to do with my scripts. As Chuck suggests, you haven't read the documentation well enough because catalina.sh has options to cover your situation described above. Indeed. -- Francis

Re: How to detect down of tomcat.

2011-03-20 Thread Francis GALIEGUE
more common, and Unix shell is much more powerful than Windows' batch files anyway. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Max value of MaxPermSize

2011-03-21 Thread Francis GALIEGUE
be in $CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if it exists. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread Francis GALIEGUE
, the command you issue will terminate only when it is finished (either well or badly). In short, it is ideally suited for scripting purposes. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: email to system admin

2011-03-24 Thread Francis GALIEGUE
to my inbox with the exception details . can i configure this with tomcat. please help me with this. Thank you so much. You can do this with log4j. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré

Tomcat 7.0.11, manager application: is this expected?

2011-03-24 Thread Francis GALIEGUE
/manager /../cockpit:running:0:..#cockpit 2011-03-24 16:49:18 URL:http://localhost:8080/manager/text/list [139] - - [1] Strange that a path with a .. in it should be accepted imho... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f

Re: Tomcat 7.0.11, manager application: is this expected?

2011-03-24 Thread Francis GALIEGUE
for this context, the webapp files are not removed (tested). I haven't tried the stop, start and reload command but I suspect they may also behave strangely. Which turns this feature into a bug :p -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f

Tomcat 7.0.11: bug with manager application when undeploying

2011-03-25 Thread Francis GALIEGUE
undeployed in the full meaning of it: all artifacts are indeed destroyed. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Tomcat 7.0.11: bug with manager application when undeploying

2011-03-28 Thread Francis GALIEGUE
On Mon, Mar 28, 2011 at 00:55, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/3/25 Francis GALIEGUE f...@one2team.com: Scenario: * tomcat starts, as user u1, with only the manager application in place; * it is configured as to not deploy automatically; * user u1 copies a webapp tree

Re: tomcat integrity

2011-04-06 Thread Francis GALIEGUE
? You can sign jars, so I guess you can sign wars and use the same tools to check validity. But this means signing the war at build/package time. Otherwise you can just use whatever the system provides you with. I don't know for Windows, but Linux has {md5,sha1,sha256}sum, etc etc. -- Francis

Re: Apache Tomcat Process is getting killed automatically.

2011-04-07 Thread Francis GALIEGUE
and Tomcat's xmx parameter is set to use from 512MB to 2GB. Now almost once in two days my Tomcat process is getting killed automatically and I have to restart the Tomcat server again and again to resume the application back. Killed by what? What do the logs say? -- Francis Galiegue ONE2TEAM

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Francis GALIEGUE
. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: OT: Versioning in Javascript Files

2011-04-12 Thread Francis GALIEGUE
probable that the server sends back cache control headers saying that this file at this URL expires some time in the future. If the URL doesn't change, the browser won't even bother reloading. It is only if the path changes that you can be sure that the new version will be reloaded. -- Francis Galiegue

Re: Simple Tomcat monitoring ?

2011-04-12 Thread Francis GALIEGUE
is thrown. If you are interested in any of it, I can tell you how we do it. And, considering that your server has 12 GB RAM, you could indeed do with a little more heap space! -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue

Re: OT: Versioning in Javascript Files

2011-04-12 Thread Francis GALIEGUE
and inode number IIRC. I don't know, I never use ETags but only adapted Cache-Control directives. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Simple Tomcat monitoring ?

2011-04-12 Thread Francis GALIEGUE
On Tue, Apr 12, 2011 at 14:26, André Warnier a...@ice-sa.com wrote: Francis GALIEGUE wrote: On Tue, Apr 12, 2011 at 12:20, André Warnier a...@ice-sa.com wrote: [...] Considering all the above, which would be the easiest/quickest way of starting to figure out what this tomcat is doing

Re: [OT] servlet-specific error pages

2011-04-13 Thread Francis GALIEGUE
(), and you can .setResponse(SC_ANYTHINGOTHERTHANOK). -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e

Re: [OT cluster]Request to comment

2011-04-13 Thread Francis GALIEGUE
On Wed, Apr 13, 2011 at 19:01, János Löbb janos.l...@yale.edu wrote: [...] The first 3 paragraphs are done.  I have two machines  with OSX 10.6.5, httpd 2.2.17, mod_jk 1.2.31, tomcat 7.0.10. [...] Just one thing: since you use Apache 2.2.x, why don't you use mod_proxy_ajp? -- Francis

Re: Tomcat 6.0.x TEMP Directory

2011-04-15 Thread Francis GALIEGUE
, if we try to open websites, hosted by the tomcat. Attack the root of the problem: fix applications which forget to delete their temporary files after they have used them. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue

Re: Slow SSL connections after Tomcat 5 to 7 migration

2011-05-04 Thread Francis GALIEGUE
accessing it directly? Did anything else change when you upgraded Tomcat?  For example, the JVM version? Can it be the same problem that I encountered with the long deployment time of the manager webapp, which is cured by changing the entropy source file? -- Francis Galiegue ONE2TEAM Ingénieur

Re: access to Manager

2011-05-27 Thread Francis GALIEGUE
AGAINST the HTML version of it. Why? It requires a Web browser for input. Try the text version instead. Everything is documented. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Switching native Tomcat logging system

2011-05-31 Thread Francis GALIEGUE
account at last for 21st century logging systems? I am surprised log4j didn't even become the default for 6.0.x, and 7.0.x still doesn't make it the default... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond

Re: redirect to another URL in tomcat

2011-06-08 Thread Francis GALIEGUE
could redirect the URL? What do you call the system exactly? Do you want a visible redirect or a silent redirect? You can do it at the Apache level, and with Java for sure - as I never use Tomcat as a frontend directly, I don't know for Tomcat. But it is certainly doable. -- Francis Galiegue

Feature request: fullstart command

2011-06-15 Thread Francis GALIEGUE
as long as it's not 0, but please not -1, think WIFSIGNALED()). -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Feature request: fullstart command

2011-06-15 Thread Francis GALIEGUE
/systemprops.html  - Chuck It doesn't. The only use of it in StandardService is to throw an Error (it will then exit(1) as it is an uncaught error) if connectors initialization fails. But this is not what I'm after (checked in 7.0.14 source code). -- Francis Galiegue ONE2TEAM Ingénieur système Mob

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
main()). So, 1+n, where n is the number of webapps not successfully deployed. But in any case, obey the basic principle that 0 means success, and anything else means a failure. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
automatically converts exit 0 to exit 1 to compensate, but cannot deal with all exit codes]. It's up to main() to call System.exit(), so how is that a problem? -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
the code returned to the OS through System.exit(). You lost me. System.exit() acts at the JVM level anyway, therefore the process level. Don't we talk about the same thing? -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
and EXIT_FAILURE, it's only a matter of defining such constants in the Tomcat code as well - unless the JVM already has such exit code defintions handy, in which case all is left to do is implementing them. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
the firmware is loaded and functional. This is a HUGE difference. The fact that the device may fail at run time is akin to running JMX for webapp monitoring, and this can happen as well. But I want a _guarantee_ that the device, when the init routine returns, is fully ready to operate. -- Francis

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
been the default as far as I'm concerned, but ohwell... Again, connectors are one part of the problem here (I use EXIT_ON_FAILURE now on my deployments). But application deployment is another. Unless there is some hidden meaning to a Connector which I haven't understood. -- Francis Galiegue

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
as standard in Tomcat can bring great value. If it means modifying the server.xml, I'm fine with it. I'm a systems engineer, and while I know some Java, I'd rather let the Tomcat team do that - they will do a better job than I in any case. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683

Re: Feature request: fullstart command

2011-06-16 Thread Francis GALIEGUE
where Tomcat only starts with the manager webapp builtin and further webapps are deployed after the initial startup. This still requires to parse the output of the manager webapp, but at least it's better than the default :/ -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875

Re: Too many open files error

2011-08-24 Thread Francis GALIEGUE
queries. file-max is not what you want to modify. It's the user's limit: RMILIT_NFILE. Look in /etc/security/limits.d. You'll need to restart Tomcat. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116

Re: Too many open files error

2011-08-24 Thread Francis GALIEGUE
-- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Performance for many small requests

2011-08-31 Thread Francis GALIEGUE
it to disk after doing a checksum test.  So it's minimal processing, but there are a LOT of them. Thanks for any insight! Well, first things first, ensure keepalive works properly for the connector(s) you use, but I guess you have it covered already, right? Apart from that... -- Francis Galiegue

tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread Francis GALIEGUE
/manager antiResourceLocking=false privileged=true Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127\.0\.0\.1|::1/ /Context This worked fine with 7.0.16 and doesn't work anymore with 7.0.21, I get 403 each time... Anyone seeing the same problem? -- Francis

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread Francis GALIEGUE
On Wed, Sep 14, 2011 at 17:28, André Warnier a...@ice-sa.com wrote: Francis GALIEGUE wrote: [...]    Valve className=org.apache.catalina.valves.RemoteAddrValve        allow=127\.0\.0\.1|::1/ [...] Maybe try to modify that regexp somewhat, like to allow=(127\.0\.0\.1)|(::1) or allow=127\.0

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
... There definitely is something broken :( -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail: users-unsubscr

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Thu, Sep 15, 2011 at 10:06, Francis GALIEGUE f...@one2team.com wrote: On Wed, Sep 14, 2011 at 20:49, Mark Eggers its_toas...@yahoo.com wrote: [...] I've not tried this in Tomcat, but here's a thought. According to: http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Thu, Sep 15, 2011 at 10:26, Francis GALIEGUE f...@one2team.com wrote: [...] I have added 0:0:0:0:0:0:0:1 as an alternative instead of ::1 and it does work... Which makes me think: the documentation SHOULD specify that regexes in the allow and deny parameters of the valve are ANCHORED

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
? -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Display a static page while application loading.

2011-09-19 Thread Francis GALIEGUE
. It is the only way for me to have the behavior I seek. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail

[OT] Tomcat on its own SVN repository?

2011-09-29 Thread Francis GALIEGUE
plan to move each project at least to its own SVN repo, if not git? -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: [OT] Tomcat on its own SVN repository?

2011-09-29 Thread Francis GALIEGUE
copy code from other ASF projects. BTW, there are read-only git mirrors at ASF elsewhere. http://www.apache.org/dev/contributors.html http://git.apache.org/ Yep, I see that! I'll use this as a base then. Thanks, -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33

Request for comments: Apache-like allow/deny remote host filtering

2011-10-02 Thread Francis GALIEGUE
that it essentially works using a main() (not in the patch). Right now I'm struggling to build the thing and figure out the build.xml... The patch can be seen here: https://github.com/fge/tomcat70/commit/79e0ab03188e00163ef7f97ca84bd8a8d0815f33 Any comments are welcome! -- Francis Galiegue

Re: Request for comments: Apache-like allow/deny remote host filtering

2011-10-02 Thread Francis GALIEGUE
On Sun, Oct 2, 2011 at 19:46, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/10/2 Francis GALIEGUE f...@one2team.com: 1. If you want to submit it as a patch for Tomcat, you should attach it to a Bugzilla issue. OK, will do. 2. Coding conventions: http://tomcat.apache.org

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Francis GALIEGUE
() method of Matcher instead of .lookingAt(), which means you _must_ specify the whole hostname in the regex... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: Request for comments: Apache-like allow/deny remote host filtering

2011-10-04 Thread Francis GALIEGUE
On Tue, Oct 4, 2011 at 20:43, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 10/2/2011 3:57 PM, Francis GALIEGUE wrote: On Sun, Oct 2, 2011 at 19:46, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/10/2 Francis

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Francis GALIEGUE
On Tue, Oct 4, 2011 at 20:46, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 10/4/2011 2:37 PM, Francis GALIEGUE wrote: On Tue, Oct 4, 2011 at 19:49, André Warnier a...@ice-sa.com wrote: [...] In this particular case

Re: Request for comments: Apache-like allow/deny remote host filtering

2011-10-04 Thread Francis GALIEGUE
On Tue, Oct 4, 2011 at 21:02, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, On 10/4/2011 2:50 PM, Francis GALIEGUE wrote: Patch attached. I didn't know Bugzilla would treat patches this way... Can you give us a link

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Francis GALIEGUE
is why Java's .matches() methods are misnomers... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Francis GALIEGUE
, this method's misleading name and the prevalence of Java has led a lot of people to believe that regex matching was done on the whole input, which is of course false. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Francis GALIEGUE
at the beginning and end of the string. Agreed. The Tomcat documentation also suffered the same problem (wrt regex usage in its regex-mapper IIRC) and I've had the doc fixed :p -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Francis GALIEGUE
false (according to what I read in the documentation of Matcher.matches()). Not so ? Well, no, and here you see the incoherency of Java vocabulary vs the rest of the regex world ;) The Javadoc should really read attempts to match the _whole_ input. Bah. Too late to fix things... -- Francis

Re: Denying IPs using the Valve command in context.xml

2011-10-05 Thread Francis GALIEGUE
for it.) Ideally, all of Apache's allow from and deny from (along with Order while we are at it) could/should be implemented. I'm starting with the most simple case of all. It'll be fun to implement, say, 10., .mydomain.com and such... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0

Re: URL simplification

2011-10-10 Thread Francis GALIEGUE
with proxying. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris - To unsubscribe, e-mail: users-unsubscr

Re: URL simplification

2011-10-10 Thread Francis GALIEGUE
[...] What I use: -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 You're forgetting -t nat before -A. REDIRECT is a target only valid from the nat table. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com

Re: URL simplification

2011-10-10 Thread Francis GALIEGUE
others) has seteuid() and fork(), Java doesn't. Apache starts as root, binds to port 80 (therefore opens an fd on it), then forks. The fd is inherited by the child, which calls seteuid(). Then the parent exits. Done. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33

Re: URL simplification

2011-10-10 Thread Francis GALIEGUE
(). Then the parent exits. Done. Tomcat can. Exactly the same process is used by the jsvc wrapper from Commons Daemon. And jsvc is native... -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: URL simplification

2011-10-10 Thread Francis GALIEGUE
On Mon, Oct 10, 2011 at 16:04, Léa Massiot lmhe...@orange.fr wrote: [...] I'm interested in Francis' proposal... please can you give me more details? Thanks! I will but in private, this is getting offtopic ;) -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Francis GALIEGUE
maintenance work to do if ever you wish to change the jars for _one_ Tomcat installation among many. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Francis GALIEGUE
On Tue, Oct 18, 2011 at 16:58, chad.da...@emc.com wrote: Yes, but is there a technical, i.e. JVM, reason that two running instances of tomcat can't concurrently use the same shared libraries? No there isn't. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel

Re: AJP Errors. Apache + Tomcat

2011-10-19 Thread Francis GALIEGUE
. Then you are sure Tomcat is fully loaded. This is what I use and it's very reliable. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris

Re: AJP Errors. Apache + Tomcat

2011-10-19 Thread Francis GALIEGUE
On Wed, Oct 19, 2011 at 11:27, André Warnier a...@ice-sa.com wrote: Francis GALIEGUE wrote: [...] Yes, that would be more reliable than my 2 seconds above. Although if one really wanted to split hairs in 4 parts (lenghtwise), one could argue that the fact that the port mentioned in Server

Re: AJP Errors. Apache + Tomcat

2011-10-19 Thread Francis GALIEGUE
On Wed, Oct 19, 2011 at 11:42, Francis GALIEGUE f...@one2team.com wrote: [...]                lsof -u $TOMCAT_USER -i tcp:8005 /dev/null Sorry, that's a non working version: forget the -u option. But with only the -i, it works. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683

Re: AJP Errors. Apache + Tomcat

2011-10-19 Thread Francis GALIEGUE
On Wed, Oct 19, 2011 at 11:47, André Warnier a...@ice-sa.com wrote: Francis GALIEGUE wrote: On Wed, Oct 19, 2011 at 11:42, Francis GALIEGUE f...@one2team.com wrote: [...]               lsof -u $TOMCAT_USER -i tcp:8005 /dev/null Sorry, that's a non working version: forget the -u option

  1   2   >