[ 
https://issues.apache.org/jira/browse/OFBIZ-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402191#comment-15402191
 ] 

Pierre Smits edited comment on OFBIZ-7796 at 8/1/16 3:04 PM:
-------------------------------------------------------------

Hi [~jacques.le.roux],

I can confirm that I now can start OFBiz with the following command:
{code}
java -jar build/libs/ofbiz.jar --start
{code}

This yielded a gain of approx *8* seconds on my dev machine, compared to:
{code}
./gradlew ofbiz
{code}

and that I can stop OFBiz with following command:
{code}
java -jar build/libs/ofbiz.jar --shutdown
{code}


was (Author: pfm.smits):
Hi [~jacques.le.roux],

I can confirm that I now can start OFBiz with the following command:
{code}
java -jar build/libs/ofbiz.jar --start
{code}

This yielded a gain of approx *8* seconds on my dev machine.

and that I can stop OFBiz with following command:
{code}
java -jar build/libs/ofbiz.jar --shutdown
{code}

> Running OFBiz as a service fails
> --------------------------------
>
>                 Key: OFBIZ-7796
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7796
>             Project: OFBiz
>          Issue Type: Sub-task
>    Affects Versions: Trunk
>         Environment: Ubuntu 16.04, openjdk-8-jdk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Blocker
>         Attachments: OFBIZ-77796-rc.ofbiz.for.debian.patch
>
>
> In a new ubuntu environment I performed a checkout  from trunk and ran the 
> loadDefault build script.
> After this had completed, I moved the ofbiz directory from my user folder to 
> the /opt folder, and configured the Ubuntu environment to be able to run 
> OFBiz as a service.
> This entails:
> * deploy a script in /etc/init.d
> * set the correct permissions of the service script
> * create the service user 
> * changed the owner and ownergroup of the files and folders in /opt/ofbiz
> and then fire the service:
> sudo /etc/init.d/ofbiz start
> This normally starts the proces java -jar ofbiz.jar
> But now nothing happens.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to