hiya, ive fixed it now, see the top of my last post! thanks!
mgainty wrote: > > > echo before eval e.g. > > echo $COMMAND_LINE > eval $COMMAND_LINE > > post back what you see from echo > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la > copie de ceci est interdite. Ce message sert à l'information seulement et > n'aura pas n'importe quel effet légalement obligatoire. Étant donné que > les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni. > > > > >> Date: Fri, 31 Jul 2009 07:32:38 -0700 >> From: dorian.cus...@googlemail.com >> To: users@tomcat.apache.org >> Subject: RE: setting JVM parameters >> >> >> Hello, >> >> It was installed through a control panel (parellels), i start an stop by >> typing >> >> service tomcat6 restart >> >> at command line. Looking at the tomcat file in etc/init.d/ i see the >> following >> >> start() { >> echo "Starting $APP_LONG_NAME..." >> getpid >> if [ "X$pid" = "X" ] >> then >> # The string passed to eval must handles spaces in paths >> correctly. >> COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\" >> wrapper.syslog.ident=$APP_NAME wrapper.pidfile=\"$PIDFILE\" >> wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP" >> eval $COMMAND_LINE >> else >> echo "$APP_LONG_NAME is already running." >> exit 1 >> fi >> } >> >> where im guessing $WRAPPER_CMD is the startup protcol, which i cannot >> open >> with notepad++ so i dont know what format its in. Im a little confused! >> >> >> Caldarale, Charles R wrote: >> > >> >> From: dori [mailto:dorian.cus...@googlemail.com] >> >> Subject: setting JVM parameters >> >> >> >> JAVA_OPTS="$JAVA_OPTS -Xmx128m -Xms128m" >> >> by placing it at the top of my catalina.sh file >> > >> > Better to create a setenv.sh file with the above than to modify the >> > Tomcat-supplied script. >> > >> >> I am running tomcat6 (as a service on centOS), the catalina >> >> file is in tomcat/bin >> > >> > Are you using a real Tomcat, downloaded from tomcat.apache.org? Or is >> it >> > a 3rd-party repackaged version? If the latter, it may have its own >> > startup scripts and not use the proper ones. >> > >> > How exactly do you start Tomcat? >> > >> > - Chuck >> > >> > >> > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE >> PROPRIETARY >> > MATERIAL and is thus for use only by the intended recipient. If you >> > received this in error, please contact the sender and delete the e-mail >> > and its attachments from all computers. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> > For additional commands, e-mail: users-h...@tomcat.apache.org >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/setting-JVM-parameters-tp24757042p24757437.html >> Sent from the Tomcat - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > _________________________________________________________________ > Bing™ brings you maps, menus, and reviews organized in one place. Try it > now. > http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1 > -- View this message in context: http://www.nabble.com/setting-JVM-parameters-tp24757042p24757838.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org