12) Be sure to top post.
I LOL'd.
André Warnier wrote:
Dear Posters,
if you want to get fast, terse, to-the-point answers on this list :
1) start with a subject like "Tomcat does not work"
That always gets immediate attention. It does not really matter if the
problem is really in Tomca
btw, how does lambdaprobe does it?
I mean the size?
Chuck will surely correct me on that, but the actual size of an object
is extremely dependent on the VM implementation (boolean stored in
integer, object header overhead, and so on...)
I once tried to create a sizeof util, and it works withi
Matt,
Chuck is right. You want to get real information. Try the verbose GC
output flag on the JVM and see what that says. If you /don't/ see a
bunch of major collections in the output while that task is running,
then GC is not your problem.
B.
Caldarale, Charles R wrote:
From: Matthew L
ey
Caldarale, Charles R wrote:
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat not using multiple cores
I think that this is a garbage collection issue.
Extremely unlikely, since the OP has already stated:
"The only time I began to see the other cores actually
This will be a helpful document:
http://java.sun.com/docs/hotspot/gc5.0/ergo5.html
Brantley
Matthew Laird wrote:
We're pulling our hair out with a Tomcat issue.
We have an in-house application running on Tomcat 5.5 with Sun JDK 1.6.
The machine is an x86 dual-CPU, quad core (8 cores total) w
I think that this is a garbage collection issue.
Enable the garbage collection output to see if that's the case (the
"-verbose:gc" flag) . I struggled with this myself just a month ago and
ended up learning more about Java GC than I ever wanted to know. The
gist of it is that when the JVM ru
Does anyone know what's up with Lambda probe? The site's been down for
a while...
Thanks,
Brantley
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Darryl Pentz wrote:
I have an issue where webapp A needs to let webapp B know about an event, and
then return a response to webapp B's processing of that event to the browser.
So basically I need to communicate between webapps in the same container.
I have not found a no-brainer solution to t
Mark Thomas wrote:
Karthik Nanjangude wrote:
Hi
SPEC ( Single box)
O/s : Unix 11
J2sdk : 1.6
DB : Oracle10g
TOMCAT 6.0.18.0
RAM 16 GB
A normal WEB application [ User id / Passwd for AAA ] on the following spec is
successfully running LIVE [ non clustered mode ]
Question : Some h
Caldarale, Charles R wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir
Subject: hello world
I'm running Ubuntu:
[EMAIL PROTECTED]:~$
I thought mentats weren't supposed to use computers...
No matter what, the spice must flow. If it takes a computer, it takes a
comput
"return" statements do not prevent the finally block from executing:
http://java.sun.com/docs/books/tutorial/essential/exceptions/finally.html
B.
Johnny Kewl wrote:
- Original Message - From: "sinoea kaabi" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, September 16, 2008
an get a chance to secure it. Does anyone have a
suggestion as to how to secure this thing using IIS?
Thanks,
Brantley Hobbs
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
LOL
Absolutely no problem. Someone has to do it!
B.
Caldarale, Charles R wrote:
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Subject: Re: database application
Cue Charles Caldarale hammering someone for not providing a Tomcat
version in 3...2...1...
(Sorry I'm late, our marv
Cue Charles Caldarale hammering someone for not providing a Tomcat
version in 3...2...1...
Seriously, Eleonora...You should read here:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Note particularly:
*"Please note that JNDI resource configuration has changed some
place
resources in the app's context.xml.)
My question is this: Is it possible to pull in an "include" file in
server.xml? I'd like to place all the database connection information
in a separate file.
Thanks,
Brantley Hobbs
app as
"ROOT", but then deployment and application management becomes somewhat
painful. I'd like to be able to manage all my apps with a single lambda
probe or Tomcat manager installation.
Thanks!
Brantley Hobbs
---
JMeter includes an AJP13 client. I would expect that to be overkill
though.
I also do not know of any fully featured Java based reverse proxy
servlet. In your case, you might be able to write something reasonable
on top of httpclient for the HTTP protocol (using http to the backend
and not
All,
I have rather an odd situation that I'm hoping someone can give me some
advice on.
Short version:
I need to know if there's a servlet, filter or valve that can be used to
provide the same functionality as mod_jk does for Apache. In other
words, I want to map certain requests to a JK co
JMX?
I'm intrigued by your idea and would like to subscribe to your newsletter.
Is there a "canned" application that can use JMX to provide similar
information as the old admin app?
Thanks,
Brantley
Mark Thomas wrote:
Fredy Provoste wrote:
Hi there, i want to know if there's any admin a
With stuff like this, I've had good success simply using telnet and a
manual GET to see what the correct headers are supposed to look like. A
sniffer would work just as well.
Good luck!
Brantley
Dick Eastin wrote:
Hi - Sorry to be asking a dumb question; but, maybe the answer is simple and
dle/trying to issue redirects.
Does anyone have any experience/recommendations setting something like
this up? Len hinted at F5 - not sure we can afford that... Len: which F5
and how much??
-----Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 20
I should say "an actual redirect response code could confuse a browser".
B.
Brantley Hobbs wrote:
You know, I hadn't given it a lot of thought to be honest.
I think that for accuracy's sake it should probably be a 500 error (I
assume that 503 is a server busy error or s
operation.
Brantley
Nelson, Tracy M. wrote:
| From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 27 June, 2007 12:37
|
| This approach seems to work well (at least until the box staggers to a
| halt simply issuing redirects).
Just out of curiosity, do you think it would help in
ist at one
time
* Yes
* N/A
*
*
*
*
* @author Brantley Hobbs (UGA ASG)
* @since APOJEE Core 1.0.1
*/
public class UserLimitFilter implements Filter {
private static final Log log =
LogManager.getLog(LogCategory.APPLICATION);
priv
Mohammed,
While it may not work in all browsers, you can try the "empty-cells" CSS
property in the table's style.
Render the table tag thusly: ...
An alternative is what the other guy said; simply check for nulls before
rendering, and render a non-breaking space if you have a null. I'd
sh
Prashant,
Unless I'm load-testing, the only time I've seen thread counts that
high is when something is wrong with the app, and it's usually a
database connection that hasn't been closed. Check the number of
database connections in use out of the pool (this is typically
something that you'd do o
ng to test, and I'm getting this same issue.
I'm unsure of where else to start looking for bottlenecks now. I'm not
CPU, I/O or database bound, but there's no other log entries.
For the record, it's Apache 2.0.52/mod_jk 1.2.22/Tomcat 5.5.23.
Thanks,
Brantley Hobbs
-
Rainer,
Thanks for all the info. Hopefully we can get this thing whipped into
shape.
Brantley
Rainer Jung wrote:
Brantley Hobbs wrote:
Rainer,
Thanks for the reply! You're certainly right on the JK version.
Can you be more specific on the "add some more timeouts" comment
ocs, especially the pages for the worker properties and Apache
directives. You might want to add some more timeouts.
BTW: Maximum Apache parallelity of 150 does not really fit to a maximum
tomcat parallelity of 1500 unless your tomcat does serious extra work .
Regards,
Rainer
Brantley Hobbs wro
ds 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
Tomcat 5.5.23 (Sun jvm 1.6.0-b105)
Apache 2.0.52
mod_jk 1.2.6
All running on RHEL4
Any help appreciated! I don't have a great deal of Tomcat load tuning
experience.
Brantley Hobbs
--
Ultraedit also works.
If I could threadjack here, I'd like to point out my own gripe with
windows tomcat logging. Can we please make it out of the box log all
stdout stuff to a *single* catalina.out file that doesn't roll over?
That's a pain. I like to set up an icon to my log file, but I ca
http://struts.apache.org/1.x/struts-tiles/
A more structured replacement for plain-old JSP include statements.
B.
Simon Stone wrote:
Sorry to be dim, what are tiles ?
Brantley Hobbs-3 wrote:
You could easily do it with tiles. An alternative would be to use a
filter and append your footer
Doh. My coffee hasn't kicked in yet: I just noticed that you want one
for every webapp, not just a single one.
I wonder if you can do it with a valve. That's a tomcat specific thing,
IIRC, so you might not be able to port that to some other container in
the future.
B.
Simon Stone wrote:
You could easily do it with tiles. An alternative would be to use a
filter and append your footer to the output stream.
B.
Simon Stone wrote:
I am trying to find a way to put some html text on the bottom of all pages
across all webapps.
So what i would like to acheive is when any page is dis
David,
Unless you really want to part with some money, perhaps you could take
another swing at it.
First, make sure you're configuring the ISAPI redirector correctly. I
have attached the following example files for you:
1. A sample workers.properties file (this maps workers to tomcat
insta
Martin,
I'm afraid I don't understand. Would the request length be the same as
the response? I'm totally not following.
Brantley
Martin Gainty wrote:
Brantley-
as the ServletResponse.getOutputStream() returning a
javax.servlet.ServletOutputStream is not RLE (RunLengthEncoded)
unless of c
ject, then there's a hole in the
spec, IMHO.
My $0.02
B.
Yair Zohar wrote:
Well, it does, partially.
I sometimes get a non zero status code, but it's not zero only when
there is an error (status code s: 404, 304).
Yair.
Brantley Hobbs wrote:
Ahh.please ignore my last.
I see th
How do you get the byte count from the output stream ?
Yair.
Brantley Hobbs wrote:
Yair,
I too would be interested in this. I wrote a logging filter that does
what you describe, but the best that I could come up with was a
response wrapper that was passed along the filter chain. In the
wrapp
formation on the status code ?
How do you get the byte count from the output stream ?
Yair.
Brantley Hobbs wrote:
Yair,
I too would be interested in this. I wrote a logging filter that does
what you describe, but the best that I could come up with was a
response wrapper that was passed al
Yair,
I too would be interested in this. I wrote a logging filter that does
what you describe, but the best that I could come up with was a response
wrapper that was passed along the filter chain. In the wrapper, I could
set a status, thus guaranteeing that I would end up with a status at th
Martin,
I have a filter that logs to a database table. It could easily be
modified to make log4j entries, which can then be tied to any valid
log4j appender.
B.
Martin Strand wrote:
Hi all. :)
I want to make Tomcat send it's access log to a remote server (log4j or
syslog).
Configuring all
> -Original Message-
> From: Zach Moazeni [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 11, 2006 3:37 PM
> To: Tomcat Users List
> Subject: Re: Tomcat IIS-redirector help
>
> It certainly would be nice if ASP and ASP.NET had a binary to which
you
> could pass the file to and receive
> Can you please send me the txt of the registry file? I will check it
out
> and
> make sure there is nothing that I have not already done.
>
> Tom
>
I sent this in private, but I decided to post it back to the list just
in case it is useful to someone else:
Tom,
I'm pasting the contents of th
Thomas,
I don't know if I can help you, but I can offer moral support; I'm using
the ISAPI redirector on IIS6/W2K3 and it works fine.
Some (admittedly basic) checkpoints:
1. I'm using version 1.2.13 of the redirector.
2. I have a .reg file of registry entries if you'd like to see them so
you ca
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 03, 2006 11:10 AM
> To: Tomcat Users List
> Subject: Re: question
>
> hello> a.) Top Post?
http://catb.org/~esr/jargon/html/T/top-post.html
Personally, I never had a problem with it (and wil
It sounds like a filter might be what you're looking for.
http://java.sun.com/products/servlet/Filters.html
B.
> -Original Message-
> From: Darryl L. Miles [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 20, 2005 10:51 AM
> To: Tomcat Users List
> Subject: Can you intercept the defau
46 matches
Mail list logo