We're having to restart Tomcat every so often, so I'm wondering if there is a problem with the Tomcat launch daemon?
Does the below match anyone else's Tomcat launch daemon? If not, care to post yours? :)
We're running a 1st generation Intel Xserve (you know the one that's supposed to be 64 bit but isn't <g>)...soon to be replaced with a new(ish) Xserve that is really 64 bit (with eventual migration off this cr@ppy Apple hardware and on to proper virtualized Windows Server environment). Wondering if the 64/32 fiasco (thanks Apple!) is causing this endless Java/Tomcat issue (seen it in other environments that ran 1st generation Xserve as well).
Thanks,
Don
/Library/LaunchDaemons/com.jamfsoftware.tomcat.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.jamfsoftware.tomcat</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java</string>
<string>-Xms256m</string>
<string>-Xmx3072m</string>
<string>-XX:PermSize=64m</string>
<string>-XX:MaxPermSize=128m</string>
<string>-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</string>
<string>-Djava.util.logging.config.file=/Library/JSS/Tomcat/conf/logging.properties</string>
<string>-Djava.awt.headless=true</string>
<string>-Djava.endorsed.dirs=/Library/JSS/Tomcat/common/endorsed</string>
<string>-classpath</string>
<string>/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/tools.jar:/Library/JSS/Tomcat/bin/bootstrap.jar:/Library/JSS/Tomcat/bin/tomcat-juli.jar</string>
<string>-Dcatalina.base=/Library/JSS/Tomcat</string>
<string>-Dcatalina.home=/Library/JSS/Tomcat</string>
<string>-Djava.io.tmpdir=/Library/JSS/Tomcat/temp</string>
<string>org.apache.catalina.startup.Bootstrap</string>
<string>start</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<false/>
<key>UserName</key>
<string>_appserver</string>
</dict>
</plist>