[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: [cobalt-users] Tomcat



I had the same problem.  Best bet is to get rid of the cobalt java install and do it yourself.  I haven't had a problem since.  And also, you don't have to have java on every site on the box if you do it yourself.  Much better.

I followed these instructions:
http://www.spaceprogram.com/knowledge/tomcat4_on_cobalt_setup.html

Travis


---- Original Message ----
From: Brian Rahill <cobalt@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: 2002-06-27
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Tomcat

At 11:45 AM 6/27/2002 -0700, you wrote:
>I installed Tomcat last week on my Raq4 and this morning I got an e-mail
>saying that port 80 had stopped responding.  e-mail and ssh were still
>working but none of the sites on the server would respond.
>
>When I looked into it there were 300 Java processes running on the box.  I
>killed them all and restarted HTTP services and everything came back to life
>again.  Within a short time there were about 150 processes running again but
>the server still seems to be responding with no problems.
>3.  When I to a httpd restart it takes ages for the services to come back
>again whereas it used to take a few seconds.

I had this same problem. Luckily for me this happened when I was actively 
checking email and so I caught it within a few minutes.
Since I was just playing with Tomcat (and it didn't play nice) I simply 
removed it from the system.

As far as httpd taking so much time to come back after a restart, the way I 
understand it is this:
Tomcat install adds JSP functionality to every site on the box.  So every 
time you restart httpd it has to recreate the context for each site. This 
takes forever and also was causing my load to spike pretty 
severely.   Also, I believe that any time someone makes a change to a site 
via the GUI, the httpd deamon is restarted and hence another load 
spike.  During one of these restarts, tomcat hit an error and httpd never 
came back live.

As I said, I've never really dug deeper just ripped if out of the box.

Hope this helps.

Brian

-- 
Brian M. Rahill
President
RainStorm, Inc.
http://www.rainstormconsulting.com
"Designing Strategies for Internet Success."
brian@xxxxxxxxxxxxxxxx
Phone: 207-866-3908
Fax: 207-866-0297


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users