有人有在Mac OSX Lion上启动JBoss的启动脚本吗?

有人有在Mac OSX Lion上启动JBoss的启动脚本吗?,jboss,osx-lion,startup,launchd,Jboss,Osx Lion,Startup,Launchd,我使用的是Mac OS X Lion,刚刚安装了JBoss 7.1.0.AS。我无法在系统启动时运行JBoss服务器。我创建了以下文件(/System/Library/LaunchDaemons/jboss.plist) 愿所有的后代都能从我即将抛弃的神圣知识中受益(谢谢,巴里·马戈利斯)。剧本是 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIS

我使用的是Mac OS X Lion,刚刚安装了JBoss 7.1.0.AS。我无法在系统启动时运行JBoss服务器。我创建了以下文件(/System/Library/LaunchDaemons/jboss.plist)



愿所有的后代都能从我即将抛弃的神圣知识中受益(谢谢,巴里·马戈利斯)。剧本是

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple$
<plist version="1.0">
<dict>
<key>Label</key>
<string>jboss</string>
<key>Disabled</key>
<false/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Program</key>
<string>/opt/jboss-as-7.1.0.Final/bin/standalone.sh</string>
<key>StandardOutPath</key>
<string>/Users/davea/out.log</string>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>davea</string>
</dict>
</plist>


愿所有的后代都能从我即将抛弃的神圣知识中受益(谢谢,巴里·马戈利斯)。剧本是

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple$
<plist version="1.0">
<dict>
<key>Label</key>
<string>jboss</string>
<key>Disabled</key>
<false/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Program</key>
<string>/opt/jboss-as-7.1.0.Final/bin/standalone.sh</string>
<key>StandardOutPath</key>
<string>/Users/davea/out.log</string>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>davea</string>
</dict>
</plist>