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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Pierre Smits updated OFBIZ-7796:
--------------------------------
    Affects Version/s: Trunk

> 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)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Updated] (OFBIZ-7796) Running OFBiz as a service fails

Charl Bouwer
Hi Pierre
Thanks this answers a question I have. Ill be doing the same procedure on a
Centos 6 machine over the weekend will give you feedback on the result.
Being new to OFBiz I am having some difficulty distinguishing between bugs,
features and id10t errors.
For instance the ./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. Is this a 'moet so wees'(must be like
that) or do I have a bug or error..
Also in my original test system I had a hostname not found in one of the
components even though I was only accessing it through localhost it was
looking for the machine name ofbiz.something. Easily bypassed on my side by
assigning the ofbiz.something to 127.0.01.  Do I need to open a Jira issue
for this or is so obvious that a server hosts file should be correct. It
just feels wrong that an internal process uses the hostanme. I havent even
looked at or considered using multiple virtual hosts. At least it should be
easy to reproduce if necessary.

Thanks
Charl

On Fri, Jul 15, 2016 at 7:10 AM, Pierre Smits (JIRA) <[hidden email]>
wrote:

>
>      [
> https://issues.apache.org/jira/browse/OFBIZ-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Pierre Smits updated OFBIZ-7796:
> --------------------------------
>     Affects Version/s: Trunk
>
> > 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)
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Updated] (OFBIZ-7796) Running OFBiz as a service fails

Jacques Le Roux
Administrator
Please Charl comment (the same) in the Jira, better for history, and all actually

Thanks

Jacques


Le 15/07/2016 à 11:32, Charl Bouwer a écrit :

> Hi Pierre
> Thanks this answers a question I have. Ill be doing the same procedure on a
> Centos 6 machine over the weekend will give you feedback on the result.
> Being new to OFBiz I am having some difficulty distinguishing between bugs,
> features and id10t errors.
> For instance the ./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. Is this a 'moet so wees'(must be like
> that) or do I have a bug or error..
> Also in my original test system I had a hostname not found in one of the
> components even though I was only accessing it through localhost it was
> looking for the machine name ofbiz.something. Easily bypassed on my side by
> assigning the ofbiz.something to 127.0.01.  Do I need to open a Jira issue
> for this or is so obvious that a server hosts file should be correct. It
> just feels wrong that an internal process uses the hostanme. I havent even
> looked at or considered using multiple virtual hosts. At least it should be
> easy to reproduce if necessary.
>
> Thanks
> Charl
>
> On Fri, Jul 15, 2016 at 7:10 AM, Pierre Smits (JIRA) <[hidden email]>
> wrote:
>
>>       [
>> https://issues.apache.org/jira/browse/OFBIZ-7796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> ]
>>
>> Pierre Smits updated OFBIZ-7796:
>> --------------------------------
>>      Affects Version/s: Trunk
>>
>>> 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)
>>