Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.

Ikyo

macrumors 6502
Original poster
Feb 27, 2008
289
0
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.

Code:
<?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>
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.