." is required to
> trick the JVM into using the alternate random byte source.
>
I was about to suggest this but wasn't sure that the problem also
existed for Mac OS X...
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +
#x27;t want caching.
It is enough to "Cache-control: no-cache" (or "no-store", though the
latter wreaks havoc on IE and downloads) or, if you are _still_ using
HTTP/1.0, "Pragma: no-cache". The "Expires" is not needed at all.
--
Francis Galiegue
ONE2TEAM
Ingé
using Tomcat's caching directives, so...
Show us the relevant portions of the configuration file.
--
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
-
le? I have never used it, but I'd
definitely look there. There is no reason at all why the JVM alone
would play with shared objects unless you ask it to.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945
ersion 1.1.17
Can you:
perl -ple 's,\00,\n,g' /proc/$(pgrep java)/environ
and see what LD_LIBRARY_PATH is, if anything? (this is provided that
only one java process is running, otherwise adapt the pgrep command)
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33
art. We have to reboot the whole server and then tomcat will
> work fine again for a couple of days. Has anyone else seen a problem
> like this?
>
It looks like a native error, ie a JVM error. Can you locate some
hs_err_ files in your Tomcat installation?
--
Francis Galiegue
ONE2TEAM
On Wed, Dec 7, 2011 at 02:02, André Warnier wrote:
[...]>
>
> I'd comment too on the lack of packages in RHEL.
> I know that lots of missing perl modules won't bother you much, but maybe a
> missing mod_jk will leave you less serene ?
>
Why use mod_jk when you have
rvers and haven't had an OS crash for five _years_
with it). And you have EPEL if you want extra packages which RHEL does
not provide.
--
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
---
6-bit wide address. It
uses TLBs (Translation Lookaside Buffers) for that, and it is the OS'
role to have the correct TLB in place at any time.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33
er will take up 8 bytes, but so will any byte. In
general, the alignment is 4 bytes, except for long values of course.
With a 4 byte alignment, this means you can store two ints in a
register, and it's then only a matter of logical ands/shifting to
obtain the value you want. And these operations are
S on a
64bit CPU, you eat up two registers whereas a 64bit OS will take only
one.
And of course, this is without considering wasted TLB space or the
sheer time to address just one memory page.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f.
in memory usage by itself, it is the JVM which limits
what it can consume.
In the best of cases (32bit Linux and 32bit Sun 1.6 JVM), you are
limited to a 3 GB heap size.
Use a 64bit OS and JVM.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178
o one
process at any given moment) is still 2^32.
[1] Physical Address Extension
--
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
--
y do you still use a 32bit OS and JVM" is the
question here.
--
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, Nov 29, 2011 at 16:26, hi tanin wrote:
> Thanks for your reply. If i upgrated into 64-bit system
__AND__ 64bit JDK...
> then what will be the memory limit for Tomcat 5.0.27? Is there any way to
> find out the mamimum memoery limit ?
More than you will be able to buy!
--
the JVM allows for a max of 3 GB heap size to be specified,
not 2. Well, with the 1.6 versions of them at least.
And no, there's no way around it except upgrading to a 64bit arch and OS.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@on
the LRU case: when a CSRF attack appears for
whatever app is out there, for whatever defintion of "appears", it is
more likely that the same attack pattern will appear even on
unaffected sites.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178
M at the permgen
level, so yes you need to use -XX:MaxPermSize.
--
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 unsubscri
On Fri, Oct 28, 2011 at 22:58, Christopher Schultz
wrote:
[...]
>
> For some reason, the US likes to spend most of it's money
>
"its" ;)
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raym
reason, but we don't know yet if it is really Tomcat
> sending the 404 replies.
Which is exactly why I suggested that ;) If 404 is not seen in the
Tomcat access log file, then we know Tomcat isn't the culprit ;)
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Te
this same element on disk.
> What may also help is the content of the ./WEB-INF/web.xml file of your
> application, and the ./META-INF/context.xml if there is one (all comments
> and passwords removed).
>
> And also tell us where you got your Tomcat from, and where you find Tomcat
On Wed, Oct 19, 2011 at 11:56, Mikolaj Rydzewski wrote:
> On Wed, 19 Oct 2011 11:42:36 +0200, Francis GALIEGUE wrote:
>
>> Extract from the script (note that the server port is not randomized,
>> it should probably be):
>
> Hi all,
>
> Why do you want to go into su
On Wed, Oct 19, 2011 at 11:47, André Warnier wrote:
> Francis GALIEGUE wrote:
>>
>> On Wed, Oct 19, 2011 at 11:42, Francis GALIEGUE wrote:
>> [...]
>>>
>>> lsof -u $TOMCAT_USER -i tcp:8005 &>/dev/null
>>>
>>
>>
On Wed, Oct 19, 2011 at 11:42, Francis GALIEGUE 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 : +3
On Wed, Oct 19, 2011 at 11:27, André Warnier 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
for Tomcat to be fully
started: wait to see the port specified in open for
listening. 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
On Tue, Oct 18, 2011 at 16:58, 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
e set of jar files?
>
It is entirely possible, of course. But you'll have some 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
On Mon, Oct 10, 2011 at 16:04, Léa Massiot 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
Te
seteuid().
>> 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...@o
>
C (and C++ and many 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
[...]
>
> 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
d be to install Apache and configure a vhost 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,
fun.
> (But don't hold your breath waiting 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, s
nd 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 Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178
deny is already automatically anchored at the
> beginning and end of the string.
Agreed. The Tomcat documentation also suffered the same problem (wrt
regex usage in its IIRC) and I've had the doc fixed :p
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +
"^re$"), even if your re is already anchored.
Unfortunately, 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 :
retty much the definition of regex matching, and which 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
--
On Tue, Oct 4, 2011 at 21:02, Christopher Schultz
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...
>
> Ca
On Tue, Oct 4, 2011 at 20:46, Christopher Schultz
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 wrote:
>> [...]
>>
>>> In this
On Tue, Oct 4, 2011 at 20:43, Christopher Schultz
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
>> wrote:
>>> 2011/10/2 Francis
matches()
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 P
On Sun, Oct 2, 2011 at 19:46, Konstantin Kolinko wrote:
> 2011/10/2 Francis GALIEGUE :
>
> 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/getinvolved.html
&g
ave
tested 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!
--
F
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
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
-
To
few months ago, and
is why I have my current setup. 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
--
> That may allow for some optimisation. I'm sure the impact would be tiny,
> but since this is code that gets invoked at just every request and generally
> quite early, it may be significant.
>
I was rather thinking about a completely new valve, allowing to
specify CIDR ranges, s
nchored...
But anyway, the "allow" and "deny" as they exist currently just don't
cut the mustard, and are far from being as potent as, say Apache's
Allow from and Deny from. This should be the goal.
RemoteAddrValveEvolved?
--
Francis Galiegue
ONE2TEAM
Ingénieu
On Thu, Sep 15, 2011 at 10:26, Francis GALIEGUE 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 t
On Thu, Sep 15, 2011 at 10:06, Francis GALIEGUE wrote:
> On Wed, Sep 14, 2011 at 20:49, Mark Eggers wrote:
> [...]
>>
>> I've not tried this in Tomcat, but here's a thought.
>>
>> According to:
>>
>> http://tomcat.apache.org/tomcat-7.0-doc/con
tp://localhost:8080//manager/text/list
But even so, using "127\\.0\\.0\\.1", I get 403... 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
--
On Wed, Sep 14, 2011 at 17:28, André Warnier wrote:
> Francis GALIEGUE wrote:
[...]
>> > allow="127\.0\.0\.1|::1"/>
[...]
>>
> Maybe try to modify that regexp somewhat, like to
> allow="(127\.0\.0\.1)|(::1)"
> or
> allow="127
and doesn't work anymore with 7.0.21, I
get 403 each time... Anyone seeing the same 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 Poincaré
75116
te it,
> and write 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, ri
amed tomcat in it (or
whatever name you want) and put in these two lines:
tomcat softnofile 16384
tomcat hardnofile 16384
(if the user running Tomcat is indeed called tomcat)
If you want to see the current limit, as root, run:
su tomcat -c "ulimit -n&
XML document after
> doing a series of database 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 :
stand that since this is what I use right now. I
make it darn sure that my locale is set up OK, but then any different
logging configuration will defeat that. Which is why I am right now
switching over completely to the scenario where Tomcat only starts
with the manager webapp builtin and further web
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èm
ould have 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.
--
d_ 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.
detect what OS it runs on. I mean, C has EXIT_SUCCESS 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
tood the term "exit code" to mean 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
he JVM 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
4
t good an idea: the JVM will return 1 in the event of an
uncaught exception (or thrown from 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
ONE
ystemprops.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én
re 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
--
; Is there a way in the system we 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
e.
When will Tomcat's logging 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) 17
rongly
recommend 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 av
t;
> Also, is Tomcat front-ended by anything (e.g., httpd), or are you 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 we
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...@one2te
On Wed, Apr 13, 2011 at 19:01, János Löbb 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
is defined in
if you use .sendError(), 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
On Tue, Apr 12, 2011 at 14:26, André Warnier wrote:
> Francis GALIEGUE wrote:
>>
>> On Tue, Apr 12, 2011 at 12:20, André Warnier wrote:
>> [...]
>>>
>>> Considering all the above, which would be the easiest/quickest way of
>>> starting to fig
an If-None-Match header.
Apache does this by default with a combination of mtime 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
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
ould be /static/dojo-1.5.js, 1.6 would be /static/dojo-1.6.js, etc.
I don't know your setup exactly, but it is highly 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 ev
n't either of jsp-api or servlet-api in your classpath.
--
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,
M is 4GB 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
s, 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 Galiegue
ONE2
On Mon, Mar 28, 2011 at 00:55, Konstantin Kolinko
wrote:
> 2011/3/25 Francis GALIEGUE :
>> 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
the webapp tree to its rightful owner, then the webapp
is indeed 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 : +3
he undeploying command will work 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è
er:running:2:/usr/share/tomcat7/webapps/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
t an email
> 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.
ication, 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 Raym
d 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
--
h is that
Unix shell expertise is far 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
--
l also be used for shutdown... Which means you can't
>> shutdown 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 doc
On Fri, Mar 18, 2011 at 17:58, Christopher Schultz
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:
&
/urandom will not work. Duh.
Reference:
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!
--
Fra
On Fri, Mar 18, 2011 at 14:47, Caldarale, Charles R
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
filter 'CSRF'
Mar 18, 2011 2:47:02 PM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 18, 2011 2:47:02 PM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 18, 2011 2:47:02 PM org.apache.catalina.startup.
On Fri, Mar 18, 2011 at 11:53, Konstantin Kolinko
wrote:
> 2011/3/18 Francis GALIEGUE :
[...]
>
> 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 with several sec
On Fri, Mar 18, 2011 at 11:46, Mark Thomas 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
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) 17
tried to switch 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 Ray
> www.xyz.com:80, the first 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, weig
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.
1 - 100 of 130 matches
Mail list logo