Jyri Virkki wrote: > Basant Kumar kukreja wrote: > >> I had the same problem with tomcat SMF (setting JAVA_OPTS which have spaces). >> could not figure out any cleaner way. >> >> Same issue in tomcat SMF : >> http://forums.sun.com/thread.jspa?threadID=5360738 >> >> Workaround is to edit the method file. >> > > If you mean the smf method script, that is [should be] typically > Project Private, editing it is not appropriate. > > > BTW, while gathering doc to post to smf-discuss for advice, I came across this comment in the method file:
#if startup options contain multiple arguments separated by a blank, #then they should be specified as below #e.g., %> svccfg -s apache22 setprop 'httpd/startup_options=("-f" "/etc/apache2/2.2/new.conf")' # That's clean enough for me and works fine. I'll get that into the Getting Started guides. (By some coincidence startup_options was the only important variable without an example setprop ;) )