2010/2/11 J4 <ju...@klunky.co.uk>:
> Dear everyone,
>
> I changed the JAVA_OPTS in tomcat6.conf to read:
> JAVA_OPTS="-Xmx256m -XX:MaxPermSize=256m -Djava.library.path=/usr/lib64"
> but when tomcat was restarted it still gave the same message, as shown
> below, which makes me think that it did not pick it up.
>

I do not know anything about "tomcat6.conf". That file is not a part
of canonical Tomcat configuration, as provided by ASF.  (Ask Novell,
or debug it yourself -- all those are shell files  that build up the
command line for launching  "java
org.apache.catalina.startup.Bootstrap").

The canonical place for such options is
${CATALINA_BASE}/bin/setenv.sh  (or maybe
${CATALINA_HOME}/bin/setenv.sh  if your Tomcat version is several
years old like your Tomcat-Native library).

Also usually CATALINA_OPTS is used instead of JAVA_OPTS if some
options are specific to launching the Tomcat, and not to be used when
shutting it down (see the comment at the start of catalina.sh). Though
there is no much difference between them and you can leave it how it
is.


Best regards,
Konstantin Kolinko

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

Reply via email to