Anyone have a launchd script for running JBoss at boot on Mac OSX Lion? -


i'm using mac os x lion , installed jboss 7.1.0.as. i'm having trouble getting jboss server run @ system startup. created below file (/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>programarguments</key> <array> <string>sh /opt/jboss-as-7.1.0.final/bin/standalone.sh</string> </array> <key>runatload</key> <true/> <key>username</key> <string>davea</string> </dict> </plist> 

however, when restart computer, server isn't running. have working startup script jboss on mac os x lion or can see what's wrong above?

thanks,

may future generations benefit sacred knowledge i'm throw down (thanks, barry margolis). script is

<?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> 

make sure script registered 644 perms using root:wheel owner , group. rock on, - dave


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -