RE: tomcat 4.1.24 hangs

2004-01-15 Thread frederik.de.backer
I did some investigation and found the following bug report for tomcat 4.1.24:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21763

Can this explain the problem I have and does anyone knows whether the bug is solved or 
under investigation?

regards,

Frederik.

-Original Message-
From: Apache-Tomcat [mailto:[EMAIL PROTECTED]
Sent: 14 January 2004 08:45
To: Tomcat Users List
Subject: Re: tomcat 4.1.24 hangs


  I have the same problem with the same versions, but on Windows. I
  dont know how to figure out it, but if somebody can help... Anyway
  you are not alone:)

fdbbb Hello,

fdbbb I am running jboss 3.2.1 with embedded tomcat 4.1.24 on
fdbbb a sun solaris system in a production environment. At random
fdbbb times (we assume it is related to increasing load of the
fdbbb server), our jboss server just hangs. This means when I open a
fdbbb web browser and go to the begin page, I get no response (IE
fdbbb screen stays white). In the server logs I see the following
fdbbb stacktrace (see below). Does anyone have a clue what might be
fdbbb the problem here and a possible workaround?

fdbbb Thanks a lot for the assistance,

fdbbb Frederik De Backer
fdbbb Belgium.

fdbbb 2004-01-12 13:20:38,341 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint
fdbbb ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=]
fdbbb ignored exception: java.net.SocketException: Software caused
fdbbb connection abort
fdbbb java.net.SocketException: Software caused connection abort
fdbbb at java.net.PlainSocketImpl.socketAccept(Native Method)
fdbbb at
fdbbb java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
fdbbb at
fdbbb java.net.ServerSocket.implAccept(ServerSocket.java:438)
fdbbb at java.net.ServerSocket.accept(ServerSocket.java:409)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:107)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:356)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,343 INFO 
fdbbb [org.apache.struts.action.RequestProcessor] Processing a 'POST'
fdbbb for path '/LookupNE'
fdbbb 2004-01-12 13:20:38,344 WARN 
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Reinitializing
fdbbb ServerSocket
fdbbb 2004-01-12 13:20:38,345 INFO 
fdbbb [com.belgacom.ossportal.commonweb.web.struts.OSSPortalAction]
fdbbb Redirect to login
fdbbb 2004-01-12 13:20:38,346 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint null
fdbbb ignored exception: java.net.BindException: Address already in
fdbbb use:
fdbbb java.net.BindException: Address already in use:
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:403)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,347 WARN 
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Restarting endpoint
fdbbb 2004-01-12 13:20:38,348 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint null
fdbbb shutdown due to exception: java.net.BindException: Address
fdbbb already in use:
fdbbb java.net.BindException: Address already in use:
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:415)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,350 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Exception in
fdbbb acceptSocket
fdbbb java.lang.IllegalStateException: Terminating thread
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:423)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,351 ERROR
fdbbb [org.apache.tomcat.util.threads.ThreadPool] Caught exception
fdbbb executing [EMAIL PROTECTED],
fdbbb terminating thread
fdbbb java.lang.IllegalStateException: Terminating thread
fdbbb

Re: tomcat 4.1.24 hangs

2004-01-15 Thread David Rees
[EMAIL PROTECTED] wrote, On 1/15/2004 12:54 AM:
I did some investigation and found the following bug report for
tomcat 4.1.24: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21763

Can this explain the problem I have and does anyone knows whether the
bug is solved or under investigation?
I believe the bug was solved in 4.1.27, but might have been 4.1.29. 
Upgrade to 4.1.29 to be safe as there are number of other bugs fixes in 
4.1.29, too.

-Dave

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


Re: tomcat 4.1.24 hangs

2004-01-14 Thread Apache-Tomcat
  I have the same problem with the same versions, but on Windows. I
  dont know how to figure out it, but if somebody can help... Anyway
  you are not alone:)

fdbbb Hello,

fdbbb I am running jboss 3.2.1 with embedded tomcat 4.1.24 on
fdbbb a sun solaris system in a production environment. At random
fdbbb times (we assume it is related to increasing load of the
fdbbb server), our jboss server just hangs. This means when I open a
fdbbb web browser and go to the begin page, I get no response (IE
fdbbb screen stays white). In the server logs I see the following
fdbbb stacktrace (see below). Does anyone have a clue what might be
fdbbb the problem here and a possible workaround?

fdbbb Thanks a lot for the assistance,

fdbbb Frederik De Backer
fdbbb Belgium.

fdbbb 2004-01-12 13:20:38,341 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint
fdbbb ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=]
fdbbb ignored exception: java.net.SocketException: Software caused
fdbbb connection abort
fdbbb java.net.SocketException: Software caused connection abort
fdbbb at java.net.PlainSocketImpl.socketAccept(Native Method)
fdbbb at
fdbbb java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
fdbbb at
fdbbb java.net.ServerSocket.implAccept(ServerSocket.java:438)
fdbbb at java.net.ServerSocket.accept(ServerSocket.java:409)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:107)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:356)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,343 INFO 
fdbbb [org.apache.struts.action.RequestProcessor] Processing a 'POST'
fdbbb for path '/LookupNE'
fdbbb 2004-01-12 13:20:38,344 WARN 
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Reinitializing
fdbbb ServerSocket
fdbbb 2004-01-12 13:20:38,345 INFO 
fdbbb [com.belgacom.ossportal.commonweb.web.struts.OSSPortalAction]
fdbbb Redirect to login
fdbbb 2004-01-12 13:20:38,346 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint null
fdbbb ignored exception: java.net.BindException: Address already in
fdbbb use:
fdbbb java.net.BindException: Address already in use:
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:403)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,347 WARN 
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Restarting endpoint
fdbbb 2004-01-12 13:20:38,348 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Endpoint null
fdbbb shutdown due to exception: java.net.BindException: Address
fdbbb already in use:
fdbbb java.net.BindException: Address already in use:
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280)
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:415)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,350 ERROR
fdbbb [org.apache.tomcat.util.net.PoolTcpEndpoint] Exception in
fdbbb acceptSocket
fdbbb java.lang.IllegalStateException: Terminating thread
fdbbb at
fdbbb 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:423)
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)
fdbbb 2004-01-12 13:20:38,351 ERROR
fdbbb [org.apache.tomcat.util.threads.ThreadPool] Caught exception
fdbbb executing [EMAIL PROTECTED],
fdbbb terminating thread
fdbbb java.lang.IllegalStateException: Terminating thread
fdbbb at
fdbbb org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:532)
fdbbb at
fdbbb 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
fdbbb at java.lang.Thread.run(Thread.java:536)



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

RE: tomcat 4.1.24 hangs

2004-01-13 Thread Shapira, Yoav

Howdy,

system in a production environment. At random times (we assume it is

Assume nothing ;)

stacktrace (see below). Does anyone have a clue what might be the
problem
here and a possible workaround?


2004-01-12 13:20:38,346 ERROR
[org.apache.tomcat.util.net.PoolTcpEndpoint]
Endpoint null ignored exception: java.net.BindException: Address
already in
use:
java.net.BindException: Address already in use:
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint
.jav

Make sure your server is shutdown properly, i.e. it's not bound to the
port anymore, before you start it back up.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Zsolt Koppany
Hi David,

the process itself is alive, because there are some log messages, the server
just cannot be connected neither by a browser nor by telnet.

Zsolt

 -Original Message-
 From: David Rees [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 07, 2003 8:23 PM
 To: Tomcat Users List
 Subject: Re: Tomcat-4.1.24 Hangs


 Zsolt Koppany wrote:
  after two days my tomcat-4.1.24 hangs. I cannot connect to the
 server not
  even with telnet localhost 8080. The Process (JVM) is not big, it is
  approx 100Mb.
 
  Any ideas why?
 
  TC is running under RedHat-9.0 with Sun Jre-1.4.2_02.

 Send the process a QUIT signal to see where it is hung.  Also try
 upgrading to 4.1.29, it fixes an issue where Tomcat can hang under high
 load patterns.

 -Dave

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






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



RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Ryan Lissack
Hi,

Probably has to do with NPTL in RedHat 9.

Try setting the following environment variable:
LD_ASSUME_KERNEL=2.4.1

That should stop the hanging.  Search the list for further details.

Ryan

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: 07 December 2003 17:30
To: Tomcat Users List
Subject: Tomcat-4.1.24 Hangs


Hi,

after two days my tomcat-4.1.24 hangs. I cannot connect to the server not
even with telnet localhost 8080. The Process (JVM) is not big, it is
approx 100Mb.

Any ideas why?

TC is running under RedHat-9.0 with Sun Jre-1.4.2_02.

Zsolt



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

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



RE : Tomcat-4.1.24 Hangs

2003-12-08 Thread ABED RABBO Tareq
Do you have something like: waiting for xx instances to be deallocated in the log file 
?

 
Tareq ABED RABBO
DSI/IS Transverse
Orascom Telecom Tunisie (Tunisiana)
Tel.  +216 22 12 18 46
Fax. +216 71 806 909
Email : [EMAIL PROTECTED]
 

-Message d'origine-
De : Ryan Lissack [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 8 décembre 2003 09:59
À : 'Tomcat Users List'
Objet : RE: Tomcat-4.1.24 Hangs

Hi,

Probably has to do with NPTL in RedHat 9.

Try setting the following environment variable:
LD_ASSUME_KERNEL=2.4.1

That should stop the hanging.  Search the list for further details.

Ryan

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: 07 December 2003 17:30
To: Tomcat Users List
Subject: Tomcat-4.1.24 Hangs


Hi,

after two days my tomcat-4.1.24 hangs. I cannot connect to the server not
even with telnet localhost 8080. The Process (JVM) is not big, it is
approx 100Mb.

Any ideas why?

TC is running under RedHat-9.0 with Sun Jre-1.4.2_02.

Zsolt



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

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


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



RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Zsolt Koppany
Hi Ryan,

thank you. What is NPTL?

Zsolt

 -Original Message-
 From: Ryan Lissack [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 08, 2003 9:59 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat-4.1.24 Hangs
 
 
 Hi,
 
 Probably has to do with NPTL in RedHat 9.
 
 Try setting the following environment variable:
 LD_ASSUME_KERNEL=2.4.1
 
 That should stop the hanging.  Search the list for further details.
 
 Ryan
 
 -Original Message-
 From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2003 17:30
 To: Tomcat Users List
 Subject: Tomcat-4.1.24 Hangs
 
 
 Hi,
 
 after two days my tomcat-4.1.24 hangs. I cannot connect to the server not
 even with telnet localhost 8080. The Process (JVM) is not big, it is
 approx 100Mb.
 
 Any ideas why?
 
 TC is running under RedHat-9.0 with Sun Jre-1.4.2_02.
 
 Zsolt
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


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



RE: Tomcat-4.1.24 Hangs

2003-12-08 Thread Ryan Lissack
Hi Zsolt,

It stands for Native POSIX Threading Library, it is a new form of threading
introduced in RedHat with version 9.0
There is a complete description with links to other information in a
previous thread.  If I remember correctly the subject was Tomcat jitters
then hangs, search the list archives for further information.

Regards
Ryan

-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: 08 December 2003 09:51
To: Tomcat Users List
Subject: RE: Tomcat-4.1.24 Hangs


Hi Ryan,

thank you. What is NPTL?

Zsolt

 -Original Message-
 From: Ryan Lissack [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 08, 2003 9:59 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat-4.1.24 Hangs
 
 
 Hi,
 
 Probably has to do with NPTL in RedHat 9.
 
 Try setting the following environment variable:
 LD_ASSUME_KERNEL=2.4.1
 
 That should stop the hanging.  Search the list for further details.
 
 Ryan
 
 -Original Message-
 From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2003 17:30
 To: Tomcat Users List
 Subject: Tomcat-4.1.24 Hangs
 
 
 Hi,
 
 after two days my tomcat-4.1.24 hangs. I cannot connect to the server not
 even with telnet localhost 8080. The Process (JVM) is not big, it is
 approx 100Mb.
 
 Any ideas why?
 
 TC is running under RedHat-9.0 with Sun Jre-1.4.2_02.
 
 Zsolt
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


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

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



Re: Tomcat-4.1.24 Hangs

2003-12-07 Thread David Rees
Zsolt Koppany wrote:
after two days my tomcat-4.1.24 hangs. I cannot connect to the server not
even with telnet localhost 8080. The Process (JVM) is not big, it is
approx 100Mb.
Any ideas why?

TC is running under RedHat-9.0 with Sun Jre-1.4.2_02.
Send the process a QUIT signal to see where it is hung.  Also try 
upgrading to 4.1.29, it fixes an issue where Tomcat can hang under high 
load patterns.

-Dave

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