In your full production trace, is there an indication which thread has
the 0xd50244e8 lock?
I've debugged similar situations where threads were blocked waiting
for monitor 0x. (getting java.sql.Connections, as it turned
out) -- identifying examining the thread that had locked that
monitor
Is LoginBean.java your code (or code that you control)? You might
have to change that code a bit to handle a session that has already
been invalidated.
On Mon, Nov 15, 2010 at 6:03 AM, Amol Puglia amolcpug...@yahoo.com wrote:
Hello team,
Tomcat Server going down frequently with the following
Can you truss/strace Tomcat, or watch the network traffic between
MySQL and Tomcat? Comparing captures from those tools between
successul and hung page generation might show what the issue is, or at
least suggest other areas to look at.
On Wed, Feb 10, 2010 at 2:53 PM, Jordan Michaels
FWIW, I usually do a tail/tee on catalina.out in a term, then do the
kill -QUIT tomcat PID from another term, then kill the tail/tee
combo which leaves me with a reasonably clean thread dump.
For example:
Terminal A:
prompt$ tail -f /usr/local/tomcat/logs/catalina.out | tee
...@yahoo.com wrote:
Sorry. But I didn't understand how using 2 terminals would help me with the
questions I posted.
Jim Cox-2 wrote:
FWIW, I usually do a tail/tee on catalina.out in a term, then do the
kill -QUIT tomcat PID from another term, then kill the tail/tee
combo which leaves me
On Fri, Jan 23, 2009 at 6:23 AM, Leon Rosenberg
rosenberg.l...@googlemail.com wrote:
On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham
cware...@visitlondon.com wrote:
By it's very definition (see Codd or Date), an RDBMS should be capable
of performing joins with good performance. MySQL
When creating tables with referential integrity in MySQL you still get gems
like, e.g.:
mysql create table jimtest ( colA varchar(32) NOT NULL, CONSTRAINT fk1
FOREIGN KEY(colA) REFERENCES jimtest2(colA) ON DELETE CASCADE );
ERROR 1005 (HY000): Can't create table './test/jimtest.frm' (errno:
As far as schemas in Postgres go, a normal way to handle them is to create
schema-specific users with an appropriately-set default schema, e.g.
something like:
CREATE SCHEMA company_a ;
CREATE USER company_a_user PASSWORD 'foo' ;
ALTER USER company_a_user SET search_path TO company_a, public
On Wed, Sep 17, 2008 at 6:58 AM, karthikn
[EMAIL PROTECTED]wrote:
Question 1 : How to implement a Filter in the application for Browsers
limitation
The web application should be visible only in IE-6 or
Fire Fox 2.0 ?
You can write deploy a Filter that examines
FWIW, you can create distinct profiles with mozilla/firefox:
firefox -ProfileManager
And then start distinct processes with:
firefox -P profile name
On Mon, Aug 18, 2008 at 8:19 AM, David Smith [EMAIL PROTECTED] wrote:
In my experience, Internet Explorer starts a new process (and has a
On Tue, Aug 12, 2008 at 8:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote:
Can you suggest ways to troubleshoot the problem I am having?
I can neither get my war file, nor an exploded dir tree to start (tomcat
5.5)
In the [catalina] log file I see these errors, which I believed related to
On Tue, Jul 29, 2008 at 5:05 PM, Jq [EMAIL PROTECTED] wrote:
How can I simulate the way tomcat builds a jsp file?
I need to debug a .jsp that fails to build when requested.
Thanks.
If you mean debugging why JSP compilation fails, you can look at the
generated servlet code (the .java file)
Alas, poor Yorick! No.
(sorry, couldn't resist).
On Mon, Jul 28, 2008 at 7:56 PM, Poor Yorick
[EMAIL PROTECTED] wrote:
compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with
jdk-1.6.0_06,
I run into the following error:
build-tomcat-dbcp:
[copy] Copying 63 files to
On Mon, Jul 14, 2008 at 5:27 PM, jcarey03 [EMAIL PROTECTED] wrote:
I am working with Tomcat 6 for a Java web application, and I was wondering
if
Tomcat provides the capability to connect to a database, let's say Sybase's
ASE, using SSL. Is there any documentation describing how to do this?
On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast [EMAIL PROTECTED]
wrote:
I'm writing a jsp to return out a simple xml document and it is being
preceded by quite a few line breaks, causing my test parser to fail.
The page simply calls out.println(xmlstring);
Is there another way to control
Googling for Tomcat syslog logging seems to return some useful links,
e.g.:
http://kbase.redhat.com/faq/FAQ_68_8798.shtm
On Tue, Jul 8, 2008 at 9:29 AM, Lynn Hollerman [EMAIL PROTECTED]
wrote:
I have been asked to see about redirecting the output logs from the various
tomcat instances(all
That's not really what I see here.
I think of %@ include=file% directives as akin to a C compiler's
#include, or a shell's source, directive in that the content of the file
is interpreted as if it were directly typed into the containing file. On the
old-ish version of Tomcat that I have, changes
)
Teléfono: 916943388 – Móvil: 617315926
Horario: L-J: 9:00-14:00, 15:00-18:30 | V: 9:00-15:00
-Mensaje original-
De: Jim Cox [mailto:[EMAIL PROTECTED]
Enviado el: martes, 03 de junio de 2008 16:30
Para: Tomcat Users List
Asunto: Re: Requests being processed at a certain
Are you maxing out your database connection pool?
On Wed, Jun 4, 2008 at 1:29 PM, Zufeng Huang [EMAIL PROTECTED] wrote:
proxool:
house-keeping-sleep-time9/house-keeping-sleep-time
prototype-count20/prototype-count
maximum-connection-count450/maximum-connection-count
I use a filter servlet to log entry/exit timestamps for requests along with
some shell scripting to process the logs looking for still open requests.
I've been using it for over a year for a production site, it's been very
useful for debugging unexplained slowdowns, hangs, etc.
Filter is pretty
dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:236606 (231.0 KiB) TX bytes:236606 (231.0 KiB)
Jim Cox on 22/05/08 14:05, wrote:
I'm assuming the pause you saw was at the following line?
connect(11, {sa_family=AF_INET6, sin6_port=htons(48669),
inet_pton
I'd think it's more likely to be timing out while resolving a hostname via
DNS, but starting tomcat via strace should show you exactly where it is
pausing.
On Thu, May 22, 2008 at 5:08 AM, Adam Hardy [EMAIL PROTECTED]
wrote:
I'm still frustrated by this freeze. Looking at this thread dump, I
, {sa_family=AF_INET6, sin6_port=htons(48669),
inet_pton(AF_INET6, ::1, sin6_addr), sin6_flowinfo=0, sin6_scope_id=0},
28) = -1 ETIMEDOUT (Connection timed out)
close(10) = 0
close(11) = 0
Jim Cox on 22/05/08 11:23, wrote:
I'd think
accept(10, {sa_family=AF_INET6, sin6_port=htons(51175), inet_pton(AF_INET6,
::1, sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 12
shutdown(11, 2 /* send and receive */) = 0
Jim Cox on 22/05/08 13:38, wrote:
Can you compare that output to a capture from the box where you don't see
when i start the server in normal mode with command
/opt/tomcat/in/catalina.sh run
it starts in almost 2 hours.
FWIW, your log excerpt shows a 2-minute delay, not a 2-hour delay as your
originally reported.
In any case, re your question on starting via truss, it should be as
simple as
On Tue, Apr 29, 2008 at 7:16 AM, jitesh sharma [EMAIL PROTECTED]
wrote:
without my web application it does not takes more then 5-6 seconds.
Peter Crowther wrote:
From: jitesh sharma [mailto:[EMAIL PROTECTED]
I have successfully installed Tomcat 5.5.27 over my Solaris
system with x86
in a reliable way ?
From where this 4332 value comes from ?
Danilo.
--- Jim Cox [EMAIL PROTECTED] wrote:
Does the client get a Content-length header, and
if so does the actual
length of the response body match? If not it has to
either timeout or wait
for the server to close
Do you use the same version of Java and run as the same user Tomcat runs
under when you run it statically outside of Tomcat?
On Thu, Apr 17, 2008 at 9:53 AM, Ken Bowen [EMAIL PROTECTED] wrote:
Hi all,
I've successfully built a number of Tomcat projects using MySQL, but now I
have to also use
Does the client get a Content-length header, and if so does the actual
length of the response body match? If not it has to either timeout or wait
for the server to close the connection.
On Wed, Apr 16, 2008 at 11:33 AM, Danilo Luiz Rheinheimer
[EMAIL PROTECTED] wrote:
Hi,
I have a Java
You've lost me a bit on what servers are running -- you have IIS serving
port 80, and Tomcat serving 8080? If so, can't you simply configure IIS to
proxy the requests to your Tomcat on port 8080?
On Fri, Apr 11, 2008 at 9:40 AM, Gary Opela (Corporate)
[EMAIL PROTECTED] wrote:
Thanks, but that
Is Tomcat getting killed by the OOM Killer?
http://linux-mm.org/OOM_Killer
On Feb 20, 2008 8:12 AM, David Delbecq [EMAIL PROTECTED] wrote:
Hello,
our tomcat, in a test environment, is shutting down unexpectedly. There
is no messages about stopping webapp, or even receiving SHUTDOWN message
On Feb 20, 2008 10:47 AM, Dave [EMAIL PROTECTED] wrote:
class Foo {
private static int;
static {
a = 100;
}
Foo() {
}
}
Class.forName(package.Foo).newInstance();
The static init block of Foo is not called.
I am using Java 1.5
On Nov 28, 2007 1:50 PM, Adam Feuer [EMAIL PROTECTED] wrote:
Folks,
We're getting intermittent problems where one tomcat thread hangs for up to
10 minutes writing JSP pages to a socket. We think the socket is an HTTP TCP
socket. The stack trace from a thread dump for the hung thread is below.
On Nov 27, 2007 3:30 PM, jnedzel [EMAIL PROTECTED] wrote:
Thanks, I'll look at maxing out the logging.
A simple thing to do would be to grab a stack dump with a kill -QUIT
tomcat pid during one of these slow periods and see if anything
jumps out at you, compare it to one from a normal period,
On Nov 8, 2007 10:41 AM, [EMAIL PROTECTED] wrote:
Hi,
We have an architecture where we have many tomcat app servers load
balanced by apache at the front.
In resolving our current bottleneck i used JProfiler to see what the
tomcat applications were doing and when under high load there are a
On 10/23/07, Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus,
Milanez, Marcus wrote:
I think you could configure your server so that the 80 port is not
available, only the 443 one. Programaticaly, you can invoke the
request.isSecure()
On 10/19/07, Daniel M Garland [EMAIL PROTECTED] wrote:
Thanks Jim,
It was previously set to 1024, and I quadrupled it. When you say ulimit
is persistent will it persist across a reboot?
I don't seem to have the command lsof, I'll try and apt-get it.
Cheers
Dan
The settings should
On 10/19/07, Daniel M Garland [EMAIL PROTECTED] wrote:
Should I then place ulimit -n in the catalina startup scripts?
Setting a limit with ulimit is sticky (i.e. persistent), so there's
no need to stick it in the startup script.
However, you didn't answer the previous two questions about
On 10/18/07, Daniel M Garland [EMAIL PROTECTED] wrote:
Hi all
I'm seeing a problem on a Tomcat instance:
18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
org.apache.tomcat.jni.Error: Too many open files
at
On 10/13/07, Christopher Schultz [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Kerber wrote:
Let me give a bit more detail: I am working on a utility function in my
webapp that will periodically copy the database file from the db server
to a
On 9/27/07, Wm.A.Stafford [EMAIL PROTECTED] wrote:
Our Tomcat 4.1.30 instance seems to hang about once a week. i.e. the
application is unresponsive and it can not be restarted from the
management console. Tomcat must be restarted to restore functionality.
There is nothing in the logs to
snippet
Each time when Tomcat has crashed, it has been at midnight. At exactly
midnight my program changes log directorys - from 20-09-2007 to
21-09-2007. This is a TimerTask. A thread which runs at exactly
midnightat each of these crashes it has reported Can't create
directory
On 9/21/07, Lindsay Patten [EMAIL PROTECTED] wrote:
[ ...stuff elided...]
If I look at the system status using the Tomcat manager webapp there are
often requests listed with ridiculously large values in the Time column,
several hundred seconds for jsp pages that only take a fraction of a
I developed a simple logging filter to debug some performance problems
on a Tomcat 5.0.19 installation. It works well for the requests it
sees, but the filter does not see requests serviced by a
.wsdd-deployed Axis servlet.
Anyone have any help/info/pointers to offer?
Only one webapp is defined
during an axis request (either
by making a fault during axis response, either by using a slow response
and sneding signal 3 to JVM)
En l'instant précis du 20/09/07 16:47, Jim Cox s'exprimait en ces termes:
I developed a simple logging filter to debug some performance problems
on a Tomcat
45 matches
Mail list logo