Hello,
when I look in the manager/status page I sometimes see threads in status
keep-alive that are
very old, have atm some which are 70700177ms old, which is over 19 hours.
These threads have no longer any connection to the apache server, which invoked
them, as
I restarted the responsible apa
Hello,
I am using Tomcat 4.1.29, with Coyote HTTP Connector.
After a few hours of uptime, I get an error on the log
telling that all threads are busy. The workload is not
high on the server.
Getting a dump of Tomcat Threads I see that most of
them are stuck in a read() method on the socket:
&qu
ewhat
reliable when dealing with a firewall that is eating the TCP shutdown
handshaking.
Byron
-Original Message-
From: Mark Barnes [mailto:[EMAIL PROTECTED]
Sent: Monday, July 18, 2005 5:47 AM
To: tomcat-user@jakarta.apache.org
Subject: apache jk_mod connecor to tomcat; threads not
be the problem?
Thanks a lot,
JP
-Original Message-
From: Pugalia, Jai P (JP)
Sent: Wednesday, July 27, 2005 6:48 PM
To: Tomcat Users List
Subject: Tomcat threads - waiting on monitor entry
Hi,
We have an web application running under Tomcat (5.0.28) on Red Hat
Linux and uses Pos
Hi,
We have an web application running under Tomcat (5.0.28) on Red Hat
Linux and uses Postgres database (8.0).
For database connection pooling we use commons-dbcp (1.2.1) and
commons-pool(1.2.1)
After some time of high-usage, the web application stops responding.
Dumping of the thread stack tr
Hi folks,
Pretty new to the apache/tomcat world so please forgive any naivety.
We have an apache instance on one server that connects to a tomcat
instance on another using jk_mod
The problem is that no matter what values I use for the
worker.properties config the threads on the tomcat side are ne
On Friday 10 December 2004 19:11, Robert Harper wrote:
> I am not familiar with Doug Lea or any of his opinions.
He's the author of the book "Concurrent Programming in
Java" (Addison-Wesley) and the concurrency library that has in J2SDK 5
become java.util.concurrent.
> I do not have
> direct c
RMI thread sets a
flag that the data is ready.
Robert S. Harper
801.265.8800 ex. 255
> -Original Message-
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 9:21 AM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: Tomcat & threads
&
Have you looked at Doug Lea's stuff? I personally would never have a
server thread wait on anything from another thread. The idea of two
threads running together makes little sense where one is just waiting.
This may seem too strict, but I follow it to the letter.
Jack
On Fri, 10 Dec 2004 08:
Hi,
>I do not directly spawn a thread. If you know of an event library for
this
>version of the JVM, I would be happy to use that because I think things
run
>more efficient and the code looks cleaner.
There are numerous, depending what you're looking to do. JMS might be a
good candidate for thi
Robert S. Harper
801.265.8800 ex. 255
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> >I have an app that must wait for a return from another machine that
>
> Yikes ;( I hope you realize that fragility of this design, given that
> J2EE apps (which includes Servlet
Hi,
>I have an app that must wait for a return from another machine that
will
>send an
>asynchronous message. I go into a while loop where I put the current
thread
>to
>sleep for 1000 mills. several times.
Yikes ;( I hope you realize that fragility of this design, given that
J2EE apps (which in
I have an app that must wait for a return from another machine that will send an
asynchronous message. I go into a while loop where I put the current thread to
sleep for 1000 mills. several times. The problem is that it also blocking the
return thread until the loop is terminated. The servlet threa
hi,
how the threads can be activated on tomcat?
regards
Prince
- Original Message -
From: "Lukas Bradley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 3:05 AM
Subject: Re: HttpsURLConnection, Tomcat 4.1.27, and jsse.jar
> A good guess, and only if the JSSE
Hi
How does thread creation/destruction works in Tomcat?
Is the total no. of threads in thread pool maintained by Tomcat varies as load varies?
Does Tomcat destroys threads in the pool, if they are idle for the long time? If yes,
is there way to ensure that Tomcat didn't kill the idle threa
e any control
on these threads?
I want to perform some Init and UnInit operations at the time creation and
destruction of these threads. Is it possible to do with Tomcat threads?
thanks & regards,
Naresh Agarwal
-
To
n tomcat run in threads spawned by Tomcat. Do we have any control on these threads?
I want to perform some Init and UnInit operations at the time creation and destruction of these threads. Is it possible to do with Tomcat threads?
thanks & rega
yes i believe you can.
Tomcat uses multithreading... so you can make it so only 1 thread can access
certain code at once.. using synchronized blocks of code
I think you can do what you want, although im no expert on threads. Best to
look up google for some example code
-
Hi
Web apps in tomcat run in threads spawned by Tomcat. Do we have any control on these
threads?
I want to perform some Init and UnInit operations at the time creation and destruction
of these threads. Is it possible to do with Tomcat threads?
thanks & regards,
Naresh Agarwal
t the threads are
doing.
> -Original Message-
> From: Brandon Cruz [mailto:bcruz@;norvax.com]
> Sent: Wednesday, November 06, 2002 9:15 PM
> To: Tomcat Users List
> Subject: RE: Tomcat Threads never stop growing, why? -repost-
>
> Is it normal for the amount of threads us
Tomcat.
Using Tomcat 3.2.4 on Linux, is this a bug with Tomcat or should I look into
our application?
Please help!
Brandon
-Original Message-
From: Brandon Cruz [mailto:bcruz@;norvax.com]
Sent: Wednesday, November 06, 2002 9:36 AM
To: Tomcat Users List
Subject: Tomcat Threads never stop
I am using Tomcat 3.2.4. When I start the server, about 300 threads are
created, which seems like a lot, but the server runs fine. As time goes on,
the amount of threads grows and grows. The threads are all sleeping and
don't look like they are taking any resources, but they never close. After
Thanks but I've already tried that. Still doesn't work. It's not a
classloader problem I don't think but a Thread violation error of some
sort I think because it's happening in an InnerClass called
TheClass$ReadThread...
I'm going to download a different web container and see if I have the
s
- Original Message -
From: "Michael Engelhart" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 2:17 PM
Subject: Re: Tomcat, Threads and IllegalAccessError
> Oh and for your other question I have the
Oh and for your other question I have the 3rd party library stored in
the Tomcat container home at
jakarta-tomcat-4.0.1/lib/
Thanks
Mike
On Wednesday, January 23, 2002, at 02:14 PM, Michael Engelhart wrote:
> No, it's an IllegalAccessError. It's listed in the Error section of
> java.lang ja
No, it's an IllegalAccessError. It's listed in the Error section of
java.lang javadoc.
Below the list of excceptions is the Errors subsection. Here's the
relevant comment:
/* Begin JavaDoc java.lang.IllegalAccessError */
Thrown if an application attempts to access or modify a field, or to
c
ou what threads are active at the
time your servlet is run.
- 'Debug' your webapp, setting break points in appropriate places.
Good luck
Tom Drake
- Original Message -
From: "Duarte Loreto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Janu
Hello!
I have a JSP page that instantiates an object. This instantiates another
one, as a thread. The thread is created and started on the same inline, and
I have no pointer to the thread.
My question is: when this thread finishes it's run(), does it get
garbagecleaned? The object that ref
I am running tomcat 3.2 on an dual cpu HPUX-11.0 box, using IIS an the front
end
on an NT box.
when I look at the thread list (using glance) for the tomcat process,
i can see 42 threads, but only one of them is showing high cpu usage
in this screen shot, it is thread id 8168.
why are there so ma
D]
> Subject: Tomcat Threads
>
>
> I have tomcat 3.2 running on NT 4 (SP6a) through IIS.
> I have multiple websites each with it's IP address and domain
> names running
> in their own context in separate directories
> everything is working fine but I have a static connec
Each webapp / context runs with its own classloader (afaik)
Thats why multiple copies of your class are being loaded.
May be if you used JNDI lookups to get a handle to a
connection pool with that jdbc 2.0 ext stuff ?
Or maybe rmi ? But jdbc conenctions cannot go over rmi :-(
Regards
Shahe
I have tomcat 3.2 running on NT 4 (SP6a) through IIS.
I have multiple websites each with it's IP address and domain names running
in their own context in separate directories
everything is working fine but I have a static connection pool which is
being initialized several times.
my question is, d
On Sun, 24 Dec 2000, Kief Morris wrote:
| Endre Stølsvik typed the following on 09:23 PM 12/23/2000 +0100
| >| > I'm trying desperately to get tomcat to use only ONE thread. But I always
| >| > seem to end up with 10 or so..
| >
| >Yes, this is only for development purposes. I have a bunch of sep
Endre Stølsvik typed the following on 09:23 PM 12/23/2000 +0100
>| > I'm trying desperately to get tomcat to use only ONE thread. But I always
>| > seem to end up with 10 or so..
>
>Yes, this is only for development purposes. I have a bunch of separate
>server setups on one box, one for each devel
Peter Brandt-Erichsen typed the following on 03:17 PM 12/23/2000 -0800
>What if you configured a servlet
>to the SingleThreadModel, would
>Tomcat still create a thread pool to
>execute this servlet?
Probably, because the threads are most likely created by the container,
without regard to the conf
Subject: Re: Tomcat threads..
On Fri, 22 Dec 2000, Craig R. McClanahan wrote:
| Endre Stølsvik wrote:
|
| > I'm trying desperately to get tomcat to use only ONE thread. But I
always
| > seem to end up with 10 or so..
| >
| > I guess this is because of tomcat internals, but j
On Fri, 22 Dec 2000, Craig R. McClanahan wrote:
| Endre Stølsvik wrote:
|
| > I'm trying desperately to get tomcat to use only ONE thread. But I always
| > seem to end up with 10 or so..
| >
| > I guess this is because of tomcat internals, but just how many threads
| > does tomcat really need?
|
Endre Stølsvik wrote:
> I'm trying desperately to get tomcat to use only ONE thread. But I always
> seem to end up with 10 or so..
>
> I guess this is because of tomcat internals, but just how many threads
> does tomcat really need?
>
Tomcat needs one thread for each simultaneous request you wan
I'm sure your right - I haven't used the linux kernel in a long time
(Blackdown jdk days)
It used to be a heavyweight threading model for linux native threads but
there's been a whole lot
of improvements in the java threading implementations on linux (shame I
can't say the same for C/C++ threads)
Ted Husted wrote:
> As an aside, threads are not the same as an OS processes, although
they can look the same.
On 12/22/2000 at 9:20 AM Thom Park wrote:
>...unless you're on a linux box ;-)
Hmmm, it was my understanding that the Linux ps command was
mis-reporting threads as processes.
<
http:/
Ted Husted wrote:
>
> As an aside, threads are not the same as an OS processes, although they
> can look the same.
>
...unless you're on a linux box ;-)
-T.
On 12/22/2000 at 4:32 PM Endre Stølsvik wrote:
> I'm trying desperately to get tomcat to use only ONE thread.
Why? Java and Tomcat are designed to be multithreaded. Reducing threads
would hurt performance. All the same resources would be used, but only
in serial. What is your goal?
As an aside,
I'm trying desperately to get tomcat to use only ONE thread. But I always
seem to end up with 10 or so..
I guess this is because of tomcat internals, but just how many threads
does tomcat really need?
--
Mvh,
Endre
43 matches
Mail list logo