Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Java Thread becomes idle without any reason
I have a lot of troubles with following problem. Any hints are
welcome!
On one Netware server in  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

Report this thread to moderator Post Follow-up to this message
Old Post
Tomasz
04-23-05 08:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:25 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.