:(
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
, 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
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
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
,
--
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
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
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
, 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
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
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
://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
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
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
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
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
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
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
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
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
? 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
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
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
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
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
, 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
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
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
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
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
[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
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
:
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
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
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
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
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
, 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
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é
/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
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
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
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
?
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
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
.
--
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
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
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
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
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
(), 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
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
, 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
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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
--
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
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
/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
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
... 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
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
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
?
--
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
. 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
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
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
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
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
()
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
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
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
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
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
, 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
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
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
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
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
[...]
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
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
().
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
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
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
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
. 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
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
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
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 - 100 of 122 matches
Mail list logo