mod_jk2.so e jkjni.so problem

2003-12-18 Thread Walter do Valle
Hello all

I compiled the sources for jk2 2.0.2 in my linux box, I intalled apache 2.0.40 and 
Tomcat 5.0.16.
When I configure JK2 Connector I receive this messagem in tomcat startup:

INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: 
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final

Obvously does not work. I have a 500 internal server error when access a tomcat 
context from apache.

What is this? Is it a problem in compilation? What's wrong?
 

To compile:
./configure --with-apxs2=/usr/lib/apxs2
make

If someone could tell me where can i get the binaries for download, I will be cery 
gratefull.

mod_jk2.so errors

2003-12-18 Thread Walter do Valle
I'm receiving this messages in error_log from apache web server.
My envirenment is Linux Red Hat 9, Apache 2.0.40-21, Tomcat 5.0.16
What is wrong? Is this a bug?
http://myserver/jkstatus works, but nothing more.

[EMAIL PROTECTED] conf]# cat /var/log/httpd/error_log 
[Thu Dec 18 11:38:49 2003] [notice] Digest: generating secret for digest 
authentication ...
[Thu Dec 18 11:38:49 2003] [notice] Digest: done
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11818 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11820 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11821 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11822 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11824 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11825 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 11:38:50 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
[Thu Dec 18 11:38:50 2003] [error] jk2_init() Can't find child 11823 in scoreboard
[Thu Dec 18 11:38:50 2003] [error] mod_jk child init 1 -2


Apache + Tomcat

2003-12-18 Thread Walter do Valle
Is there anyone in the list using sucessfully Apache 2.0.40 or greater and Tomcat 
5.0.16 with mod_jk2 v 2.0.2 connector in a linux box?
Is so, then what's the secret to compile a functional version of mod_jk2?

I downloaded the sources and compiled them. 
When I try to use the generated files jkjni.so and mod_jk2.so two problems ocurr: 

- When tomcat starts: 
INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: 
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final

-When apache starts:
[Thu Dec 18 14:27:42 2003] [notice] Digest: generating secret for digest 
authentication ...
[Thu Dec 18 14:27:42 2003] [notice] Digest: done
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19850 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19852 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19853 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19854 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19856 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19857 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19855 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2

Any help is welcome.

Re: Apache + Tomcat

2003-12-18 Thread Walter do Valle
I have this

[EMAIL PROTECTED] apache2]# ls -l /usr/lib/libapr*
-rw-r--r--1 root root   169320 Jan 25  2003 /usr/lib/libapr-0.a
-rw-r--r--1 root root  707 Jan 25  2003 /usr/lib/libapr-0.la
- lrwxrwxrwx1 root root   26 Dec 18 14:16 /usr/lib/libapr-0.so - 
/usr/lib/libapr-0.so.0.9.2
lrwxrwxrwx1 root root   17 Dec 18 09:38 /usr/lib/libapr-0.so.0 - 
libapr-0.so.0.9.2
-rwxr-xr-x1 root root   122648 Jan 25  2003 /usr/lib/libapr-0.so.0.9.2
lrwxrwxrwx1 root root   15 Dec 18 13:58 /usr/lib/libapr.so - 
libapr.so.0.0.0
lrwxrwxrwx1 root root   15 Dec 15 13:07 /usr/lib/libapr.so.0 - 
libapr.so.0.0.0
-rwxr-xr-x1 root root   118328 Feb 25  2003 /usr/lib/libapr.so.0.0.0
-rw-r--r--1 root root   117652 Jan 25  2003 /usr/lib/libaprutil-0.a
-rw-r--r--1 root root  735 Jan 25  2003 /usr/lib/libaprutil-0.la
lrwxrwxrwx1 root root   21 Dec 18 09:38 /usr/lib/libaprutil-0.so.0 - 
libaprutil-0.so.0.9.2
-rwxr-xr-x1 root root85200 Jan 25  2003 /usr/lib/libaprutil-0.so.0.9.2
lrwxrwxrwx1 root root   19 Dec 18 13:58 /usr/lib/libaprutil.so - 
libaprutil.so.0.0.0
lrwxrwxrwx1 root root   19 Dec 15 13:07 /usr/lib/libaprutil.so.0 - 
libaprutil.so.0.0.0
-rwxr-xr-x1 root root82868 Feb 25  2003 /usr/lib/libaprutil.so.0.0.0

The link marked with a - was created by me because when I ran 'make', it stops with 
an error like this:
i386-redhat-linux-gcc: /usr/lib/libapr-0.so: No such file or directory
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1 
  - Original Message - 
  From: Asif Chowdhary 
  To: Tomcat Users List ; Walter do Valle 
  Sent: Thursday, December 18, 2003 2:48 PM
  Subject: RE: Apache + Tomcat


  To compile mod_jk2 on linux you require:

  Apache Portable Runtime (APR) apr-0.9.4.tar.gz http://apr.apache.org/
  Apache Portable Runtime Utility (APR) apr-util-0.9.4.tar.gz http://apr.apache.org/


  During the build process if you see the error shown in Table 2?5:
  Table 2?5:make Error
  [so] stdErr[so] /usr/bin/ld: cannot fine -lapr  [so] collect2: ld returned 1 
exit status

  Create a symbolic link libapr-0.so in /usr/lib from /usr/local/apr/lib.
   ln -s /usr/local/apr/lib/libapr-0.so /usr/lib/libapr-0.so 




  -Original Message-
  From: Walter do Valle [mailto:[EMAIL PROTECTED]
  Sent: Thursday, December 18, 2003 1:41 PM
  To: [EMAIL PROTECTED]
  Subject: Apache + Tomcat


  Is there anyone in the list using sucessfully Apache 2.0.40 or greater and Tomcat 
5.0.16 with mod_jk2 v 2.0.2 connector in a linux box?
  Is so, then what's the secret to compile a functional version of mod_jk2?

  I downloaded the sources and compiled them. 
  When I try to use the generated files jkjni.so and mod_jk2.so two problems ocurr: 

  - When tomcat starts: 
  INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: 
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final

  -When apache starts:
  [Thu Dec 18 14:27:42 2003] [notice] Digest: generating secret for digest 
authentication ...
  [Thu Dec 18 14:27:42 2003] [notice] Digest: done
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19850 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19852 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19853 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19854 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19856 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19857 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19855 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2

  Any help is welcome.

Re: Apache + Tomcat

2003-12-18 Thread Walter do Valle
I downloaded, compiled and intalled apr from apache. 
The error persists.




  - Original Message - 
  From: Asif Chowdhary 
  To: Tomcat Users List ; Walter do Valle 
  Sent: Thursday, December 18, 2003 2:48 PM
  Subject: RE: Apache + Tomcat


  To compile mod_jk2 on linux you require:

  Apache Portable Runtime (APR) apr-0.9.4.tar.gz http://apr.apache.org/
  Apache Portable Runtime Utility (APR) apr-util-0.9.4.tar.gz http://apr.apache.org/


  During the build process if you see the error shown in Table 2?5:
  Table 2?5:make Error
  [so] stdErr[so] /usr/bin/ld: cannot fine -lapr  [so] collect2: ld returned 1 
exit status

  Create a symbolic link libapr-0.so in /usr/lib from /usr/local/apr/lib.
   ln -s /usr/local/apr/lib/libapr-0.so /usr/lib/libapr-0.so 




  -Original Message-
  From: Walter do Valle [mailto:[EMAIL PROTECTED]
  Sent: Thursday, December 18, 2003 1:41 PM
  To: [EMAIL PROTECTED]
  Subject: Apache + Tomcat


  Is there anyone in the list using sucessfully Apache 2.0.40 or greater and Tomcat 
5.0.16 with mod_jk2 v 2.0.2 connector in a linux box?
  Is so, then what's the secret to compile a functional version of mod_jk2?

  I downloaded the sources and compiled them. 
  When I try to use the generated files jkjni.so and mod_jk2.so two problems ocurr: 

  - When tomcat starts: 
  INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: 
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final

  -When apache starts:
  [Thu Dec 18 14:27:42 2003] [notice] Digest: generating secret for digest 
authentication ...
  [Thu Dec 18 14:27:42 2003] [notice] Digest: done
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19850 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19852 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19853 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19854 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19856 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19857 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
  [Thu Dec 18 14:27:43 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
  [Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19855 in scoreboard
  [Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2

  Any help is welcome.

Two Tomcats and One Apache Web Server

2003-12-09 Thread Walter do Valle
Hello all

Is it possible to install two Tomcats in the same linux server, put some web 
applications in one tomcat, put some web applications in other tomcat and both tomcats 
answer to the same Apache Web Server?
Anyone has made this?
Is there any tips and tricks about this matter? 
What is the best way to do this (if possible)?

Thansks for any help

Best JVM for Tomcat

2003-12-03 Thread Walter do Valle

What is the best version of J2SDK to run Tomcat 4.1.29 over Linux?

Thanks for any tip

Tomcat does not die

2003-12-03 Thread Walter do Valle
Hello all

I have a Tomcat 4.1 instaled in a Red Hat Linux 7.3 server. My JDK is JDK 1.3.0 from 
IBM. My Tomcat was instaled from a RPM package downloaded from jakarta project 
homepage. When it was installed, rpm created a file called tomcat4 in /etc/init.d. I 
use this script to start and stop my Tomcat.  I have chosen that JDK because RPM 
package waits for JDK 1.3.0 from IBM. All works well. tomcat4 start starts Tomcat, 
tomcat4 stop stops Tomcat.
But in some moments Tomcat stops responding (hang) then I try use the command tomcat4 
stop to stop it but it does not work. Tomcat stops to listen his 8080 port but the 
processes (threads) stay still running (ps -ef).
What can I do to solve this problem? Update Tomcat? Update JDK?

Any help is welcome

Tomcat 4 threads

2003-12-01 Thread Walter do Valle
I have some doubts about Tomcat and his threads. If someone could help me, i will be 
very grateful.

In what moment new threads are created in Tomcat when it's running? 
Is there a thread pool? In case positive:
- What is the initial quantity of threads created? 
- What is the stagger algorithm?
- After created, when a thread terminates (end of life, release)?
- What means o large number of threads? Many users? Many sessions? Many requests?

Thanks for any help

Share jsp pages between different contexts

2003-11-27 Thread Walter do Valle
Hello all

Is there a way in Tomcat to inlcude pages (jsp:include ou %@ include %)  from one 
application context to another context?

Example: 
context /common has a page called header.jsp
I need to inlclude this page in another page located in context /shop without 
replicate the file.

Any help is welcome.

Thanks


Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-26 Thread Walter do Valle

Try this

It helps me a lot.

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm


  - Original Message - 
  From: Bhavdeep Sharma 
  To: Tomcat Users List 
  Sent: Tuesday, November 25, 2003 11:21 AM
  Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 
connector


  Hi all,

  I am running tomcat 4.0 as service on Win 2K
  I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
  (isapi_redirect_1.2.5.dll)

  I try to access the sample JSP page using IIS and get the error Page cannot
  be displayed 
  The same JSP page works fine if I access it directly from Tomcat.
  I have AJP 1.3 entry in server.xml file as un-commented.

  To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
  service and then try to access the JSP page from IIS. I still get exactly
  the same error. 
  Even the ISAPI log is also same irrespective of that Tomcat service is
  running or not.

  The content of the ISAPI log is pasted bellow. 

  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
  Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/bhsharma/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
  jk_uri_worker_map_t::map_uri_to_worker, done without a match
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
  test Default redirection of /examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
  [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check
  if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
  ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
  done  found a worker
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc got
  a worker for name ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
  jk_worker_t::get_endpoint
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
  jk_endpoint_t::service
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
  connect socket = 2852
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (174)]: jk_open_socket, after
  connect ret = -1
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (203)]: jk_open_socket, connect()
  failed errno = 61
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (151)]: In
  jk_endpoint_t::service, sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (169)]: In
  jk_endpoint_t::service, Error sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_isapi_plugin.c (928)]: HttpExtensionProc
  error, service() failed
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (180)]: Into
  jk_endpoint_t::done


  I searched the Google on jk_open_socket, connect() failed errno = 61. Got
  similarly faced problem but not able to get/understand the solution that
  will work for me.

  Your help is highly appreciated. 

  Thanks,
  Bhavdeep

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat statistics

2003-11-25 Thread Walter do Valle
How I collect static informations about tomcat? Is there a way or an application for 
download?
Informations about number of requests, average time of requests, source of requests 
(IP address or hostname of users), etc.
Any help is welcome.

Hugs

Walter do Valle

Re: Workers.properties for 4.1.29

2003-11-24 Thread Walter do Valle
http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm


  - Original Message - 
  From: Roeland Meyer 
  To: Tomcat Users (E-mail) 
  Sent: Saturday, November 22, 2003 7:35 PM
  Subject: Workers.properties for 4.1.29


  does one exist and where can I get a example?

  The version for 3.x has huge differences and my Tomcat 4.1.29 does not have
  one (contrary to all the dox). I'm also following the IIS HOW-TO and finding
  huge descrepencies.

  -
  R O E L A N D  M J   M E Y E R
  Yahoo Messenger: roeland_meyer
  http://www.roelandmeyer.org

  Running Tomcat 4.1.29 under Windows 2K Advanced Server.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


User sessions in Tomcat

2003-11-21 Thread Walter do Valle
It there a way to count or view details from all open user sessions in a Tomcat 
instalation?

Any help is welcome.

Thanks

Dead threads

2003-11-20 Thread Walter do Valle
How to know what Tomcat threads are dead (or hanged, os blocked, or inoperative, or... 
) in an Tomcat running on Linux?
Any help is welcome.

Worrying problem

2003-11-20 Thread Walter do Valle
What's the problem with Tomcat in Linux? 
Sometimes it opens many threads and the command tomcat4 stop does nost stop all 
threads. 
I need to kill one by one. Why?

Re: Worrying problem

2003-11-20 Thread Walter do Valle


Sometimes it opens many threads and the command tomcat4 stop does nost
stop all threads.
I need to kill one by one. Why?

When you say sometimes, what do you mean exactly?  Can you reproduce it
in a test case?
2 -3 times by day. I don't know exactly what is causing the problem.
I can't reproduce that.

Is there a correlation between high load on your system
and a high number of threads?  There should be.
CPU was 70% free.

By how much does the
number of threads exceed your maxProcessors as configured in server.xml?
In server.xml maxProcessors=75 for but there is about 90 threads in the
system (ps -ef).

The tomcat shutdown script (I don't know what tomcat4 stop is) will shut
down the tomcat engine itself.
It's equivalent to catalina.sh stop. I never use shutdown.sh.

If your app or code used by your app
starts non-daemon threads, you are responsible for closing them
yourself.  Tomcat cannot do that for you.  These threads will prevent a
proper shutdown.  This has been discussed many times on this list in the
past.
I don't create any threads.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Agains problems with threads

2003-11-19 Thread Walter do Valle
I'm confused about this behavior. 
My tomcat 4.1 (Linux Red Hat 7.3 and IBM JDK 1.3.0) unexpectedly creates several 
threads and hangs.

See log below. It shows the instant time and the numbers of threads (ps -ef|grep -i 
java -c)
It was 35-37 threads about 6 hours. Then it increases the numbers of threads abruptly.
What is the problem?

Wed Nov 19 13:52:53 AMST 2003
qt. threads java: 37
Wed Nov 19 13:52:57 AMST 2003
qt. threads java: 37
Wed Nov 19 13:53:00 AMST 2003
qt. threads java: 37
Wed Nov 19 13:53:04 AMST 2003
qt. threads java: 37
Wed Nov 19 13:53:07 AMST 2003
qt. threads java: 37
Wed Nov 19 13:53:11 AMST 2003
qt. threads java: 37
Wed Nov 19 13:53:14 AMST 2003
qt. threads java: 37
Wed Nov 19 13:53:17 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:21 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:25 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:28 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:32 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:35 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:39 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:42 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:46 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:49 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:53 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:56 AMST 2003
qt. threads java: 41
Wed Nov 19 13:53:59 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:03 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:06 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:10 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:13 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:17 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:20 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:24 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:27 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:31 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:35 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:38 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:42 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:46 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:49 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:53 AMST 2003
qt. threads java: 41
Wed Nov 19 13:54:56 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:00 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:03 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:07 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:10 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:14 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:17 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:21 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:24 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:28 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:31 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:35 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:38 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:42 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:45 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:49 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:52 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:56 AMST 2003
qt. threads java: 41
Wed Nov 19 13:55:59 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:03 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:06 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:10 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:14 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:18 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:21 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:25 AMST 2003
qt. threads java: 41
Wed Nov 19 13:56:28 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:32 AMST 2003
qt. threads java: 44
Wed Nov 19 13:56:35 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:39 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:42 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:46 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:49 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:53 AMST 2003
qt. threads java: 45
Wed Nov 19 13:56:57 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:00 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:04 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:07 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:11 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:14 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:18 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:22 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:25 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:29 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:32 AMST 2003
qt. threads java: 45
Wed Nov 19 13:57:36 AMST 2003
qt. threads java: 49
Wed Nov 19 13:57:40 AMST 2003
qt. threads java: 49
Wed Nov 19 13:57:43 AMST 2003
qt. threads java: 49
Wed Nov 19 13:57:47 AMST 2003
qt. threads java: 49
Wed Nov 19 13:57:50 AMST 2003
qt. threads java: 49
Wed Nov 19 13:57:54 AMST 2003
qt. threads java: 49
Wed Nov 19 13:57:58 AMST 2003
qt. threads java: 49
Wed Nov 19 13:58:02 AMST 2003
qt. threads java: 53
Wed Nov 19 13:58:06 AMST 2003
qt. threads java: 53
Wed Nov 19 13:58:09 AMST 2003
qt. threads java: 53
Wed Nov 19 13:58:13 AMST 2003
qt. threads java: 57
Wed Nov 19 

Many process on Red Hat

2003-11-18 Thread Walter do Valle
Hello all

I'm running Tomcat 4.1 with IBM J2RE 1.3.0 on Red Hat Linux, but some times Tomcat 
turns crazy and open many process  (about 80 - 90) and hangs. When this happens, 
command tomcat4 stop does not work. It's necessary to kill process by process. At 
this time, I'm running seven different applications in my tomcat instalation.
If I turn to Sun J2SDK 1.4.X?
Anyone has any suggestion about this problem?

Thanks for any help.

Walter

Re: Many process on Red Hat

2003-11-18 Thread Walter do Valle

 Howdy,
 I guess you're looking at processes using the top command?  If so,
 these are likely threads, not actual processes, and this may be normal.
Ok. I'm using ps. About threads ok.

 What triggers the spawning of all this threads?  
Sorry, what?

 What version of RedHat are you using? 
7.3

 There have been a lot of RedHat NPTL-related issues
 reported recently, you may wish to search this list's archives for more
 information.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]