pablo> I am trying to run tomcat 5 as any user other than root on my
pablo> sun box so that I can configure mod_jk2 using unix sockets
pablo> rather than channel sockets. (reference
pablo> http://www.cymulacrum.net/tomcat/tomcat_mod_jk2.html ).
pablo>
pablo> I have tried doing many things in my init scripts like a "su -c
pablo> tomcat $TOMCAT_HOME/bin/startup.sh" but I have been
pablo> unsuccessful. I know it is probably something stupid or simple
pablo> that I am just missing , but I am just not seeing it. If any
pablo> of you know how to do this and would like to share how , I
pablo> would greatly appreciate it.
This is just a silly observation:
su -c tomcat $TOMCAT_HOME/bin/startup.sh
Usually, -c as a su option means that the next argument is a command.
Maybe try
su tomcat -c $TOMCAT_HOME/bin/startup.sh
instead.
--
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)