Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4FB8D200BDF for ; Sun, 18 Dec 2016 12:43:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4E4BC160B30; Sun, 18 Dec 2016 11:43:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 99245160B12 for ; Sun, 18 Dec 2016 12:42:59 +0100 (CET) Received: (qmail 7345 invoked by uid 500); 18 Dec 2016 11:42:58 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 7331 invoked by uid 99); 18 Dec 2016 11:42:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Dec 2016 11:42:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AAE8B2C0086 for ; Sun, 18 Dec 2016 11:42:58 +0000 (UTC) Date: Sun, 18 Dec 2016 11:42:58 +0000 (UTC) From: "Jacques Le Roux (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-7796) Running OFBiz as a service fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 18 Dec 2016 11:43:00 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15758707#comment-15758707 ] Jacques Le Roux commented on OFBIZ-7796: ---------------------------------------- Now I want to inform you about a special case: when you want to run several OFBiz instances on the same machine. That's what I do with the demos and there is a problem with Gradle. It seems you can't restart them independently or I missed something. Every morning all instances restart sequentially. When I started I tried to use bq. ./gradlew "ofbizBackground --stop" for the trunk and the same with a portoffset for stable (aka R16.11) But it did not work and I had to use ./gradlew terminateOfbiz in trunk to stop both trunk and R16. It's not a big deal for demos since I restart them sequentially, just that stable wait a bit more berfore restarting. And If I then try to restart R16 independently I get errors. Note that in this case it does not destabilise the running trunk instance. So in case I replace "terminateOFBiz" by "ofbizBackground --stop" in trunk-manual.sh (see copy in tools\demo-backup) it does not work and I get attached errors. So it seems related to a mix with Gradle and portoffset. The portoffset solution was working fine when using only plain Java before. I did not investigate more. > 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 > 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)