You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "James H. H. Lampert" <ja...@touchtonecorp.com> on 2020/02/14 21:04:59 UTC

Tomcat server gets stuck

Ladies and Gentlemen of the Tomcat List:

We have a situation.

Earlier today, something (we don't know what) caused the Tomcat (7.0.93) 
server on our AS/400 to go crazy, producing a 70G+ catalina.out file, 
and rendering the machine generally unresponsive.

Once I was able to get a terminal session (through a reserved "console" 
Ethernet interface), I forcibly shut down the Tomcat server.

Then, after saving the enormous catalina.out file, I restarted Tomcat, 
and it brought up all contexts but the ROOT (which was having 
"persistence directory" problems, which I've passed on to our Tomcat 
specialists). I tried stopping and restarting that context, with no 
change in its behavior.

But then, I tried shutting down and restarting Tomcat again, and this 
time, it comes up, and opens the port, but no contexts start, not even 
one that's nothing more than a directory with a static web page in it!

Anybody here have any idea what could be going wrong? It seems to get 
stuck on "Deploying web application archive" and "validateMarFile."

--
JHHL



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat server gets stuck

Posted by calder <ca...@gmail.com>.
On Fri, Feb 14, 2020, 15:05 James H. H. Lampert <ja...@touchtonecorp.com>
wrote:

> Ladies and Gentlemen of the Tomcat List:
>
> We have a situation.
>
> Earlier today, something (we don't know what) caused the Tomcat (7.0.93)
> server on our AS/400 to go crazy, producing a 70G+ catalina.out file,
> and rendering the machine generally unresponsive.
>
> Once I was able to get a terminal session (through a reserved "console"
> Ethernet interface), I forcibly shut down the Tomcat server.
>
> Then, after saving the enormous catalina.out file, I restarted Tomcat,
> and it brought up all contexts but the ROOT (which was having
> "persistence directory" problems, which I've passed on to our Tomcat
> specialists). I tried stopping and restarting that context, with no
> change in its behavior.
>
> But then, I tried shutting down and restarting Tomcat again, and this
> time, it comes up, and opens the port, but no contexts start, not even
> one that's nothing more than a directory with a static web page in it!
>
> Anybody here have any idea what could be going wrong? It seems to get
> stuck on "Deploying web application archive"
>


Is this the client install where y'all upgraded the JVM from 1.7 to 1.8?

Is there a repeating stack trace in the logs? If yes, what is it?    And if
you post it, please include the complete stack trace, including any and all
"Caused by" entries

Re: Tomcat server gets stuck

Posted by "James H. H. Lampert" <ja...@touchtonecorp.com>.
This was not a client box, nor one of our cloud boxes; it's our own 
production box.

Shortly after I posted my query to the List, I was directed to re-IPL 
the system. I initiated the requested restart, and went to lunch.

That worked. The Tomcat server is back up, with all contexts running.

--
JHHL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat server gets stuck

Posted by Mark Thomas <ma...@apache.org>.
On 14/02/2020 21:04, James H. H. Lampert wrote:
> Ladies and Gentlemen of the Tomcat List:
> 
> We have a situation.
> 
> Earlier today, something (we don't know what) caused the Tomcat (7.0.93)
> server on our AS/400 to go crazy, producing a 70G+ catalina.out file,
> and rendering the machine generally unresponsive.
> 
> Once I was able to get a terminal session (through a reserved "console"
> Ethernet interface), I forcibly shut down the Tomcat server.
> 
> Then, after saving the enormous catalina.out file, I restarted Tomcat,
> and it brought up all contexts but the ROOT (which was having
> "persistence directory" problems, which I've passed on to our Tomcat
> specialists). I tried stopping and restarting that context, with no
> change in its behavior.
> 
> But then, I tried shutting down and restarting Tomcat again, and this
> time, it comes up, and opens the port, but no contexts start, not even
> one that's nothing more than a directory with a static web page in it!
> 
> Anybody here have any idea what could be going wrong? It seems to get
> stuck on "Deploying web application archive" and "validateMarFile."

Quick approach:
Take three thread dumps ~5s apart and compare.

Better approach:
Use a profiler

Probably excessive at this stage:
Configure for remote debugging, attach a debugger and step through the code

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org