Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

tomcat 6 and setenv.sh?

Kristian Rink

2007-08-03

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Folks,

after switching our production environment to tomcat 6.0.13, most of
the things work fine again by now. One thing, however, is still giving
me headaches: By now, I used to have something like

export CATALINA_OPTS="-server -Xmx512m ... "

in CATALINA_HOME/bin/setenv.sh (running Linux), which worked fine with
tc5.5.23. However, by now having settings like these in setenv.sh, I
just end up with this message...


WARNUNG: Dynamic setProperty(className,value) has been disabled, please
use explicit properties for the element you are trying to identify
03.08.2007 09:50:36 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded Apache Tomcat Native library 1.1.10. 03.08.2007 09:50:36
org.apache.catalina.core.AprLifecycleListener init INFO: APR
capabilities: IPv6 [true], sendfile [true], accept filters [false],
random [true].

... in catalina.out while tomcat refuses to start up correctly. Does
anyone have an idea what the problem is like? Is setenv.sh not
supported that way anymore in tc6.0? Is there a better way to do these
settings?

Environment:
- - Ubuntu 6.06.1 LTS
- - JDK 1.6.0-b105
- - tomcat 6.0.13, cluster-configured with two hosts


Thanks in advance for any hints and bye,
Kristian


- --
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: kawazu@(protected)
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGst+xcxBAPOA1m6wRArfIAKCmMRY3GGc90o6q2NVHHAhyNxMUewCfQ9Yu
GdjSLPYqmAfRRMibc/VRXqg=
=s7UW
-----END PGP SIGNATURE-----
©2008 junlu.com - Jax Systems, LLC, U.S.A.