• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tomcat Hangs without messages!!!

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a single servlet which connects to internal components
(atleast 3 layers - pure Java no EJB ) and handles the client requests
I m not too sure if its important - few requests fetch CLOB from Oracle.
I am using Connection Pooling and duly relasing connections when I am done
and also when I m not done also (finally { this.releaseconnecttopool();} )so as to keep connections available for each request.... All other objects I am using are also explicitly dereferenced... NO Session varibles used....
Actually Client uses HTTPURLConnection to connect to my servlet and communicates back and forth in a stateless manner
I disabled application logging to servlet log.
Observations:
1. No abnormal CPU Usage observed
2. No Abnormal memory usage observed
Now the PROBLEM:
1. All said and done TOMCAT SIMPLY HANGS WITHOUT ANY MESSAGES amidst of
requests. No Messages on logs too.
2. I have given some console messages. They are not displayed sometimes.
Vexed when I press Ctrl+C console messages get Printed and server
continues sometines and sometimes service is stopped
3. Config
a. Tomcat 4.1.24
b. Windows 2000
c. j2sdk1.4.0_03
Am I doing something wrong ? Please help if anybody had been in such a plight and also recovered from the same...

Regards
Muthu
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you sometimes click into the console window ? If yes Windows
pauses the process. It will be continued if you set the focus to the
console window and just hit a key.
Maybe this causes the prob
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!