I'm trying to configure SMF to manage my Tomcat server and running into a 
problem with specifiying multiple startup options. I need to pass Tomcat the 
following startup parameters:

CATALINA_OPTS=-Xms256m -Xmx256m
JAVA_OPTS=-Dcom.sun.management.jmxremote 

I've tried using svccfg and specifying this as an environment var as such:

start/environment astring "CATALINA_OPTS=-Xms256m -Xmx256m" 
"JAVA_OPTS=-Dcom.sun.management.jmxremote" "JAVA_HOME=/usr/java/jre" 

This doesn't seem to work at all. I've gotten around it by specifying these 
parameters in a startup script that SMF uses for its method. I'd really like to 
have all these parameters done directly in SMF, not in the startup script 
itself as it makes troubleshooting and portability an issue. Any pointers as to 
what I'm doing incorrectly?
 
 
This message posted from opensolaris.org

Reply via email to