On Jun 25, 2008, at 14:08, Guy Davis wrote: > Hi, I'm moving from a Fedora Core system for my JSP-based web site > to Mac OSX > 10.5. I just installed Apache, mod_jk, and Tomcat 5 using MacPorts. > However, even though Tomcat's server.xml file has the following: > > <Server port="8005" shutdown="SHUTDOWN"> > > a quick netstat shows that Tomcat is not actually listening to 8005 > when it > starts. So when I run: > > sudo tomcatctl stop > > I get this on the console: > > Stopping Tomcat...(pid 3468)............... giving up. > > and this in catalina.2008-06-25.log: > > Jun 24, 2008 9:37:20 PM org.apache.catalina.startup > .Catalina stopServer > SEVERE: Catalina.stop: > java.net.ConnectException: Connection refused > ... > > Any ideas? How are people currently stopping tomcat? Right now > all I can do is 'kill PID' and then it is restarted (by daemondo?)
Have you tried: sudo launchctl -w unload /Library/LaunchDaemons/ org.macports.tomcat5.plist That would be the usual way to stop any launchd-managed process. To start it again: sudo launchctl -w load /Library/LaunchDaemons/org.macports.tomcat5.plist _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users