[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Memory Hog
- Subject: Re: [cobalt-developers] Memory Hog
- From: Terrell Deppe <terrell@xxxxxxxxxx>
- Date: Fri Mar 8 00:57:11 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Ah, yes... I forgot about that. Sorry to mislead you. You'll have to
modify tomcat.init instead of remove it. Add the "#" symbol to the line
indicated below (near the bottom of tomcat.init):
----8< snip >8----
if [ $1 = "start" ]; then
perl $TOMCAT_HOME/bin/cobalt_config.pl
sleep 1
rm -f $TOMCAT_HOME/conf/mod_jk.conf-auto
# Disable Tomcat on startup:
# $TOMCAT_HOME/bin/startup.sh -security
# Wait for our auto config to be ready... kind of a hack...
while ! [ -e $TOMCAT_HOME/conf/mod_jk.conf-auto ]; do sleep 1; done
else
if [ $1 = "restart" ]; then
$TOMCAT_HOME/bin/shutdown.sh
/etc/rc.d/init.d/tomcat.init start
else
$TOMCAT_HOME/bin/shutdown.sh
fi
fi
----8< snip >8----
This will still allow tomcat to be configured as if you were starting
it, but not actually start it.
-T
On Thu, 2002-03-07 at 20:59, Ammar T. Al-Sayegh wrote:
>
> ----- Original Message -----
> From: "Terrell Deppe" <terrell@xxxxxxxxxx>
> To: <cobalt-developers@xxxxxxxxxxxxxxx>
> Sent: Wednesday, March 06, 2002 11:51 PM
> Subject: Re: [cobalt-developers] Memory Hog
>
>
> > I believe it is started up on boot when the following is called:
> >
> > /etc/rc.d/init.d/tomcat.init
> >
> > You can either modify this file, or move it to another directory.
>
> I moved tomcat.init from init.d and that got me
> into trouble. Apparently, httpd startup depends
> on tomcat and it will cause boot problems if
> tomcat is not started during boot time. Did
> anyone have a similar problem?
>
>
> -ammar
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers