Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java Thread becomes idle without any reason

Thread Tools

Java Thread becomes idle without any reason

Posts: n/a
I have a lot of troubles with following problem. Any hints are
On one Netware server Netware 6.0 SP 5. Java 1.4.2 Thread in java
application becomes idle.
It happens only on this one server.
This thread is responsible for sending requests to GroupWise webaccess
and asking about current state of GroupWise mailbox.
Every user has one thread which is a part of java Bean in the Tomcat
web application.
It runs in infinite loop with one boolean in a while loop . This
boolean is set to false only if demo period expires.
If the JAVA Beans receives requests from mobile device everything is
OK and thread runs. But when no requests from the outside are received
then the java Thread becomes idle after 10 - 15 minutes or less.
The result of this is "401 Authorization required" error in the
expired http session with webaccess. It is possible to "resuscitate"
the thread when it is dying sending requests to the application -
then he wakes up and starts to work.
I have studied thoroughly errors and exceptions from logs but no
caught or uncaught exception can't be pointed as a cause.
I have no data concerning memory size of the server and the traffic.
Best regards

Tomasz Cwietkowski
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
and becomes or and or becomes and Stef Mientki Python 9 05-28-2011 02:04 PM
Reversing Bit Order.. i.e. MSB becomes bit 0, LSB becomes bit 15 C++ 9 08-22-2007 12:13 AM
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
RAM - 2gb becomes 4gb becomes 2gb b Computer Support 10 04-27-2006 11:58 PM
ASP.NET version error without any reason Larry Brown ASP .Net 1 12-02-2004 03:29 PM