[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-08-06 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-7796 at 8/6/16 9:05 AM:


bq. It also removes: the 'kill' reference as there is no function to trigger it
terminateOfbiz works on demo


was (Author: jacques.le.roux):
bq. It also removes: the 'kill' reference as there is no function to trigger it
terminateOfbiz ?

> 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: Minor
> Attachments: OFBIZ-77796-rc.ofbiz.for.debian.patch, 
> OFBIZ-7796-rc.ofbiz.for.debian-v2.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)


[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-08-01 Thread Pierre Smits (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-08-01 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7796 at 8/1/16 2:59 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.

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
{start}

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)


[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-07-18 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7796 at 7/18/16 9:01 AM:
--

I have tested *java -jar build/libs.ofbiz-gradle.jar --start* in my dev 
environment and it works. In another cli I used  *java -jar 
build/libs.ofbiz-gradle.jar --shutdown* and it stops the task running in the 
first cli.

re:: *generic enough situation*
* No, it is - as the name of the script indicates - intended for *debian* based 
systems.
* I have changed the *JAVA_BINARY* variable from hardcoded and old java version 
1.4.2 to generic $JAVA_HOME
* I have changed the *OFBIZ_HOME* variable from location in users home folder 
to more generic */opt/ofbiz*

re: *why use java directly*
In UAT an PROD environments you want the entire OFBIZ setup running as clean, 
mean and lean as possible. That also include shortest startup time possible 
(argument behind that: minimal downtime with respect to SLAs). Building (or 
checking the build) the OFBiz implementation is not adding to that.


was (Author: pfm.smits):
I have tested *java -jar build/libs.ofbiz-gradle.jar --start* in my dev 
environment and it works. In another cli I used  *java -jar 
build/libs.ofbiz-gradle.jar --shutdownt* and it stops the task running in the 
first cli.

re:: *generic enough situation*
* No, it is - as the name of the script indicates - intended for *debian* based 
systems.
* I have changed the *JAVA_BINARY* variable from hardcoded and old java version 
1.4.2 to generic $JAVA_HOME
* I have changed the *OFBIZ_HOME* variable from location in users home folder 
to more generic */opt/ofbiz*

re: *why use java directly*
In UAT an PROD environments you want the entire OFBIZ setup running as clean, 
mean and lean as possible. That also include shortest startup time possible 
(argument behind that: minimal downtime with respect to SLAs). Building (or 
checking the build) the OFBiz implementation is not adding to that.

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


[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-07-16 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7796 at 7/16/16 8:23 AM:
--

I don't worry that much about the 80/92 completion %. That resides more in the 
DEV/SIT domains than in the UAT/PROD domains. Charl brought it up, and I felt 
the need to relativize...

But this issue is more related to the UAT/PROD domains. And that needs to be 
addressed properly. And the same goes for issues OFBIZ-7783, OFBIZ-7782 and 
OFBIZ-7776, while OFBIZ-7767 is more related to the SIT domain.


I will consider creating a place holder to provide more overall context 
regarding the use case(s) of the issues.




was (Author: pfm.smits):
I don't worry that much about the 80/92 completion. That is resides more in the 
DEV/SIT domains than in the UAT/PROD domains. Charl brought it up, and I felt 
the need to relativize...

But this issue is more related to the UAT/PROD domains. And that needs to be 
addressed properly. And the same goes for issues OFBIZ-7783, OFBIZ-7782 and 
OFBIZ-7776, while OFBIZ-7767 is more related to the SIT domain.


I will consider creating a place holder to provide more overall context 
regarding the use case(s) of the issues.



> Running OFBiz as a service fails
> 
>
> Key: OFBIZ-7796
> URL: https://issues.apache.org/jira/browse/OFBIZ-7796
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
> Environment: Ubuntu 16.04, openjdk-8-jdk
>Reporter: Pierre Smits
>Priority: Blocker
>
> 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)


[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-07-15 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-7796 at 7/15/16 5:53 PM:
-

I don't worry that much about the 80/92 completion. That is resides more in the 
DEV/SIT domains than in the UAT/PROD domains. Charl brought it up, and I felt 
the need to relativize...

But this issue is more related to the UAT/PROD domains. And that needs to be 
addressed properly. And the same goes for issues OFBIZ-7783, OFBIZ-7782 and 
OFBIZ-7776, while OFBIZ-7767 is more related to the SIT domain.


I will consider creating a place holder to provide more overall context 
regarding the use case(s) of the issues.




was (Author: pfm.smits):
I don't worry that much about the 80/92 completion. That is resides more in the 
DEV/SIT domains than in the UAT/PROD domains. Charl brought it up, and I felt 
the need to relativize...

But this issue is more related to the UAT/PROD domains. And that needs to be 
addressed properly. And the same goes for issues OFBIZ-7796, OFBIZ-7783, 
OFBIZ-7782 and OFBIZ-7776, while OFBIZ-7767 is more related to the SIT domain.


I will consider creating a place holder to provide more overall context 
regarding the use case(s) of the issues.



> Running OFBiz as a service fails
> 
>
> Key: OFBIZ-7796
> URL: https://issues.apache.org/jira/browse/OFBIZ-7796
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
> Environment: Ubuntu 16.04, openjdk-8-jdk
>Reporter: Pierre Smits
>Priority: Blocker
>
> 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)


[jira] [Comment Edited] (OFBIZ-7796) Running OFBiz as a service fails

2016-07-15 Thread Pierre Smits (JIRA)

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

Pierre Smits edited comment on OFBIZ-7796 at 7/15/16 11:27 AM:
---

HI Charl,

Re *./gradlew ofbiz command only builds to 92%  and after reverting to a 
totally vanilla source and cleanall loaddefault I realised that I can access 
the different components even though it looked liked the build has not 
completed completely*

I have discussed a similar issue (I came to 80%) with [~jacques.le.roux], and 
all I can say is that currently a lot of effort is undertaken by [~taher] and 
others working on perfecting the gradle implementation. We'll have to wait and 
see how this will be addressed.




was (Author: pfm.smits):
HI Charl,

Re *./gradlew ofbiz command only builds to 92%  and after reverting to a 
totally vanilla source and cleanall loaddefault I realised that I can access 
the different components even though it looked liked the build has not 
completed completely*

I have discussed a similar issue (I came to 80%) with [~jacques.le.roux], and 
all can say that currently a lot of effort is undertaken by [~taher] and others 
working on perfecting the gradle implementation. We'll have to wait and see how 
this will be addressed.



> Running OFBiz as a service fails
> 
>
> Key: OFBIZ-7796
> URL: https://issues.apache.org/jira/browse/OFBIZ-7796
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
> Environment: Ubuntu 16.04, openjdk-8-jdk
>Reporter: Pierre Smits
>Priority: Blocker
>
> 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)