Hi,
I'm trying to get OFBiz to launch on login, but I am having some issues. I am following the steps outlined in the below link for OS X 10.4+. I am running OSX 10.13.2. https://cwiki.apache.org/confluence/display/OFBIZ/How+to+ run+OFBiz+as+a+Service running "launchctl list | grep ofbiz" on startup yields no output. running "sudo launchctl load /Library/LaunchDaemons/org.apache.ofbiz.plist" tells me that the service is already running. running "./gradlew "ofbiz --status"" from the obfiz.16.11 directory tells me that OFBiz is down. My plist file is below. Please advise. Thank you! Sean <?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>Label</key> <string>org.apache.ofbiz</string> <key>WorkingDirectory</key> <string>/Users/my_user_name/ofbiz.16.11</string> <key>ProgramArguments</key> <array> <string>./tools/startofbiz.sh</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> |
Hi Sean,
Is "my_user_name" literally present in that file? If so, change the WorkingDirectory setting to the location of your ofbiz.16.11 folder. Cheers Paul Foxworthy On 5 January 2018 at 16:09, Sean Turner <[hidden email]> wrote: > Hi, > > I'm trying to get OFBiz to launch on login, but I am having some issues. I > am following the steps outlined in the below link for OS X 10.4+. I am > running OSX 10.13.2. > > https://cwiki.apache.org/confluence/display/OFBIZ/How+to+ > run+OFBiz+as+a+Service > > running "launchctl list | grep ofbiz" on startup yields no output. > > running "sudo launchctl load /Library/LaunchDaemons/org. > apache.ofbiz.plist" > tells me that the service is already running. > > running "./gradlew "ofbiz --status"" from the obfiz.16.11 directory tells > me that OFBiz is down. > > My plist file is below. > > Please advise. Thank you! > > Sean > > <?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>Label</key> > <string>org.apache.ofbiz</string> > <key>WorkingDirectory</key> > <string>/Users/my_user_name/ofbiz.16.11</string> > <key>ProgramArguments</key> > <array> > <string>./tools/startofbiz.sh</string> > </array> > <key>RunAtLoad</key> > <true/> > </dict> > </plist> > -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Australia Phone: +61 3 9585 6788 Web: http://www.coherentsoftware.com.au/ Email: [hidden email]
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
Hi Paul,
Thanks for getting back to me so quickly. Unfortunately my_user_name is not literally present, I changed it from my actual user name for probably no reason :) All the best, Sean On Fri, Jan 5, 2018 at 4:19 PM, Paul Foxworthy <[hidden email]> wrote: > Hi Sean, > > Is "my_user_name" literally present in that file? If so, change the > WorkingDirectory setting to the location of your ofbiz.16.11 folder. > > Cheers > > Paul Foxworthy > > > On 5 January 2018 at 16:09, Sean Turner <[hidden email]> > wrote: > > > Hi, > > > > I'm trying to get OFBiz to launch on login, but I am having some issues. > I > > am following the steps outlined in the below link for OS X 10.4+. I am > > running OSX 10.13.2. > > > > https://cwiki.apache.org/confluence/display/OFBIZ/How+to+ > > run+OFBiz+as+a+Service > > > > running "launchctl list | grep ofbiz" on startup yields no output. > > > > running "sudo launchctl load /Library/LaunchDaemons/org. > > apache.ofbiz.plist" > > tells me that the service is already running. > > > > running "./gradlew "ofbiz --status"" from the obfiz.16.11 directory tells > > me that OFBiz is down. > > > > My plist file is below. > > > > Please advise. Thank you! > > > > Sean > > > > <?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>Label</key> > > <string>org.apache.ofbiz</string> > > <key>WorkingDirectory</key> > > <string>/Users/my_user_name/ofbiz.16.11</string> > > <key>ProgramArguments</key> > > <array> > > <string>./tools/startofbiz.sh</string> > > </array> > > <key>RunAtLoad</key> > > <true/> > > </dict> > > </plist> > > > > > > -- > Coherent Software Australia Pty Ltd > PO Box 2773 > Cheltenham Vic 3192 > Australia > > Phone: +61 3 9585 6788 > Web: http://www.coherentsoftware.com.au/ > Email: [hidden email] > |
Free forum by Nabble | Edit this page |