You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Sean Turner <se...@blockfreight.com> on 2018/01/05 05:09:05 UTC

Help with Starting OFBiz automatically on Startup [OSX 10.13.2]

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>

Re: Help with Starting OFBiz automatically on Startup [OSX 10.13.2]

Posted by Sean Turner <se...@blockfreight.com>.
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 <pa...@cohsoft.com.au> 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 <se...@blockfreight.com>
> 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: info@coherentsoftware.com.au
>

Re: Help with Starting OFBiz automatically on Startup [OSX 10.13.2]

Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
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 <se...@blockfreight.com>
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: info@coherentsoftware.com.au