Tomcat as windows service

2007-08-06 Thread André Vila Cova
Could you tell me why I get following error when I try to start tomcat
service using java options:

-classpath C:\Program Files\Apache Group\Tomcat 5.5\bin\bootstrap.jar
-Dcatalina.home=C:\Program Files\Apache Group\Tomcat 5.5
-Dcatalina.base=C:\Program Files\Apache Group\TOMCAT_UPG1
-Djava.endorsed.dirs=C:\Program Files\Apache Group\Tomcat
5.5\common\endorsed
-Djava.io.tmpdir=C:\Program Files\Apache Group\TOMCAT_UPG1\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files\Apache
Group\TOMCAT_UPG1\conf\logging.properties


[2007-08-06 11:03:15] [info] Running Service...
[2007-08-06 11:03:15] [info] Starting service...
[2007-08-06 11:03:15] [960  prunsrv.c] [error] Failed setting process
executable
[2007-08-06 11:03:15] [1179 prunsrv.c] [error] ServiceStart returned 2
[2007-08-06 11:03:15] [info] Run service finished.
[2007-08-06 11:03:15] [info] Procrun finished.

Thanks a lot


Tomcat status

2007-08-06 Thread André Vila Cova
I've lot of tomcat installed in windows server. I want to know status of
each one (ports configured,  CATALINA_HOME, CATALINA_BASE, status,
datasource, etc...). Exists some script (perl, JSP, etc) showing this data?

Thanks a lot


Jkoptions error

2007-08-03 Thread André Vila Cova
Why I get

Syntax error on line 516 of Z:/Apache Software
Foundation/Apache2.2/conf/httpd.conf:

JkOptions: Illegal option 'DisableReuse'

When I setup

 JkOptions +DisableReuse
in httpd.conf??

Thanks a lot


Application outside WEBAPPS

2007-08-02 Thread André Vila Cova
Hello!

How can I invoke an application located outside WEBAPPS? What setup I need
to do?
If I have an application inside WEBAPPS, p.e., ../WEBAPPS/test/ in URL I
invoke http://localhost/test... but if application is in other location?

Thanks a lot


Tomcat doubts

2007-07-30 Thread André Vila Cova
Hi!

Do you have 2 minutes of your time to explain me some doubts?
Well, first of all:

I'm trying to understand diffent configuration files. What's exactly the
goal of ROOT.xml, database.properties and datasource.properties?

../conf/Catalina/localhost/ROOT.xml


Context  docBase=/alert/production/apps/teste  path= 
   Resource name=ehr auth=Container type=
oracle.jdbc.pool.OracleDataSource
  factory=oracle.jdbc.pool.OracleDataSourceFactory
  driverClassName=oracle.jdbc.OracleDriver

url=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(protocol=tcp)(host=)(port=1521))(ADDRESS=(protocol=tcp)(host=x)(port=1521))(load_balance=on)(connect_data=(service_name=xxx)))
  user=xxx password=xxx connectionCachingEnabled=true/
 Manager className=org.apache.catalina.session.StandardManager
maxActiveSessions=-1 maxInactiveInterval=1800
processExpiresFrequency=6 /
/Context

../WEB-INF/classes/database.properties


#Database configuration parameters
cache = true
user = aol
pass = goose
url = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(protocol=tcp)(host=
192.168.40.17)(port=1521))(ADDRESS=(protocol=tcp)(host=192.168.40.18
)(port=1521))(load_balance=on)(connect_data=(service_name=EHR)))

../WEB-INF/classes/datasource.properties

#DataSource configuration parameters
InitialLimit = 10
MinLimit = 10
MaxLimit = 50
PropertyCheckInterval = 120

What's the best way to connect to Oracle? Using jdbc connection like I use?
and about connection poolling? How can I setup a pool of connections?

If a Oracle package be invalid I need to reset connections???

What's the best free tool to monitor tomcat? I want to monitor time of
executions...

Thanks for your time...
A.


Re: Mod_jk error

2007-07-26 Thread André Vila Cova

Red Hat Enterprise Linux AS release 4 (Nahant Update 5)

Release :  Jakarta-Tomcat 5.5.20

Modulo nativo APR:  tomcat-connectors-1.2.20

JVM versão. : Sun JVM1.5.0_11

I think that apache web server don't receive response from tomcat and don't
send final ack to tomcat and tomcat don't free threads.I see every logs from
oracle executions and duration of TOP SQL is very low.
I made test using the same architecture without firewall and everything
works fine. Tomcat free threads and send complete response to web server.

Thanks.



On 7/26/07, Rainer Jung [EMAIL PROTECTED] wrote:


Hi,

you didn't give us your versions, you platform or any configuration info.

André Vila Cova wrote:
 Hello!

 Apache mod_jk returns following error (frequently...):

 [Thu Jul 26 11:07:52 2007] [2703:1120] [error]
 ajp_connection_tcp_get_message::jk_ajp_common.c (948): (app02_aol) can't
 receive the response message from tomcat, network problems or tomcat is
 down
 (192.168.40.11:8007), err=-104
 [Thu Jul 26 11:07:52 2007] [2703:1120] [error]
 ajp_get_reply::jk_ajp_common.c (1566): (app02_aol) Tomcat is down or
 refused
 connection. No response has been sent to the client (yet)


The 104 is the errno of your local platform. For Linux 104 is
Connection reset by peer.

 We have two firewalls between Apache Web Server and Tomcat Web , but we
 didn't see nothing wrong in firewalls logs.

 Response appear on browser, but seems that no ack flag arrives to
webserver
 to finish request. Tomcat crashs with error All threads (400) are
currently
 *busy*, waiting. Increase *maxThreads* (400) or check the servlet
status.

The above log entry is for only a single request. You write that the
response actually goes back to the browser, but I guess you mean most
of the requests, or are you sure that this single request produced a
response?

No idea, what you mean by crash? If this message appears, it means,
that all the threads you have configured in you thread pool of the
tomcat connector are busy by running a request. Since you configured 400
threads max, this might actually mean, that something is to slow in your
app or in some backend your app is using, so the requests take to long
and the system becomes congested. In this situation take a java thread
dump to check, what those 400 threads are actually doing.

 Is it a configuration problem? May I setup some parameter to resolve
 problem?

If only we knew your configuration ...

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Mod_jk error

2007-07-26 Thread André Vila Cova

Hello!

Apache mod_jk returns following error (frequently...):

[Thu Jul 26 11:07:52 2007] [2703:1120] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (948): (app02_aol) can't
receive the response message from tomcat, network problems or tomcat is down
(192.168.40.11:8007), err=-104
[Thu Jul 26 11:07:52 2007] [2703:1120] [error]
ajp_get_reply::jk_ajp_common.c (1566): (app02_aol) Tomcat is down or refused
connection. No response has been sent to the client (yet)

We have two firewalls between Apache Web Server and Tomcat Web , but we
didn't see nothing wrong in firewalls logs.

Response appear on browser, but seems that no ack flag arrives to webserver
to finish request. Tomcat crashs with error All threads (400) are currently
*busy*, waiting. Increase *maxThreads* (400) or check the servlet status.

Is it a configuration problem? May I setup some parameter to resolve
problem?

Could you help me?

Thanks a lot.


Thread waiting

2007-07-16 Thread André Vila Cova

Hi!

How can I say for what is the tread waiting?

http-8085-Processor23 daemon prio=1 tid=0xdd4b7ae8 nid=0x2d41 in
Object.wait() [0xde29b000..0xde29c020]
   at java.lang.Object.wait(Native Method)
   - waiting on 0xe61981f0 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Object.wait(Object.java:474)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:656)
   - locked 0xe61981f0 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Thread.run(Thread.java:595)

Thanks a lot


Re: Tomcat - All threads (200) are currently busy

2007-07-13 Thread André Vila Cova

1 . no
2 . lot of users


On 7/12/07, Leon Rosenberg [EMAIL PROTECTED] wrote:


Stupid question:
1. are you using keep alive?
2. how many users are actually on?
regards
Leon

On 7/13/07, Christopher Schultz [EMAIL PROTECTED] wrote:
 Ingo,

 Ingo Krabbe wrote:
  Am Donnerstag, 12. Juli 2007 19:12 schrieb André Vila Cova:
  http-8085-Processor24 daemon prio=1 tid=0x082f1378 nid=0x19c6 in
  Object.wait() [0xde118000..0xde118e20]
  at java.lang.Object.wait(Native Method)
  - waiting on 0xe619f748 (a
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
 
  somehow this looks like a deadlock.

 I agree with Chuck: this is just an Object.wait() being called on the
 ControlRunnable object (which is probably the monitor for the thread
 pool). Most threads will be in this state. If you have threads in this
 state, then they are /not/ busy... they're waiting around for something
 to do!

 -chris





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat - All threads (200) are currently busy

2007-07-13 Thread André Vila Cova

And it's possible to know what threads are really doing?
And I don't understand why having the following 3 connectors

maxThreads=400 minSpareThreads=25 maxSpareThreads=75
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
maxThreads=150 minSpareThreads=25 maxSpareThreads=75

I get error:
SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads
(200) or check the servlet status.
Why 200? I dont have configured the value 200.

Thank you


On 7/12/07, Christopher Schultz [EMAIL PROTECTED] wrote:


Ingo,

Ingo Krabbe wrote:
 Am Donnerstag, 12. Juli 2007 19:12 schrieb André Vila Cova:
 http-8085-Processor24 daemon prio=1 tid=0x082f1378 nid=0x19c6 in
 Object.wait() [0xde118000..0xde118e20]
 at java.lang.Object.wait(Native Method)
 - waiting on 0xe619f748 (a
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)

 somehow this looks like a deadlock.

I agree with Chuck: this is just an Object.wait() being called on the
ControlRunnable object (which is probably the monitor for the thread
pool). Most threads will be in this state. If you have threads in this
state, then they are /not/ busy... they're waiting around for something
to do!

-chris






Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread André Vila Cova

Hi!

I've this two processes:

tomcat6404  0.0  2.6 484396 105456 ? Sl   01:05   0:14
/usr/local/java1.5/bin/java -Xms64m -Xmx200m -Xss512k -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.conf
tomcat6555  0.1  3.8 516420 154452 ? Sl   01:09   0:39
/usr/local/java1.5/bin/java -Xms64m -Xmx200m -Xss512k -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.conf

Output is null when I execute the following command:
[EMAIL PROTECTED] ~]# kill -QUIT 6404
[EMAIL PROTECTED] ~]#

How can I see what thread is doing?

Thank You



On 7/11/07, Titi Wangsa [EMAIL PROTECTED] wrote:


probably some threads are performing database operation
and it takes too long so new threads are being spawned,
the new threads are also taking too long, so newer threads are being
spawned.
too much spawning,  that is what is causing the limit break.

On 7/12/07, André Vila Cova [EMAIL PROTECTED] wrote:
 I don't think so... I will see..but, why i get the error?
 SEVERE: All threads (200) are currently *busy*, waiting. *Increase


 On 7/11/07, Mladen Turk [EMAIL PROTECTED] wrote:
 
  André Vila Cova wrote:
   Hello!
  
   I get lot of times the following error:
  
   SEVERE: All threads (200) are currently *busy*, waiting. *Increase
   maxThreads*
   **
   *Strange is that i've configured in server.xml the following
   (maxThreads=400):*
   *
  
 
  You have probably done that for a wrong connector.
 
  Regards,
  Mladen.
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread André Vila Cova

More information on catalina.out:

TP-Processor80 daemon prio=1 tid=0xe0370988 nid=0x1c19 runnable
[0xda178000..0xda178fa0]
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:129)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
   - locked 0xf0caa5d0 (a java.io.BufferedInputStream)
   at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
   at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java
:558)
   at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)

TP-Processor79 daemon prio=1 tid=0xe036ffd8 nid=0x1c18 runnable
[0xda1f9000..0xda1f9f20]
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:129)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
   - locked 0xf0ca5d20 (a java.io.BufferedInputStream)
   at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
   at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java
:558)
   at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)

TP-Processor78 daemon prio=1 tid=0xe036f678 nid=0x1c17 runnable
[0xda27a000..0xda27aea0]
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:129)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
   - locked 0xeff48930 (a java.io.BufferedInputStream)
   at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
   at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java
:558)
   at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)

TP-Processor77 daemon prio=1 tid=0xe036f0a0 nid=0x1c16 runnable
[0xda2fb000..0xda2fbe20]
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:129)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
   - locked 0xeff48ff8 (a java.io.BufferedInputStream)
   at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
   at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java
:558)
   at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
...

Thank you


On 7/12/07, André Vila Cova [EMAIL PROTECTED] wrote:


I get following output after executing Kill -quit 6555... I don't know
what information I need to analyze. Could you help me?

[EMAIL PROTECTED] hsperfdata_tomcat]# strings 6555
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.initializedClasses
sun.cls.classInitTime
sun.cls.classVerifyTime
sun.gc.cause
No GC
sun.gc.lastCause
unknown GCCause
sun.gc.generation.0.name
sun.gc.generation.0.spaces
sun.gc.generation.0.minCapacity
sun.gc.generation.0.maxCapacity
sun.gc.generation.0.capacity
sun.gc.generation.0.space.0.name
eden
sun.gc.generation

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread André Vila Cova

Lot of waits... Could you help me?

http-8085-Processor24 daemon prio=1 tid=0x082f1378 nid=0x19c6 in
Object.wait() [0xde118000..0xde118e20]
   at java.lang.Object.wait(Native Method)
   - waiting on 0xe619f748 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Object.wait(Object.java:474)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:656)
   - locked 0xe619f748 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Thread.run(Thread.java:595)

http-8085-Processor23 daemon prio=1 tid=0x082f0470 nid=0x19c5 in
Object.wait() [0xde199000..0xde199da0]
   at java.lang.Object.wait(Native Method)
   - waiting on 0xe61c2360 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Object.wait(Object.java:474)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:656)
   - locked 0xe61c2360 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Thread.run(Thread.java:595)

http-8085-Processor22 daemon prio=1 tid=0x084561c8 nid=0x19c4 in
Object.wait() [0xde21a000..0xde21b120]
   at java.lang.Object.wait(Native Method)
   - waiting on 0xe61c21e8 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Object.wait(Object.java:474)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:656)
   - locked 0xe61c21e8 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
   at java.lang.Thread.run(Thread.java:595)


On 7/12/07, André Vila Cova [EMAIL PROTECTED] wrote:


More information on catalina.out:

TP-Processor80 daemon prio=1 tid=0xe0370988 nid=0x1c19 runnable
[0xda178000..0xda178fa0]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java :129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java :313)
- locked 0xf0caa5d0 (a java.io.BufferedInputStream)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:558)
at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

TP-Processor79 daemon prio=1 tid=0xe036ffd8 nid=0x1c18 runnable
[0xda1f9000..0xda1f9f20]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java :129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java :313)
- locked 0xf0ca5d20 (a java.io.BufferedInputStream)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:558)
at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

TP-Processor78 daemon prio=1 tid=0xe036f678 nid=0x1c17 runnable
[0xda27a000..0xda27aea0]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java :129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java :313)
- locked 0xeff48930 (a java.io.BufferedInputStream)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:558)
at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

TP-Processor77 daemon prio=1 tid=0xe036f0a0 nid=0x1c16 runnable
[0xda2fb000..0xda2fbe20]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java :129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218

Tomcat - All threads (200) are currently busy

2007-07-11 Thread André Vila Cova

Hello!

I get lot of times the following error:

SEVERE: All threads (200) are currently *busy*, waiting. *Increase
maxThreads*
**
*Strange is that i've configured in server.xml the following
(maxThreads=400):*
*

Connector
port=8085   maxHttpHeaderSize=8192
  maxThreads=400 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false redirectPort=8443 acceptCount=100
  connectionTimeout=5000 disableUploadTimeout=true /
*
*Yes, I already restarted tomcat...*
**
*First: Why I get the previous error?*
*Second: Why in error I see 200?*
**
Release :  Jakarta-Tomcat 5.5.20

The architecture is based on a web server on a server and tomcat in other
server... When I execute ping i get :

64 bytes from 192.168.30.11: icmp_seq=11953 ttl=63 time=0.648 ms
64 bytes from 192.168.30.11: icmp_seq=11954 ttl=63 time=0.654 ms
64 bytes from 192.168.30.11: icmp_seq=11955 ttl=63 time=0.664 ms
64 bytes from 192.168.30.11: icmp_seq=11956 ttl=63 time=0.657 ms
64 bytes from 192.168.30.11: icmp_seq=11957 ttl=63 time=0.656 ms
64 bytes from 192.168.30.11: icmp_seq=11958 ttl=63 time=0.654 ms
64 bytes from 192.168.30.11: icmp_seq=11959 ttl=63 time=0.664 ms
64 bytes from 192.168.30.11: icmp_seq=11960 ttl=63 time=0.674 ms
64 bytes from 192.168.30.11: icmp_seq=11961 ttl=63 time=0.659 ms

Could you help me please?

Regards

Thank You


Re: Tomcat - All threads (200) are currently busy

2007-07-11 Thread André Vila Cova

I don't think so... I will see..but, why i get the error?
SEVERE: All threads (200) are currently *busy*, waiting. *Increase


On 7/11/07, Mladen Turk [EMAIL PROTECTED] wrote:


André Vila Cova wrote:
 Hello!

 I get lot of times the following error:

 SEVERE: All threads (200) are currently *busy*, waiting. *Increase
 maxThreads*
 **
 *Strange is that i've configured in server.xml the following
 (maxThreads=400):*
 *


You have probably done that for a wrong connector.

Regards,
Mladen.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]