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
1<?xml version="1.0" encoding="UTF-8"?>2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">3<plist version="1.0">4<dict>5 <key>Disabled</key>6 <false/>7 <key>KeepAlive</key>8 <true/>9 <key>Label</key>10 <string>com.jamfsoftware.tomcat</string>11 <key>OnDemand</key>12 <false/>13 <key>ProgramArguments</key>14 <array>15 <string>/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java</string>16 <string>-Xms256m</string>17 <string>-Xmx3072m</string>18 <string>-XX:PermSize=64m</string>19 <string>-XX:MaxPermSize=128m</string>20 <string>-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager</string>21 <string>-Djava.util.logging.config.file=/Library/JSS/Tomcat/conf/logging.properties</string>22 <string>-Djava.awt.headless=true</string>23 <string>-Djava.endorsed.dirs=/Library/JSS/Tomcat/common/endorsed</string>24 <string>-classpath</string>25 <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>26 <string>-Dcatalina.base=/Library/JSS/Tomcat</string>27 <string>-Dcatalina.home=/Library/JSS/Tomcat</string>28 <string>-Djava.io.tmpdir=/Library/JSS/Tomcat/temp</string>29 <string>org.apache.catalina.startup.Bootstrap</string>30 <string>start</string>31 </array>32 <key>RunAtLoad</key>33 <true/>34 <key>ServiceIPC</key>35 <false/>36 <key>UserName</key>37 <string>_appserver</string>38</dict>39</plist>