osx - Mac Daemon for ActiveMQ -


i have tried setting activemq daemon have been unsuccessful far. can't seem load activemq. not sure more can make work? can start activemq running command /library/activemq/bin/macosx/activemq start

in plist

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple computer//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>     <key>runatload</key>     <true/>     <key>keepalive</key>     <true/>     <key>label</key>     <string>com.apache.activemq</string>     <key>programarguments</key>     <array>                     <string>/library/activemq/bin/macosx/activemq</string>         <string>start</string>         <string>;</string>         <string>--stop-cmd</string>         <string>/library/activemq/bin/macosx/activemq</string>         <string>stop</string>         <string>;</string>         <string>--restart-cmd</string>         <string>/library/activemq/bin/macosx/activemq</string>         <string>restart</string>         <string>;</string>         <string>--pid=none</string>     </array>     <key>workingdirectory</key>     <string>/library/activemq</string>     <key>servicedescription</key>     <string>activemq</string>     <key>standarderrorpath</key>     <string>/var/log/activemq.stderr</string>     <key>standardoutpath</key>     <string>/var/log/activemq.stdout</string> </dict> </plist> 

result of executing launchctl command

macosx user$ sudo launchctl load -w /library/launchdaemons/activemq.plist com.apache.activemq: loaded

run below command on terminal

 sudo launchctl unload /library/launchdaemons/activemq.plist 

or

sudo launchctl remove com.apache.activemq 

then

sudo launchctl load -w /library/launchdaemons/activemq.plist  

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -