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
mo
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 wrote:
> Hello team,
>
> Tomcat Server going down frequently with the following messages in the lo
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 wrote:
> We
000d5140 nid=0x7 runnable
prompt#
On Wed, Sep 2, 2009 at 3:09 PM, keeplearning 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
FWIW, I usually do a tail/tee on catalina.out in a term, then do the
kill -QUIT 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
/tmp/tomcat-threads.tmpA
Termin
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
> wrote:
>
> > By it's very definition (see Codd or Date), an RDBMS should be capable
> > of performing joins with good performance. MySQL often struggles to d
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: 15
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 Thu, Oct 16, 2008 at 10:30 PM, Matthew Laird <[EMAIL PROTECTED]> wrote:
[...lines snipped...]
> 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) with 16GB of
> RAM. We're running OpenSuSE 10.2, 32-bit. Java mem
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 ex
FWIW, you can create distinct "profiles" with mozilla/firefox:
firefox -ProfileManager
And then start distinct processes with:
firefox -P
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
> separate
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 relat
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
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 t
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
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 co
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(a
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, cha
Are you maxing out your database connection pool?
On Wed, Jun 4, 2008 at 1:29 PM, Zufeng Huang <[EMAIL PROTECTED]> wrote:
> proxool:
> 9
>20
>450
>100
>
> Regards,
> Dave
>
> On Jun 3, 2008, at 10:15 AM, Álvaro Morillas (Sortes Ing. Inf. S.L.)
> wrote:
>
> > Although I don't use servlets, only jsp's, it's a solution I've
> > thought,
> > using a log taglib. The problem is that I must insert the co
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
gt; inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:3894 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3894 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes
cope_id=0},
> 28) = 0
> fcntl64(10, F_GETFL)= 0x2 (flags O_RDWR)
> fcntl64(10, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> accept(10, {sa_family=AF_INET6, sin6_port=htons(51175), inet_pton(AF_INET6,
> "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [
lowinfo=0, sin6_scope_id=0},
> [28]) = 0
> socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 11
> connect(11, {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)
&g
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
>> >> 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
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
> >> s
data.length);
> ouputStream.flush();
> ouputStream.close();
> response.setStatus(HttpServletResponse.SC_OK);
>
> But still no solution.
> The response header keep showing Content-Length=4332.
>
> How I can set the Content-Length in a reliable way ?
> From where this 4332 v
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 a
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 Jav
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 t
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 a
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 m
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
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
" 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 the
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
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 shou
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 abo
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 org.apache.to
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
>
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
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 '\.cs-aterm\logs\SY
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
trigger it.
>
> If you have doubt, try to get stackTrace 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 c
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 o
46 matches
Mail list logo