PDA

View Full Version : PList programming




Ikyo
Feb 28, 2008, 10:53 AM
I am wondering if someone here could help me with a Plist issue. I posted this in the other forum, but was told that I might want to check here too. I am currently using a plist to start the tomcat daemon on startup. It loads perfectly fine, but hangs on shutdown. Here is a copy of the 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>EnvironmentVariables</key>
<dict>
<key>JAVA_HOME</key>
<string>/System/Library/Frameworks/JavaVM.framework/Home</string>
</dict>

<key>Label</key>
<string>org.apache.tomcat.tomcat6</string>

<key>ProgramArguments</key>
<array>
<string>/Library/Tomcat/Home/bin/catalina.sh</string>
<string>run</string>
</array>

<key>RunAtLoad</key>
<true/>

<key>ServiceDescription</key>
<string>Tomcat 6 Server</string>

</dict>
</plist>



edesignuk
Feb 28, 2008, 10:54 AM
One forum is enough (http://forums.macrumors.com/showthread.php?t=443919). We do not allow cross posting.