PList programming

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Ikyo, Feb 28, 2008.

Thread Status:
Not open for further replies.
  1. macrumors 6502

    Ikyo

    Joined:
    Feb 27, 2008
    #1
    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>
     
  2. Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
Thread Status:
Not open for further replies.

Share This Page