You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Asif Jan <as...@cern.ch> on 2003/05/09 15:09:04 UTC
reference to tomcat engine from a web application
Hi
Is there any way to get a reference to Tomcat container from a web
application? (through tomcat API)
Thanks
Asif
-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org]
Sent: Friday, May 09, 2003 1:04 PM
To: Tomcat Users List
Subject: Re: JBoss with integrated Tomcat memory question
In catalina.sh:
<snip>
# JAVA_OPTS (Optional) Java runtime options used when the "start",
# "stop", or "run" command is executed.
Oops, the script docs aren't as clear as I thought. Do not edit catalina.sh.
<slap who='tim' where='upsidehead'>
Note to self, make this more clear in FAQ)
</slap>
Anyhoo:
--
export JAVA_OPTS="-Xms1 -Xmx2 -Xint"
export CATALINA_HOME=/opt/more/cowebell
$CATALINA_HOME/bin/startup.sh
( or nohup $CATALINA_HOME/bin/startup.sh & )
--
The above will set your tomcat home and the java options.
-Tim
harm@informatiefabriek.nl wrote:
> Hi all,
>
> I would like to increase the memory settings for my Tomcat server which is
> integrated in my JBoss application Server.
> I read in the Tomcat FAQ that I should edit catalina.sh.
> So I looked in the file, but exactly what and where should I edit this
> file?
>
> Thanks,
>
> Harm de Laat
> Informatiefabriek
> The netherlands
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org