You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Craig Parker <cr...@fossfolks.com> on 2016/12/02 03:34:39 UTC

Re: Starting OfBiz at boot

I got this going finally back in May, but downloaded 16 tonight and 
can't fire it up. Here's how I got there a few months back...

http://65.175.244.105:31415/ofbizdocs/?p=352


On 05/03/2016 09:43 PM, Craig Parker wrote:
> I've been following along on this site:
> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
>
>
> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't 
> fire up at boot. Before I edited /etc/init.d/ofbiz, there was a line 
> that said "OFBIZ_USER=ofbiz" When I tried, as root to run 
> /etc/init.d/ofbiz start, I'd get an error:
> Starting OFBiz: failure
>
> Only users root or ofbiz should start/stop the application
>
> Like I said, I can start it now manually as root, but it won't fire up 
> as boot. In /var/log/boot.log, I see that same error, except now it 
> says "...Only users root or root..."
>
> What'd I miss? I'm running Ubuntu Server 14.04 just using the default 
> built in database at the moment.


Re: Clean Slate

Posted by Jacopo Cappellato <ja...@hotwaxsystems.com>.
On Wed, Apr 19, 2017 at 9:35 AM, Jacopo Cappellato <
jacopo.cappellato@hotwaxsystems.com> wrote:

> Hi Craig,
>
> the name loadDefault may be a bit misleading: it actually loads the seed
> data but also testing and demo data (maybe loadAll may be more accurate).
> Anyway, you are probably looking for:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>
> You will find a description of the various options and their meaning in
> the README.md file section titled "Data loading tasks".
>

And there is one more task you may want to run:

./gradlew loadAdminUserLogin -PuserLoginId=MyUserName

This will create a user with id MyUserName (of course choose the name you
prefer) with password "ofbiz" (the system will ask you to change it after
the first successful login).

Jacopo

Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
I already documented an issue with Word at https://cwiki.apache.org/confluence/display/OFBENDUSER/How+to+Install+OFBiz+without+the+Demo+Data

I have now completed with other possible cases.

I have also documented this possible issue at https://cwiki.apache.org/confluence/display/OFBIZ/From+Ant+to+Gradle+-+trunk+version

Jacques


Le 14/12/2017 à 00:48, Craig Parker a écrit :
> ./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin\
>
> That's pasted from Geany. I'm throwing another clean OFBiz on my laptop -- I'll try again there. This other one appears to be running fine now.
>
>
> On 12/13/2017 06:04 PM, Jacques Le Roux wrote:
>> gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin
>
>


Re: Clean Slate

Posted by Craig Parker <cr...@fossfolks.com>.
./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" 
loadAdminUserLogin -PuserLoginId=admin\

That's pasted from Geany. I'm throwing another clean OFBiz on my laptop 
-- I'll try again there. This other one appears to be running fine now.


On 12/13/2017 06:04 PM, Jacques Le Roux wrote:
> gradlew "ofbiz --load-data readers=seed,seed-initial" 
> loadAdminUserLogin -PuserLoginId=admin


Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 13/12/2017 à 21:51, Craig Parker a écrit :
> Something's weird then. I'm sitting down at this again, with a blank ubuntu server (16.04) and watching
>
> ./gradlew cleanAll loadDefault
>
> run fine. All of my attempts running this:
>
> ./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin
I suspect you are not using dash but another char which look like dash
Check http://markmail.org/message/wruaowwegfr47bky

>
> failed miserably though. You (Jacques) have a trailing forward slash in your command. Is that a typo, or a Windows thing?
No it's actually
gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin
and this was a Thunderbird thing

HTH

Jacques

>
> Other than dropping the databases, is there a cache anywhere I've got to wipe out when trying the seed data load again? I've got to wait until this 
> default one is finished before I can post any stack traces, but in the meantime wanted all my ducks in a row to get rid of this default data 
> completely.
>
>
> On 11/23/2017 02:50 AM, Jacques Le Roux wrote:
>> Hi Craig,
>>
>> It still works here on Windows using
>>
>> /gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin /
>>
>> and running with
>>
>> /java version "1.8.0_151"//
>> //Java(TM) SE Runtime Environment (build 1.8.0_151-b12)//
>> //Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)/
>>
>> Jacques
>>
>>
>> Le 22/11/2017 à 21:22, Craig Parker a écrit :
>>> Did things change in the newest release? I'm running (per the discussion back in April):
>>>
>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin
>>>
>>> and getting errors. And it's unrelated, probably, but I'm curious as to why gradle isn't using the openjava I've got installed. All my symlinks 
>>> (/usr/bin/java*, etc) are pointing to openjava's binaries, not Oracle's.
>>>
>>> 15:17:18.024 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :ofbiz ‐‐load-data readers=seed,seed-initial FAILED
>>> 15:17:18.024 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :ofbiz ‐‐load-data readers=seed,seed-initial (Thread[main,5,main]) 
>>> completed. Took 0.268 secs.
>>> 15:17:18.024 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 6.219 secs, idle: 
>>> 0.003 secs
>>> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
>>> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
>>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':ofbiz ‐‐load-data readers=seed,seed-initial'.
>>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] > Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit 
>>> value 1
>>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter]
>>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
>>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
>>> 15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger]
>>> 15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
>>>
>>>
>>> On 04/20/2017 03:16 AM, Jacopo Cappellato wrote:
>>>> On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker <cr...@fossfolks.com> wrote:
>>>>
>>>>> So, this (I tried them one at a time to see what happens -- and noticed
>>>>> stopping and starting ofbiz appears to be necessary):
>>>>>
>>>>> ./gradlew "ofbiz --load-data readers=seed"
>>>>> ./gradlew "ofbiz --load-data readers=seed-initial"
>>>>> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>>>>>
>>>>> will give me an ofbiz install ready, data-wise, to start using in a
>>>>> production environment? At this point I'd start keying in products,
>>>>> vendors, etc ?
>>>>>
>>>>> Will this:
>>>>>
>>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
>>>>> -PuserLoginId=admin"
>>>>>
>>>> The correct command is:
>>>>
>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
>>>> -PuserLoginId=admin
>>>>
>>>> the difference with your version is that the quotes ("") should only wrap
>>>> the part:
>>>> "ofbiz --load-data readers=seed,seed-initial"
>>>>
>>>>
>>>>> Get it all done in one fell swoop?
>>>>
>>>> Exactly.
>>>>
>>>>
>>>>> Readme wasn't clear, to me at least.
>>>>>
>>>>> I'm still a ways off, and hope to be helping along with docs as I go, but
>>>>> I'm just trying to find the "you are here" sign.
>>>>
>>>> Thanks for your effort and feedback; it would be great to get your help
>>>> with documentation etc..
>>>>
>>>> Jacopo
>>>>
>>>
>>>
>>
>>
>
>


Re: Clean Slate

Posted by Craig Parker <cr...@fossfolks.com>.
Something's weird then. I'm sitting down at this again, with a blank 
ubuntu server (16.04) and watching

./gradlew cleanAll loadDefault

run fine. All of my attempts running this:

./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" 
loadAdminUserLogin -PuserLoginId=admin

failed miserably though. You (Jacques) have a trailing forward slash in 
your command. Is that a typo, or a Windows thing?

Other than dropping the databases, is there a cache anywhere I've got to 
wipe out when trying the seed data load again? I've got to wait until 
this default one is finished before I can post any stack traces, but in 
the meantime wanted all my ducks in a row to get rid of this default 
data completely.


On 11/23/2017 02:50 AM, Jacques Le Roux wrote:
> Hi Craig,
>
> It still works here on Windows using
>
> /gradlew "ofbiz --load-data readers=seed,seed-initial" 
> loadAdminUserLogin -PuserLoginId=admin /
>
> and running with
>
> /java version "1.8.0_151"//
> //Java(TM) SE Runtime Environment (build 1.8.0_151-b12)//
> //Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)/
>
> Jacques
>
>
> Le 22/11/2017 à 21:22, Craig Parker a écrit :
>> Did things change in the newest release? I'm running (per the 
>> discussion back in April):
>>
>> ./gradlew "ofbiz --load-data readers=seed,seed-initial" 
>> loadAdminUserLogin -PuserLoginId=admin
>>
>> and getting errors. And it's unrelated, probably, but I'm curious as 
>> to why gradle isn't using the openjava I've got installed. All my 
>> symlinks (/usr/bin/java*, etc) are pointing to openjava's binaries, 
>> not Oracle's.
>>
>> 15:17:18.024 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] 
>> :ofbiz ‐‐load-data readers=seed,seed-initial FAILED
>> 15:17:18.024 [INFO] 
>> [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :ofbiz 
>> ‐‐load-data readers=seed,seed-initial (Thread[main,5,main]) 
>> completed. Took 0.268 secs.
>> 15:17:18.024 [DEBUG] 
>> [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker 
>> [Thread[main,5,main]] finished, busy: 6.219 secs, idle: 0.003 secs
>> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
>> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: 
>> Build failed with an exception.
>> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * What went 
>> wrong:
>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Execution 
>> failed for task ':ofbiz ‐‐load-data readers=seed,seed-initial'.
>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] > Process 
>> 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with 
>> non-zero exit value 1
>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter]
>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
>> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Run with 
>> --stacktrace option to get the stack trace.
>> 15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger]
>> 15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
>>
>>
>> On 04/20/2017 03:16 AM, Jacopo Cappellato wrote:
>>> On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker <cr...@fossfolks.com> 
>>> wrote:
>>>
>>>> So, this (I tried them one at a time to see what happens -- and 
>>>> noticed
>>>> stopping and starting ofbiz appears to be necessary):
>>>>
>>>> ./gradlew "ofbiz --load-data readers=seed"
>>>> ./gradlew "ofbiz --load-data readers=seed-initial"
>>>> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>>>>
>>>> will give me an ofbiz install ready, data-wise, to start using in a
>>>> production environment? At this point I'd start keying in products,
>>>> vendors, etc ?
>>>>
>>>> Will this:
>>>>
>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial 
>>>> loadAdminUserLogin
>>>> -PuserLoginId=admin"
>>>>
>>> The correct command is:
>>>
>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial" 
>>> loadAdminUserLogin
>>> -PuserLoginId=admin
>>>
>>> the difference with your version is that the quotes ("") should only 
>>> wrap
>>> the part:
>>> "ofbiz --load-data readers=seed,seed-initial"
>>>
>>>
>>>> Get it all done in one fell swoop?
>>>
>>> Exactly.
>>>
>>>
>>>> Readme wasn't clear, to me at least.
>>>>
>>>> I'm still a ways off, and hope to be helping along with docs as I 
>>>> go, but
>>>> I'm just trying to find the "you are here" sign.
>>>
>>> Thanks for your effort and feedback; it would be great to get your help
>>> with documentation etc..
>>>
>>> Jacopo
>>>
>>
>>
>
>


Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Craig,

It still works here on Windows using

/gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin /

and running with

/java version "1.8.0_151"//
//Java(TM) SE Runtime Environment (build 1.8.0_151-b12)//
//Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)/

Jacques


Le 22/11/2017 à 21:22, Craig Parker a écrit :
> Did things change in the newest release? I'm running (per the discussion back in April):
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=admin
>
> and getting errors. And it's unrelated, probably, but I'm curious as to why gradle isn't using the openjava I've got installed. All my symlinks 
> (/usr/bin/java*, etc) are pointing to openjava's binaries, not Oracle's.
>
> 15:17:18.024 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :ofbiz ‐‐load-data readers=seed,seed-initial FAILED
> 15:17:18.024 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :ofbiz ‐‐load-data readers=seed,seed-initial (Thread[main,5,main]) 
> completed. Took 0.268 secs.
> 15:17:18.024 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 6.219 secs, idle: 
> 0.003 secs
> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
> 15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':ofbiz ‐‐load-data readers=seed,seed-initial'.
> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] > Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 1
> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter]
> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
> 15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
> 15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger]
> 15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
>
>
> On 04/20/2017 03:16 AM, Jacopo Cappellato wrote:
>> On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker <cr...@fossfolks.com> wrote:
>>
>>> So, this (I tried them one at a time to see what happens -- and noticed
>>> stopping and starting ofbiz appears to be necessary):
>>>
>>> ./gradlew "ofbiz --load-data readers=seed"
>>> ./gradlew "ofbiz --load-data readers=seed-initial"
>>> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>>>
>>> will give me an ofbiz install ready, data-wise, to start using in a
>>> production environment? At this point I'd start keying in products,
>>> vendors, etc ?
>>>
>>> Will this:
>>>
>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
>>> -PuserLoginId=admin"
>>>
>> The correct command is:
>>
>> ./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
>> -PuserLoginId=admin
>>
>> the difference with your version is that the quotes ("") should only wrap
>> the part:
>> "ofbiz --load-data readers=seed,seed-initial"
>>
>>
>>> Get it all done in one fell swoop?
>>
>> Exactly.
>>
>>
>>> Readme wasn't clear, to me at least.
>>>
>>> I'm still a ways off, and hope to be helping along with docs as I go, but
>>> I'm just trying to find the "you are here" sign.
>>
>> Thanks for your effort and feedback; it would be great to get your help
>> with documentation etc..
>>
>> Jacopo
>>
>
>


Re: Clean Slate

Posted by Craig Parker <cr...@fossfolks.com>.
Did things change in the newest release? I'm running (per the discussion 
back in April):

./gradlew "ofbiz --load-data readers=seed,seed-initial" 
loadAdminUserLogin -PuserLoginId=admin

and getting errors. And it's unrelated, probably, but I'm curious as to 
why gradle isn't using the openjava I've got installed. All my symlinks 
(/usr/bin/java*, etc) are pointing to openjava's binaries, not Oracle's.

15:17:18.024 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :ofbiz 
‐‐load-data readers=seed,seed-initial FAILED
15:17:18.024 [INFO] 
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :ofbiz 
‐‐load-data readers=seed,seed-initial (Thread[main,5,main]) completed. 
Took 0.268 secs.
15:17:18.024 [DEBUG] 
[org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker 
[Thread[main,5,main]] finished, busy: 6.219 secs, idle: 0.003 secs
15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build 
failed with an exception.
15:17:18.040 [ERROR] [org.gradle.BuildExceptionReporter]
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Execution 
failed for task ':ofbiz ‐‐load-data readers=seed,seed-initial'.
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] > Process 
'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero 
exit value 1
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter]
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
15:17:18.042 [ERROR] [org.gradle.BuildExceptionReporter] Run with 
--stacktrace option to get the stack trace.
15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger]
15:17:18.043 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED


On 04/20/2017 03:16 AM, Jacopo Cappellato wrote:
> On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker <cr...@fossfolks.com> wrote:
>
>> So, this (I tried them one at a time to see what happens -- and noticed
>> stopping and starting ofbiz appears to be necessary):
>>
>> ./gradlew "ofbiz --load-data readers=seed"
>> ./gradlew "ofbiz --load-data readers=seed-initial"
>> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>>
>> will give me an ofbiz install ready, data-wise, to start using in a
>> production environment? At this point I'd start keying in products,
>> vendors, etc ?
>>
>> Will this:
>>
>> ./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
>> -PuserLoginId=admin"
>>
> The correct command is:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
> -PuserLoginId=admin
>
> the difference with your version is that the quotes ("") should only wrap
> the part:
> "ofbiz --load-data readers=seed,seed-initial"
>
>
>> Get it all done in one fell swoop?
>
> Exactly.
>
>
>> Readme wasn't clear, to me at least.
>>
>> I'm still a ways off, and hope to be helping along with docs as I go, but
>> I'm just trying to find the "you are here" sign.
>
> Thanks for your effort and feedback; it would be great to get your help
> with documentation etc..
>
> Jacopo
>


Re: Clean Slate

Posted by Jacopo Cappellato <ja...@hotwaxsystems.com>.
On Thu, Apr 20, 2017 at 4:03 AM, Craig Parker <cr...@fossfolks.com> wrote:

> So, this (I tried them one at a time to see what happens -- and noticed
> stopping and starting ofbiz appears to be necessary):
>
> ./gradlew "ofbiz --load-data readers=seed"
> ./gradlew "ofbiz --load-data readers=seed-initial"
> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>
> will give me an ofbiz install ready, data-wise, to start using in a
> production environment? At this point I'd start keying in products,
> vendors, etc ?
>
> Will this:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
> -PuserLoginId=admin"
>

The correct command is:

./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin
-PuserLoginId=admin

the difference with your version is that the quotes ("") should only wrap
the part:
"ofbiz --load-data readers=seed,seed-initial"


> Get it all done in one fell swoop?


Exactly.


> Readme wasn't clear, to me at least.
>
> I'm still a ways off, and hope to be helping along with docs as I go, but
> I'm just trying to find the "you are here" sign.


Thanks for your effort and feedback; it would be great to get your help
with documentation etc..

Jacopo

Re: Clean Slate

Posted by Taher Alkhateeb <sl...@gmail.com>.
Yup you got the command right

On Apr 20, 2017 5:03 AM, "Craig Parker" <cr...@fossfolks.com> wrote:

> So, this (I tried them one at a time to see what happens -- and noticed
> stopping and starting ofbiz appears to be necessary):
>
> ./gradlew "ofbiz --load-data readers=seed"
> ./gradlew "ofbiz --load-data readers=seed-initial"
> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>
> will give me an ofbiz install ready, data-wise, to start using in a
> production environment? At this point I'd start keying in products,
> vendors, etc ?
>
> Will this:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
> -PuserLoginId=admin"
>
> Get it all done in one fell swoop? Readme wasn't clear, to me at least.
>
> I'm still a ways off, and hope to be helping along with docs as I go, but
> I'm just trying to find the "you are here" sign.
>
> On 04/19/2017 03:35 AM, Jacopo Cappellato wrote:
>
>> Hi Craig,
>>
>> the name loadDefault may be a bit misleading: it actually loads the seed
>> data but also testing and demo data (maybe loadAll may be more accurate).
>> Anyway, you are probably looking for:
>>
>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>
>> You will find a description of the various options and their meaning in
>> the
>> README.md file section titled "Data loading tasks".
>>
>> Regards,
>>
>> Jacopo
>>
>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>> wrote:
>>
>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>>> I'm only thinking so because I saw things in the PRODUCTS table besides
>>> the
>>> item I started creating.
>>>
>>> Dropping the databases, running and firing OFBiz up again seems to have
>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>> rebuilt
>>> like that), but there's no data. This was the desired effect, but I can't
>>> launch the software now. I can post the whole error, or just say that I
>>> see
>>> a lot of "Template location is empty" messages.
>>>
>>> Is that the right way to start with a clean slate and I missed a step, or
>>> is that totally wrong?
>>>
>>>
>

Re: Clean Slate

Posted by Craig Parker <cr...@fossfolks.com>.
So, this (I tried them one at a time to see what happens -- and noticed 
stopping and starting ofbiz appears to be necessary):

./gradlew "ofbiz --load-data readers=seed"
./gradlew "ofbiz --load-data readers=seed-initial"
./gradlew loadAdminUserLogin -PuserLoginId=admin

will give me an ofbiz install ready, data-wise, to start using in a 
production environment? At this point I'd start keying in products, 
vendors, etc ?

Will this:

./gradlew "ofbiz --load-data readers=seed,seed-initial 
loadAdminUserLogin -PuserLoginId=admin"

Get it all done in one fell swoop? Readme wasn't clear, to me at least.

I'm still a ways off, and hope to be helping along with docs as I go, 
but I'm just trying to find the "you are here" sign.

On 04/19/2017 03:35 AM, Jacopo Cappellato wrote:
> Hi Craig,
>
> the name loadDefault may be a bit misleading: it actually loads the seed
> data but also testing and demo data (maybe loadAll may be more accurate).
> Anyway, you are probably looking for:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>
> You will find a description of the various options and their meaning in the
> README.md file section titled "Data loading tasks".
>
> Regards,
>
> Jacopo
>
> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com> wrote:
>
>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>> I'm only thinking so because I saw things in the PRODUCTS table besides the
>> item I started creating.
>>
>> Dropping the databases, running and firing OFBiz up again seems to have
>> rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
>> like that), but there's no data. This was the desired effect, but I can't
>> launch the software now. I can post the whole error, or just say that I see
>> a lot of "Template location is empty" messages.
>>
>> Is that the right way to start with a clean slate and I missed a step, or
>> is that totally wrong?
>>


Re: Clean Slate

Posted by Devanshu Vyas <vy...@gmail.com>.
+1 for 'loadData', more clear. And I agree with Taher, it is consistent
with 'load-data'.

Thanks & Regards,
Devanshu Vyas.

On Wed, Apr 19, 2017 at 1:42 PM, Taher Alkhateeb <slidingfilaments@gmail.com
> wrote:

> I would suggest "loadData" to keep it consistent with the actual alias
> "--load-data" and in the README.md and task description describe what that
> means.
>
> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
> > +1 for loadAll, clearer indeed
> >
> > I also got trapped by "shutdown" (for ofbizBackground), instead of "stop"
> > we had before.
> >
> > Would you agree (All) to change it too? Not too late right?
> >
> > Jacques
> >
> >
> >
> > Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
> >
> >> Hi Craig,
> >>
> >> the name loadDefault may be a bit misleading: it actually loads the seed
> >> data but also testing and demo data (maybe loadAll may be more
> accurate).
> >> Anyway, you are probably looking for:
> >>
> >> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
> >>
> >> You will find a description of the various options and their meaning in
> >> the
> >> README.md file section titled "Data loading tasks".
> >>
> >> Regards,
> >>
> >> Jacopo
> >>
> >> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
> >> wrote:
> >>
> >> ./gradlew cleanAll loadDefault will load some test data. Or is that
> wrong?
> >>> I'm only thinking so because I saw things in the PRODUCTS table besides
> >>> the
> >>> item I started creating.
> >>>
> >>> Dropping the databases, running and firing OFBiz up again seems to have
> >>> rebuilt the databases (I thought I'd read somewhere that they'd get
> >>> rebuilt
> >>> like that), but there's no data. This was the desired effect, but I
> can't
> >>> launch the software now. I can post the whole error, or just say that I
> >>> see
> >>> a lot of "Template location is empty" messages.
> >>>
> >>> Is that the right way to start with a clean slate and I missed a step,
> or
> >>> is that totally wrong?
> >>>
> >>>
> >
>

Re: Clean Slate

Posted by Pierre Smits <pi...@gmail.com>.
+1 on having unambiguous commands (and explanations) regarding the use of
OFBiz.

Replacing loadDefault with loadData doesn't remove the ambiguity.. And
having the adopter to use multiple parameters to get to a minimal
operational state is not delivering the best UX. Better is it to turn
around: the base should deliver just that, and if people (or systems like
the demo site) want to have demo data in their setup they should apply the
extra step.

Best regards,

Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Wed, Apr 19, 2017 at 10:12 AM, Taher Alkhateeb <
slidingfilaments@gmail.com> wrote:

> I would suggest "loadData" to keep it consistent with the actual alias
> "--load-data" and in the README.md and task description describe what that
> means.
>
> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
> > +1 for loadAll, clearer indeed
> >
> > I also got trapped by "shutdown" (for ofbizBackground), instead of "stop"
> > we had before.
> >
> > Would you agree (All) to change it too? Not too late right?
> >
> > Jacques
> >
> >
> >
> > Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
> >
> >> Hi Craig,
> >>
> >> the name loadDefault may be a bit misleading: it actually loads the seed
> >> data but also testing and demo data (maybe loadAll may be more
> accurate).
> >> Anyway, you are probably looking for:
> >>
> >> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
> >>
> >> You will find a description of the various options and their meaning in
> >> the
> >> README.md file section titled "Data loading tasks".
> >>
> >> Regards,
> >>
> >> Jacopo
> >>
> >> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
> >> wrote:
> >>
> >> ./gradlew cleanAll loadDefault will load some test data. Or is that
> wrong?
> >>> I'm only thinking so because I saw things in the PRODUCTS table besides
> >>> the
> >>> item I started creating.
> >>>
> >>> Dropping the databases, running and firing OFBiz up again seems to have
> >>> rebuilt the databases (I thought I'd read somewhere that they'd get
> >>> rebuilt
> >>> like that), but there's no data. This was the desired effect, but I
> can't
> >>> launch the software now. I can post the whole error, or just say that I
> >>> see
> >>> a lot of "Template location is empty" messages.
> >>>
> >>> Is that the right way to start with a clean slate and I missed a step,
> or
> >>> is that totally wrong?
> >>>
> >>>
> >
>

Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 08/05/2017 à 12:16, Taher Alkhateeb a écrit :
> inline
>
> On Mon, May 8, 2017 at 12:42 PM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> Le 08/05/2017 à 10:20, Taher Alkhateeb a écrit :
>>
>>> I don't think we need to repeat ourselves. The discussion in this thread
>>> already mentioned names to replace loadDefault
>>>
>> So I understand that loadAllData, which is quite clear, is OK to replace
>> loadDefault
>>
> The only one who proposed loadAllData is you

I'll propose an user vote (more a survey, it's a trivial change) on each proposed names

>
>> As for shutdown, this is again repeating a discussion that was had a while
>>> ago and shows in detail why it was not _replaced_
>>>
>> Please do you have a reference I can't find nor remember an explanation :/
>> Maybe few words again would be easier?
>>
> "shutdown" is a server command (probably since the beginning of the
> project), "stop" was an ant target. We discussed in the ML and JIRA
> multiple times that we should reduce the amount of tasks to a minimum and
> instead let users control the system directly by issuing server commands.
> The server commands are --start --shutdown --load-data --test --portoffset
> and --help
>
> I don't have a problem in renaming --shutdown to --stop as a server
> command.

That's only what I suggest

Thanks for your explanation

Jacques

> The problem is in adding new shortcut tasks in gradle because you
> then lose the flexibility of issuing commands to OFBiz. The only shortcut
> commands that exist are loadDefault and testIntegration because we have to
> run them every time before making a commit "gradlew cleanAll loadDefault
> testIntegration". Beyond that, we're just repeating ourselves needlessly
> and confusing users. One example where we lose value is in debugging. For
> example, take the following variations:
>
> ./gradlew "ofbiz --test"
> ./gradlew "ofbizDebug --test"
> ./gradlew "ofbiz --shutdown"
> ./gradlew "ofbizDebug --shutdown"
>
> As you can can see, giving the user flexibility in debugging whatever
> command she issues is an advantage. If users, however, are not familiar
> with the server commands and they rely on the shortcut commands, then they
> lose the above mentioned advantage.
>
>
>> Jacques
>>
>>
>>> On Mon, May 8, 2017 at 10:37 AM, Jacques Le Roux <
>>> jacques.le.roux@les7arts.com> wrote:
>>>
>>> Hi All,
>>>> Would we agree on loadAllData?
>>>>
>>>> I also would like to replace shutdown by stop (we have start, so stop),
>>>> agreed?
>>>>
>>>> Jacques
>>>>
>>>>
>>>>
>>>> Le 19/04/2017 à 20:49, Jacques Le Roux a écrit :
>>>>
>>>> Maybe loadAllData ?
>>>>> And what about stop instead of shutdown. Why shutdown replaced stop?
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>> Le 19/04/2017 à 10:12, Taher Alkhateeb a écrit :
>>>>>
>>>>> I would suggest "loadData" to keep it consistent with the actual alias
>>>>>> "--load-data" and in the README.md and task description describe what
>>>>>> that
>>>>>> means.
>>>>>>
>>>>>> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
>>>>>> jacques.le.roux@les7arts.com> wrote:
>>>>>>
>>>>>> +1 for loadAll, clearer indeed
>>>>>>
>>>>>>> I also got trapped by "shutdown" (for ofbizBackground), instead of
>>>>>>> "stop"
>>>>>>> we had before.
>>>>>>>
>>>>>>> Would you agree (All) to change it too? Not too late right?
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
>>>>>>>
>>>>>>> Hi Craig,
>>>>>>>
>>>>>>>> the name loadDefault may be a bit misleading: it actually loads the
>>>>>>>> seed
>>>>>>>> data but also testing and demo data (maybe loadAll may be more
>>>>>>>> accurate).
>>>>>>>> Anyway, you are probably looking for:
>>>>>>>>
>>>>>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>>>>>>>
>>>>>>>> You will find a description of the various options and their meaning
>>>>>>>> in
>>>>>>>> the
>>>>>>>> README.md file section titled "Data loading tasks".
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Jacopo
>>>>>>>>
>>>>>>>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker<cr...@fossfolks.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> ./gradlew cleanAll loadDefault will load some test data. Or is that
>>>>>>>> wrong?
>>>>>>>>
>>>>>>>> I'm only thinking so because I saw things in the PRODUCTS table
>>>>>>>>> besides
>>>>>>>>> the
>>>>>>>>> item I started creating.
>>>>>>>>>
>>>>>>>>> Dropping the databases, running and firing OFBiz up again seems to
>>>>>>>>> have
>>>>>>>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>>>>>>>> rebuilt
>>>>>>>>> like that), but there's no data. This was the desired effect, but I
>>>>>>>>> can't
>>>>>>>>> launch the software now. I can post the whole error, or just say
>>>>>>>>> that
>>>>>>>>> I
>>>>>>>>> see
>>>>>>>>> a lot of "Template location is empty" messages.
>>>>>>>>>
>>>>>>>>> Is that the right way to start with a clean slate and I missed a
>>>>>>>>> step, or
>>>>>>>>> is that totally wrong?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>


Re: Clean Slate

Posted by Taher Alkhateeb <sl...@gmail.com>.
inline

On Mon, May 8, 2017 at 12:42 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Le 08/05/2017 à 10:20, Taher Alkhateeb a écrit :
>
>> I don't think we need to repeat ourselves. The discussion in this thread
>> already mentioned names to replace loadDefault
>>
>
> So I understand that loadAllData, which is quite clear, is OK to replace
> loadDefault
>

The only one who proposed loadAllData is you


> As for shutdown, this is again repeating a discussion that was had a while
>> ago and shows in detail why it was not _replaced_
>>
> Please do you have a reference I can't find nor remember an explanation :/
> Maybe few words again would be easier?
>

"shutdown" is a server command (probably since the beginning of the
project), "stop" was an ant target. We discussed in the ML and JIRA
multiple times that we should reduce the amount of tasks to a minimum and
instead let users control the system directly by issuing server commands.
The server commands are --start --shutdown --load-data --test --portoffset
and --help

I don't have a problem in renaming --shutdown to --stop as a server
command. The problem is in adding new shortcut tasks in gradle because you
then lose the flexibility of issuing commands to OFBiz. The only shortcut
commands that exist are loadDefault and testIntegration because we have to
run them every time before making a commit "gradlew cleanAll loadDefault
testIntegration". Beyond that, we're just repeating ourselves needlessly
and confusing users. One example where we lose value is in debugging. For
example, take the following variations:

./gradlew "ofbiz --test"
./gradlew "ofbizDebug --test"
./gradlew "ofbiz --shutdown"
./gradlew "ofbizDebug --shutdown"

As you can can see, giving the user flexibility in debugging whatever
command she issues is an advantage. If users, however, are not familiar
with the server commands and they rely on the shortcut commands, then they
lose the above mentioned advantage.


>
> Jacques
>
>
>> On Mon, May 8, 2017 at 10:37 AM, Jacques Le Roux <
>> jacques.le.roux@les7arts.com> wrote:
>>
>> Hi All,
>>>
>>> Would we agree on loadAllData?
>>>
>>> I also would like to replace shutdown by stop (we have start, so stop),
>>> agreed?
>>>
>>> Jacques
>>>
>>>
>>>
>>> Le 19/04/2017 à 20:49, Jacques Le Roux a écrit :
>>>
>>> Maybe loadAllData ?
>>>>
>>>> And what about stop instead of shutdown. Why shutdown replaced stop?
>>>>
>>>> Jacques
>>>>
>>>>
>>>> Le 19/04/2017 à 10:12, Taher Alkhateeb a écrit :
>>>>
>>>> I would suggest "loadData" to keep it consistent with the actual alias
>>>>> "--load-data" and in the README.md and task description describe what
>>>>> that
>>>>> means.
>>>>>
>>>>> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
>>>>> jacques.le.roux@les7arts.com> wrote:
>>>>>
>>>>> +1 for loadAll, clearer indeed
>>>>>
>>>>>> I also got trapped by "shutdown" (for ofbizBackground), instead of
>>>>>> "stop"
>>>>>> we had before.
>>>>>>
>>>>>> Would you agree (All) to change it too? Not too late right?
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>>
>>>>>>
>>>>>> Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
>>>>>>
>>>>>> Hi Craig,
>>>>>>
>>>>>>> the name loadDefault may be a bit misleading: it actually loads the
>>>>>>> seed
>>>>>>> data but also testing and demo data (maybe loadAll may be more
>>>>>>> accurate).
>>>>>>> Anyway, you are probably looking for:
>>>>>>>
>>>>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>>>>>>
>>>>>>> You will find a description of the various options and their meaning
>>>>>>> in
>>>>>>> the
>>>>>>> README.md file section titled "Data loading tasks".
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Jacopo
>>>>>>>
>>>>>>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> ./gradlew cleanAll loadDefault will load some test data. Or is that
>>>>>>> wrong?
>>>>>>>
>>>>>>> I'm only thinking so because I saw things in the PRODUCTS table
>>>>>>>> besides
>>>>>>>> the
>>>>>>>> item I started creating.
>>>>>>>>
>>>>>>>> Dropping the databases, running and firing OFBiz up again seems to
>>>>>>>> have
>>>>>>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>>>>>>> rebuilt
>>>>>>>> like that), but there's no data. This was the desired effect, but I
>>>>>>>> can't
>>>>>>>> launch the software now. I can post the whole error, or just say
>>>>>>>> that
>>>>>>>> I
>>>>>>>> see
>>>>>>>> a lot of "Template location is empty" messages.
>>>>>>>>
>>>>>>>> Is that the right way to start with a clean slate and I missed a
>>>>>>>> step, or
>>>>>>>> is that totally wrong?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>

Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 08/05/2017 à 10:20, Taher Alkhateeb a écrit :
> I don't think we need to repeat ourselves. The discussion in this thread
> already mentioned names to replace loadDefault

So I understand that loadAllData, which is quite clear, is OK to replace loadDefault

> As for shutdown, this is again repeating a discussion that was had a while
> ago and shows in detail why it was not _replaced_
Please do you have a reference I can't find nor remember an explanation :/
Maybe few words again would be easier?

Jacques
>
> On Mon, May 8, 2017 at 10:37 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> Hi All,
>>
>> Would we agree on loadAllData?
>>
>> I also would like to replace shutdown by stop (we have start, so stop),
>> agreed?
>>
>> Jacques
>>
>>
>>
>> Le 19/04/2017 à 20:49, Jacques Le Roux a écrit :
>>
>>> Maybe loadAllData ?
>>>
>>> And what about stop instead of shutdown. Why shutdown replaced stop?
>>>
>>> Jacques
>>>
>>>
>>> Le 19/04/2017 à 10:12, Taher Alkhateeb a écrit :
>>>
>>>> I would suggest "loadData" to keep it consistent with the actual alias
>>>> "--load-data" and in the README.md and task description describe what
>>>> that
>>>> means.
>>>>
>>>> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
>>>> jacques.le.roux@les7arts.com> wrote:
>>>>
>>>> +1 for loadAll, clearer indeed
>>>>> I also got trapped by "shutdown" (for ofbizBackground), instead of
>>>>> "stop"
>>>>> we had before.
>>>>>
>>>>> Would you agree (All) to change it too? Not too late right?
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>>
>>>>> Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
>>>>>
>>>>> Hi Craig,
>>>>>> the name loadDefault may be a bit misleading: it actually loads the
>>>>>> seed
>>>>>> data but also testing and demo data (maybe loadAll may be more
>>>>>> accurate).
>>>>>> Anyway, you are probably looking for:
>>>>>>
>>>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>>>>>
>>>>>> You will find a description of the various options and their meaning in
>>>>>> the
>>>>>> README.md file section titled "Data loading tasks".
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Jacopo
>>>>>>
>>>>>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>>>>>> wrote:
>>>>>>
>>>>>> ./gradlew cleanAll loadDefault will load some test data. Or is that
>>>>>> wrong?
>>>>>>
>>>>>>> I'm only thinking so because I saw things in the PRODUCTS table
>>>>>>> besides
>>>>>>> the
>>>>>>> item I started creating.
>>>>>>>
>>>>>>> Dropping the databases, running and firing OFBiz up again seems to
>>>>>>> have
>>>>>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>>>>>> rebuilt
>>>>>>> like that), but there's no data. This was the desired effect, but I
>>>>>>> can't
>>>>>>> launch the software now. I can post the whole error, or just say that
>>>>>>> I
>>>>>>> see
>>>>>>> a lot of "Template location is empty" messages.
>>>>>>>
>>>>>>> Is that the right way to start with a clean slate and I missed a
>>>>>>> step, or
>>>>>>> is that totally wrong?
>>>>>>>
>>>>>>>
>>>>>>>
>>>


Re: Clean Slate

Posted by Taher Alkhateeb <sl...@gmail.com>.
I don't think we need to repeat ourselves. The discussion in this thread
already mentioned names to replace loadDefault

As for shutdown, this is again repeating a discussion that was had a while
ago and shows in detail why it was not _replaced_

On Mon, May 8, 2017 at 10:37 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Hi All,
>
> Would we agree on loadAllData?
>
> I also would like to replace shutdown by stop (we have start, so stop),
> agreed?
>
> Jacques
>
>
>
> Le 19/04/2017 à 20:49, Jacques Le Roux a écrit :
>
>> Maybe loadAllData ?
>>
>> And what about stop instead of shutdown. Why shutdown replaced stop?
>>
>> Jacques
>>
>>
>> Le 19/04/2017 à 10:12, Taher Alkhateeb a écrit :
>>
>>> I would suggest "loadData" to keep it consistent with the actual alias
>>> "--load-data" and in the README.md and task description describe what
>>> that
>>> means.
>>>
>>> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
>>> jacques.le.roux@les7arts.com> wrote:
>>>
>>> +1 for loadAll, clearer indeed
>>>>
>>>> I also got trapped by "shutdown" (for ofbizBackground), instead of
>>>> "stop"
>>>> we had before.
>>>>
>>>> Would you agree (All) to change it too? Not too late right?
>>>>
>>>> Jacques
>>>>
>>>>
>>>>
>>>> Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
>>>>
>>>> Hi Craig,
>>>>>
>>>>> the name loadDefault may be a bit misleading: it actually loads the
>>>>> seed
>>>>> data but also testing and demo data (maybe loadAll may be more
>>>>> accurate).
>>>>> Anyway, you are probably looking for:
>>>>>
>>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>>>>
>>>>> You will find a description of the various options and their meaning in
>>>>> the
>>>>> README.md file section titled "Data loading tasks".
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jacopo
>>>>>
>>>>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>>>>> wrote:
>>>>>
>>>>> ./gradlew cleanAll loadDefault will load some test data. Or is that
>>>>> wrong?
>>>>>
>>>>>> I'm only thinking so because I saw things in the PRODUCTS table
>>>>>> besides
>>>>>> the
>>>>>> item I started creating.
>>>>>>
>>>>>> Dropping the databases, running and firing OFBiz up again seems to
>>>>>> have
>>>>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>>>>> rebuilt
>>>>>> like that), but there's no data. This was the desired effect, but I
>>>>>> can't
>>>>>> launch the software now. I can post the whole error, or just say that
>>>>>> I
>>>>>> see
>>>>>> a lot of "Template location is empty" messages.
>>>>>>
>>>>>> Is that the right way to start with a clean slate and I missed a
>>>>>> step, or
>>>>>> is that totally wrong?
>>>>>>
>>>>>>
>>>>>>
>>
>>
>

Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi All,

Would we agree on loadAllData?

I also would like to replace shutdown by stop (we have start, so stop), agreed?

Jacques


Le 19/04/2017 à 20:49, Jacques Le Roux a écrit :
> Maybe loadAllData ?
>
> And what about stop instead of shutdown. Why shutdown replaced stop?
>
> Jacques
>
>
> Le 19/04/2017 à 10:12, Taher Alkhateeb a écrit :
>> I would suggest "loadData" to keep it consistent with the actual alias
>> "--load-data" and in the README.md and task description describe what that
>> means.
>>
>> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
>> jacques.le.roux@les7arts.com> wrote:
>>
>>> +1 for loadAll, clearer indeed
>>>
>>> I also got trapped by "shutdown" (for ofbizBackground), instead of "stop"
>>> we had before.
>>>
>>> Would you agree (All) to change it too? Not too late right?
>>>
>>> Jacques
>>>
>>>
>>>
>>> Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
>>>
>>>> Hi Craig,
>>>>
>>>> the name loadDefault may be a bit misleading: it actually loads the seed
>>>> data but also testing and demo data (maybe loadAll may be more accurate).
>>>> Anyway, you are probably looking for:
>>>>
>>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>>>
>>>> You will find a description of the various options and their meaning in
>>>> the
>>>> README.md file section titled "Data loading tasks".
>>>>
>>>> Regards,
>>>>
>>>> Jacopo
>>>>
>>>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>>>> wrote:
>>>>
>>>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>>>>> I'm only thinking so because I saw things in the PRODUCTS table besides
>>>>> the
>>>>> item I started creating.
>>>>>
>>>>> Dropping the databases, running and firing OFBiz up again seems to have
>>>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>>>> rebuilt
>>>>> like that), but there's no data. This was the desired effect, but I can't
>>>>> launch the software now. I can post the whole error, or just say that I
>>>>> see
>>>>> a lot of "Template location is empty" messages.
>>>>>
>>>>> Is that the right way to start with a clean slate and I missed a step, or
>>>>> is that totally wrong?
>>>>>
>>>>>
>
>


Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
Maybe loadAllData ?

And what about stop instead of shutdown. Why shutdown replaced stop?

Jacques


Le 19/04/2017 � 10:12, Taher Alkhateeb a �crit :
> I would suggest "loadData" to keep it consistent with the actual alias
> "--load-data" and in the README.md and task description describe what that
> means.
>
> On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> +1 for loadAll, clearer indeed
>>
>> I also got trapped by "shutdown" (for ofbizBackground), instead of "stop"
>> we had before.
>>
>> Would you agree (All) to change it too? Not too late right?
>>
>> Jacques
>>
>>
>>
>> Le 19/04/2017 � 09:35, Jacopo Cappellato a �crit :
>>
>>> Hi Craig,
>>>
>>> the name loadDefault may be a bit misleading: it actually loads the seed
>>> data but also testing and demo data (maybe loadAll may be more accurate).
>>> Anyway, you are probably looking for:
>>>
>>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>>
>>> You will find a description of the various options and their meaning in
>>> the
>>> README.md file section titled "Data loading tasks".
>>>
>>> Regards,
>>>
>>> Jacopo
>>>
>>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>>> wrote:
>>>
>>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>>>> I'm only thinking so because I saw things in the PRODUCTS table besides
>>>> the
>>>> item I started creating.
>>>>
>>>> Dropping the databases, running and firing OFBiz up again seems to have
>>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>>> rebuilt
>>>> like that), but there's no data. This was the desired effect, but I can't
>>>> launch the software now. I can post the whole error, or just say that I
>>>> see
>>>> a lot of "Template location is empty" messages.
>>>>
>>>> Is that the right way to start with a clean slate and I missed a step, or
>>>> is that totally wrong?
>>>>
>>>>


Re: Clean Slate

Posted by Taher Alkhateeb <sl...@gmail.com>.
I would suggest "loadData" to keep it consistent with the actual alias
"--load-data" and in the README.md and task description describe what that
means.

On Wed, Apr 19, 2017 at 10:57 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> +1 for loadAll, clearer indeed
>
> I also got trapped by "shutdown" (for ofbizBackground), instead of "stop"
> we had before.
>
> Would you agree (All) to change it too? Not too late right?
>
> Jacques
>
>
>
> Le 19/04/2017 à 09:35, Jacopo Cappellato a écrit :
>
>> Hi Craig,
>>
>> the name loadDefault may be a bit misleading: it actually loads the seed
>> data but also testing and demo data (maybe loadAll may be more accurate).
>> Anyway, you are probably looking for:
>>
>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>
>> You will find a description of the various options and their meaning in
>> the
>> README.md file section titled "Data loading tasks".
>>
>> Regards,
>>
>> Jacopo
>>
>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com>
>> wrote:
>>
>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>>> I'm only thinking so because I saw things in the PRODUCTS table besides
>>> the
>>> item I started creating.
>>>
>>> Dropping the databases, running and firing OFBiz up again seems to have
>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>> rebuilt
>>> like that), but there's no data. This was the desired effect, but I can't
>>> launch the software now. I can post the whole error, or just say that I
>>> see
>>> a lot of "Template location is empty" messages.
>>>
>>> Is that the right way to start with a clean slate and I missed a step, or
>>> is that totally wrong?
>>>
>>>
>

Re: Clean Slate

Posted by Jacques Le Roux <ja...@les7arts.com>.
+1 for loadAll, clearer indeed

I also got trapped by "shutdown" (for ofbizBackground), instead of "stop" we had before.

Would you agree (All) to change it too? Not too late right?

Jacques


Le 19/04/2017 � 09:35, Jacopo Cappellato a �crit :
> Hi Craig,
>
> the name loadDefault may be a bit misleading: it actually loads the seed
> data but also testing and demo data (maybe loadAll may be more accurate).
> Anyway, you are probably looking for:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>
> You will find a description of the various options and their meaning in the
> README.md file section titled "Data loading tasks".
>
> Regards,
>
> Jacopo
>
> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com> wrote:
>
>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>> I'm only thinking so because I saw things in the PRODUCTS table besides the
>> item I started creating.
>>
>> Dropping the databases, running and firing OFBiz up again seems to have
>> rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
>> like that), but there's no data. This was the desired effect, but I can't
>> launch the software now. I can post the whole error, or just say that I see
>> a lot of "Template location is empty" messages.
>>
>> Is that the right way to start with a clean slate and I missed a step, or
>> is that totally wrong?
>>


Re: Clean Slate

Posted by Jacopo Cappellato <ja...@hotwaxsystems.com>.
Hi Craig,

the name loadDefault may be a bit misleading: it actually loads the seed
data but also testing and demo data (maybe loadAll may be more accurate).
Anyway, you are probably looking for:

./gradlew "ofbiz --load-data readers=seed,seed-initial"

You will find a description of the various options and their meaning in the
README.md file section titled "Data loading tasks".

Regards,

Jacopo

On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com> wrote:

> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
> I'm only thinking so because I saw things in the PRODUCTS table besides the
> item I started creating.
>
> Dropping the databases, running and firing OFBiz up again seems to have
> rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
> like that), but there's no data. This was the desired effect, but I can't
> launch the software now. I can post the whole error, or just say that I see
> a lot of "Template location is empty" messages.
>
> Is that the right way to start with a clean slate and I missed a step, or
> is that totally wrong?
>

Re: Clean Slate

Posted by Craig Parker <cr...@fossfolks.com>.
I ran ./gradlew cleanAll and dropped the three mysql databases, then 
recreated blank dbs and launched with the init.d script I grabbed. Looks 
like that is essentially running:

/ofbiz/gradlew ofbiz

So it looks like I missed the "enough data to run but not the sample 
data" boat. I do see it in another reply to my initial question though, 
just have to go read through them again.

On 04/19/2017 01:19 AM, Taher Alkhateeb wrote:
> Hi Craig,
>
> loadDefault is an alias for "ofbiz --load-data" which by default loads all
> data sets.
>
> cleanAll deletes everything including the database but only if the database
> is derby (embedded). If your database is MySQL or Postgres, then you have
> to clean it up manually.
>
> I'm not sure what command did you use to reach the point of a non-working
> system, but usually ./gradlew cleanAll loadDefault is enough to get your
> system working properly.
>
> On Wed, Apr 19, 2017 at 3:40 AM, Craig Parker <cr...@fossfolks.com> wrote:
>
>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>> I'm only thinking so because I saw things in the PRODUCTS table besides the
>> item I started creating.
>>
>> Dropping the databases, running and firing OFBiz up again seems to have
>> rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
>> like that), but there's no data. This was the desired effect, but I can't
>> launch the software now. I can post the whole error, or just say that I see
>> a lot of "Template location is empty" messages.
>>
>> Is that the right way to start with a clean slate and I missed a step, or
>> is that totally wrong?
>>


Re: Clean Slate

Posted by Taher Alkhateeb <sl...@gmail.com>.
Hi Craig,

loadDefault is an alias for "ofbiz --load-data" which by default loads all
data sets.

cleanAll deletes everything including the database but only if the database
is derby (embedded). If your database is MySQL or Postgres, then you have
to clean it up manually.

I'm not sure what command did you use to reach the point of a non-working
system, but usually ./gradlew cleanAll loadDefault is enough to get your
system working properly.

On Wed, Apr 19, 2017 at 3:40 AM, Craig Parker <cr...@fossfolks.com> wrote:

> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
> I'm only thinking so because I saw things in the PRODUCTS table besides the
> item I started creating.
>
> Dropping the databases, running and firing OFBiz up again seems to have
> rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
> like that), but there's no data. This was the desired effect, but I can't
> launch the software now. I can post the whole error, or just say that I see
> a lot of "Template location is empty" messages.
>
> Is that the right way to start with a clean slate and I missed a step, or
> is that totally wrong?
>

Re: Clean Slate

Posted by Deepak Dixit <de...@hotwaxsystems.com>.
I think loadAll is also not clear

In case of cleanAll it cleans miscellaneous thing that are not co-related
so it make sense.

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Wed, Apr 19, 2017 at 12:01 PM, Pierre Smits <pi...@gmail.com>
wrote:

> Hi Craig,
>
> You're not complete correct. The ./gradlew cleanAll loadDefault will
>
>    - through the 'cleanAll' command:
>       - delete jars, logs, the derby rdbms, Lucene indexes, etc
>    - through the 'loadDefault' command:
>       - load *all* datasets (seed, seed-extension and all demo data, from
>       all applications/components it can find.
>
> To start with a OFBiz implementation you can work with, but doesn't have
> the demo data of the OFBiz project, you will need to:
>
>    - use a different load command with one or more parameters,
>    - potentially move data from a DemoData.xml file to a SeedData.xml file
>
> See this related issue: https://issues.apache.org/jira/browse/OFBIZ-8229
>
> Best regards,
>
> Pierre Smits
>
> ORRTIZ.COM <http://www.orrtiz.com>
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com> wrote:
>
> > ./gradlew cleanAll loadDefault will load some test data. Or is that
> wrong?
> > I'm only thinking so because I saw things in the PRODUCTS table besides
> the
> > item I started creating.
> >
> > Dropping the databases, running and firing OFBiz up again seems to have
> > rebuilt the databases (I thought I'd read somewhere that they'd get
> rebuilt
> > like that), but there's no data. This was the desired effect, but I can't
> > launch the software now. I can post the whole error, or just say that I
> see
> > a lot of "Template location is empty" messages.
> >
> > Is that the right way to start with a clean slate and I missed a step, or
> > is that totally wrong?
> >
>

Re: Clean Slate

Posted by Pierre Smits <pi...@gmail.com>.
Hi Craig,

You're not complete correct. The ./gradlew cleanAll loadDefault will

   - through the 'cleanAll' command:
      - delete jars, logs, the derby rdbms, Lucene indexes, etc
   - through the 'loadDefault' command:
      - load *all* datasets (seed, seed-extension and all demo data, from
      all applications/components it can find.

To start with a OFBiz implementation you can work with, but doesn't have
the demo data of the OFBiz project, you will need to:

   - use a different load command with one or more parameters,
   - potentially move data from a DemoData.xml file to a SeedData.xml file

See this related issue: https://issues.apache.org/jira/browse/OFBIZ-8229

Best regards,

Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <cr...@fossfolks.com> wrote:

> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
> I'm only thinking so because I saw things in the PRODUCTS table besides the
> item I started creating.
>
> Dropping the databases, running and firing OFBiz up again seems to have
> rebuilt the databases (I thought I'd read somewhere that they'd get rebuilt
> like that), but there's no data. This was the desired effect, but I can't
> launch the software now. I can post the whole error, or just say that I see
> a lot of "Template location is empty" messages.
>
> Is that the right way to start with a clean slate and I missed a step, or
> is that totally wrong?
>

Clean Slate

Posted by Craig Parker <cr...@fossfolks.com>.
./gradlew cleanAll loadDefault will load some test data. Or is that 
wrong? I'm only thinking so because I saw things in the PRODUCTS table 
besides the item I started creating.

Dropping the databases, running and firing OFBiz up again seems to have 
rebuilt the databases (I thought I'd read somewhere that they'd get 
rebuilt like that), but there's no data. This was the desired effect, 
but I can't launch the software now. I can post the whole error, or just 
say that I see a lot of "Template location is empty" messages.

Is that the right way to start with a clean slate and I missed a step, 
or is that totally wrong?

Re: Starting OfBiz at boot

Posted by Craig Parker <cr...@fossfolks.com>.
I'm not sure what I was using in May. Other that some stuff at the end 
(and I forgot to make new notes) my rundown worked a couple weeks to get 
13.07.03 up and going on my laptop. 16.11.01 on that same laptop though, 
no love.

I'm on Mint (Ubuntu, essentially) but used the Debian stuff for the 
13.x.x installs. Tried both Ubuntu and Debian on the 16.

I thought I'd have this weekend to play with it. Maybe next weekend. I 
want to start on a fresh box.


On 12/02/2016 03:41 AM, Jacques Le Roux wrote:
> Craig,
>
> Could you tell us what you used in May (OFBiz version, scripts 
> changes, etc.)
>
> This is order to amend 
> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
> if needed (I guess it's needed ;))
>
> Thanks
>
> Jacques
>
>
> Le 02/12/2016 � 04:34, Craig Parker a �crit :
>> I got this going finally back in May, but downloaded 16 tonight and 
>> can't fire it up. Here's how I got there a few months back...
>>
>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>
>>
>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>> I've been following along on this site:
>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
>>>
>>>
>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't 
>>> fire up at boot. Before I edited /etc/init.d/ofbiz, there was a line 
>>> that said "OFBIZ_USER=ofbiz" When I tried, as root to run 
>>> /etc/init.d/ofbiz start, I'd get an error:
>>> Starting OFBiz: failure
>>>
>>> Only users root or ofbiz should start/stop the application
>>>
>>> Like I said, I can start it now manually as root, but it won't fire 
>>> up as boot. In /var/log/boot.log, I see that same error, except now 
>>> it says "...Only users root or root..."
>>>
>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the 
>>> default built in database at the moment.
>>
>>
>


Re: Starting OfBiz at boot

Posted by Michael Brohl <mi...@ecomify.de>.
Sorry for hijacking this thread, I will open a new thread in the dev 
list for this.

Please do not answer here for the documentation topic.

Regards,

Michael

Am 02.12.16 um 11:00 schrieb Michael Brohl:
> We should indeed have an additional Wiki page where the deployment, 
> running and hosting informations for releases 16.x + are documented.
>
> Which brings me to an idea: we should see if we can reorganise the 
> documentation to have an entry point by release/version so that all 
> informations are consistent within a release. We may have other 
> impacting changes in the project and we should enable users to easily 
> find all informations.
>
> That would be a good start for contributors who want to contribute 
> apart from code.
>
> Regards,
>
> Michael
>
>
> Am 02.12.16 um 09:41 schrieb Jacques Le Roux:
>> Craig,
>>
>> Could you tell us what you used in May (OFBiz version, scripts 
>> changes, etc.)
>>
>> This is order to amend 
>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
>> if needed (I guess it's needed ;))
>>
>> Thanks
>>
>> Jacques
>>
>>
>> Le 02/12/2016 à 04:34, Craig Parker a écrit :
>>> I got this going finally back in May, but downloaded 16 tonight and 
>>> can't fire it up. Here's how I got there a few months back...
>>>
>>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>>
>>>
>>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>>> I've been following along on this site:
>>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
>>>>
>>>>
>>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't 
>>>> fire up at boot. Before I edited /etc/init.d/ofbiz, there was a 
>>>> line that said "OFBIZ_USER=ofbiz" When I tried, as root to run 
>>>> /etc/init.d/ofbiz start, I'd get an error:
>>>> Starting OFBiz: failure
>>>>
>>>> Only users root or ofbiz should start/stop the application
>>>>
>>>> Like I said, I can start it now manually as root, but it won't fire 
>>>> up as boot. In /var/log/boot.log, I see that same error, except now 
>>>> it says "...Only users root or root..."
>>>>
>>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the 
>>>> default built in database at the moment.
>>>
>>>
>>
>
>



Re: Starting OfBiz at boot

Posted by Michael Brohl <mi...@ecomify.de>.
We should indeed have an additional Wiki page where the deployment, 
running and hosting informations for releases 16.x + are documented.

Which brings me to an idea: we should see if we can reorganise the 
documentation to have an entry point by release/version so that all 
informations are consistent within a release. We may have other 
impacting changes in the project and we should enable users to easily 
find all informations.

That would be a good start for contributors who want to contribute apart 
from code.

Regards,

Michael


Am 02.12.16 um 09:41 schrieb Jacques Le Roux:
> Craig,
>
> Could you tell us what you used in May (OFBiz version, scripts 
> changes, etc.)
>
> This is order to amend 
> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
> if needed (I guess it's needed ;))
>
> Thanks
>
> Jacques
>
>
> Le 02/12/2016 à 04:34, Craig Parker a écrit :
>> I got this going finally back in May, but downloaded 16 tonight and 
>> can't fire it up. Here's how I got there a few months back...
>>
>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>
>>
>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>> I've been following along on this site:
>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
>>>
>>>
>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't 
>>> fire up at boot. Before I edited /etc/init.d/ofbiz, there was a line 
>>> that said "OFBIZ_USER=ofbiz" When I tried, as root to run 
>>> /etc/init.d/ofbiz start, I'd get an error:
>>> Starting OFBiz: failure
>>>
>>> Only users root or ofbiz should start/stop the application
>>>
>>> Like I said, I can start it now manually as root, but it won't fire 
>>> up as boot. In /var/log/boot.log, I see that same error, except now 
>>> it says "...Only users root or root..."
>>>
>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the 
>>> default built in database at the moment.
>>
>>
>



Re: Release specific documentation, was: Starting OfBiz at boot in the user list

Posted by Pranay Pandey <pr...@hotwaxsystems.com>.
+1 Micheal, that sounds like a good idea to me.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/

On Fri, Dec 2, 2016 at 3:40 PM, Michael Brohl <mi...@ecomify.de>
wrote:

> Hi Jacques,
>
> We should indeed have an additional Wiki page where the deployment,
> running and hosting informations for releases 16.x + are documented.
>
> Which brings me to an idea: we should see if we can reorganise the
> documentation to have an entry point by release/version so that all
> informations are consistent within a release. We may have other impacting
> changes in the project and we should enable users to easily find all
> informations.
>
> That would be a good start for contributors who want to contribute apart
> from code.
>
> An example would be: http://camel.apache.org/manual.html
> Regards,
>
> Michael
>
> Am 02.12.16 um 09:41 schrieb Jacques Le Roux:
>
>> Craig,
>>
>> Could you tell us what you used in May (OFBiz version, scripts changes,
>> etc.)
>>
>> This is order to amend https://cwiki.apache.org/confl
>> uence/display/OFBIZ/How+to+run+OFBiz+as+a+Service if needed (I guess
>> it's needed ;))
>>
>> Thanks
>>
>> Jacques
>>
>>
>> Le 02/12/2016 à 04:34, Craig Parker a écrit :
>>
>>> I got this going finally back in May, but downloaded 16 tonight and
>>> can't fire it up. Here's how I got there a few months back...
>>>
>>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>>
>>>
>>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>>
>>>> I've been following along on this site:
>>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+
>>>> run+OFBiz+as+a+Service
>>>>
>>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't fire
>>>> up at boot. Before I edited /etc/init.d/ofbiz, there was a line that said
>>>> "OFBIZ_USER=ofbiz" When I tried, as root to run /etc/init.d/ofbiz start,
>>>> I'd get an error:
>>>> Starting OFBiz: failure
>>>>
>>>> Only users root or ofbiz should start/stop the application
>>>>
>>>> Like I said, I can start it now manually as root, but it won't fire up
>>>> as boot. In /var/log/boot.log, I see that same error, except now it says
>>>> "...Only users root or root..."
>>>>
>>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the default
>>>> built in database at the moment.
>>>>
>>>
>>>
>>>
>>
>
>

Re: Release specific documentation, was: Starting OfBiz at boot in the user list

Posted by Pierre Smits <pi...@gmail.com>.
Great initiative, Michael,

Looking forward to seeing the end result.

Best regards,

Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Fri, Dec 2, 2016 at 11:10 AM, Michael Brohl <mi...@ecomify.de>
wrote:

> Hi Jacques,
>
> We should indeed have an additional Wiki page where the deployment,
> running and hosting informations for releases 16.x + are documented.
>
> Which brings me to an idea: we should see if we can reorganise the
> documentation to have an entry point by release/version so that all
> informations are consistent within a release. We may have other impacting
> changes in the project and we should enable users to easily find all
> informations.
>
> That would be a good start for contributors who want to contribute apart
> from code.
>
> An example would be: http://camel.apache.org/manual.html
> Regards,
>
> Michael
>
> Am 02.12.16 um 09:41 schrieb Jacques Le Roux:
>
>> Craig,
>>
>> Could you tell us what you used in May (OFBiz version, scripts changes,
>> etc.)
>>
>> This is order to amend https://cwiki.apache.org/confl
>> uence/display/OFBIZ/How+to+run+OFBiz+as+a+Service if needed (I guess
>> it's needed ;))
>>
>> Thanks
>>
>> Jacques
>>
>>
>> Le 02/12/2016 à 04:34, Craig Parker a écrit :
>>
>>> I got this going finally back in May, but downloaded 16 tonight and
>>> can't fire it up. Here's how I got there a few months back...
>>>
>>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>>
>>>
>>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>>
>>>> I've been following along on this site:
>>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+
>>>> run+OFBiz+as+a+Service
>>>>
>>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't fire
>>>> up at boot. Before I edited /etc/init.d/ofbiz, there was a line that said
>>>> "OFBIZ_USER=ofbiz" When I tried, as root to run /etc/init.d/ofbiz start,
>>>> I'd get an error:
>>>> Starting OFBiz: failure
>>>>
>>>> Only users root or ofbiz should start/stop the application
>>>>
>>>> Like I said, I can start it now manually as root, but it won't fire up
>>>> as boot. In /var/log/boot.log, I see that same error, except now it says
>>>> "...Only users root or root..."
>>>>
>>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the default
>>>> built in database at the moment.
>>>>
>>>
>>>
>>>
>>
>
>

Re: Release specific documentation, was: Starting OfBiz at boot in the user list

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Michael,

Sorry missed this until now.

Yes that would be marvellous and I can help.

As you know I started something for Ant to Gradle changes, but not of this proposed scope.

Jacques


Le 02/12/2016 � 11:10, Michael Brohl a �crit :
> Hi Jacques,
>
> We should indeed have an additional Wiki page where the deployment, running and hosting informations for releases 16.x + are documented.
>
> Which brings me to an idea: we should see if we can reorganise the documentation to have an entry point by release/version so that all informations 
> are consistent within a release. We may have other impacting changes in the project and we should enable users to easily find all informations.
>
> That would be a good start for contributors who want to contribute apart from code.
>
> An example would be: http://camel.apache.org/manual.html
> Regards,
>
> Michael
>
> Am 02.12.16 um 09:41 schrieb Jacques Le Roux:
>> Craig,
>>
>> Could you tell us what you used in May (OFBiz version, scripts changes, etc.)
>>
>> This is order to amend https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service if needed (I guess it's needed ;))
>>
>> Thanks
>>
>> Jacques
>>
>>
>> Le 02/12/2016 � 04:34, Craig Parker a �crit :
>>> I got this going finally back in May, but downloaded 16 tonight and can't fire it up. Here's how I got there a few months back...
>>>
>>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>>
>>>
>>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>>> I've been following along on this site:
>>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service
>>>>
>>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't fire up at boot. Before I edited /etc/init.d/ofbiz, there was a line that said 
>>>> "OFBIZ_USER=ofbiz" When I tried, as root to run /etc/init.d/ofbiz start, I'd get an error:
>>>> Starting OFBiz: failure
>>>>
>>>> Only users root or ofbiz should start/stop the application
>>>>
>>>> Like I said, I can start it now manually as root, but it won't fire up as boot. In /var/log/boot.log, I see that same error, except now it says 
>>>> "...Only users root or root..."
>>>>
>>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the default built in database at the moment.
>>>
>>>
>>
>
>


Release specific documentation, was: Starting OfBiz at boot in the user list

Posted by Michael Brohl <mi...@ecomify.de>.
Hi Jacques,

We should indeed have an additional Wiki page where the deployment, 
running and hosting informations for releases 16.x + are documented.

Which brings me to an idea: we should see if we can reorganise the 
documentation to have an entry point by release/version so that all 
informations are consistent within a release. We may have other 
impacting changes in the project and we should enable users to easily 
find all informations.

That would be a good start for contributors who want to contribute apart 
from code.

An example would be: http://camel.apache.org/manual.html
Regards,

Michael

Am 02.12.16 um 09:41 schrieb Jacques Le Roux:
> Craig,
>
> Could you tell us what you used in May (OFBiz version, scripts 
> changes, etc.)
>
> This is order to amend 
> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
> if needed (I guess it's needed ;))
>
> Thanks
>
> Jacques
>
>
> Le 02/12/2016 à 04:34, Craig Parker a écrit :
>> I got this going finally back in May, but downloaded 16 tonight and 
>> can't fire it up. Here's how I got there a few months back...
>>
>> http://65.175.244.105:31415/ofbizdocs/?p=352
>>
>>
>> On 05/03/2016 09:43 PM, Craig Parker wrote:
>>> I've been following along on this site:
>>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service 
>>>
>>>
>>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't 
>>> fire up at boot. Before I edited /etc/init.d/ofbiz, there was a line 
>>> that said "OFBIZ_USER=ofbiz" When I tried, as root to run 
>>> /etc/init.d/ofbiz start, I'd get an error:
>>> Starting OFBiz: failure
>>>
>>> Only users root or ofbiz should start/stop the application
>>>
>>> Like I said, I can start it now manually as root, but it won't fire 
>>> up as boot. In /var/log/boot.log, I see that same error, except now 
>>> it says "...Only users root or root..."
>>>
>>> What'd I miss? I'm running Ubuntu Server 14.04 just using the 
>>> default built in database at the moment.
>>
>>
>



Re: Starting OfBiz at boot

Posted by Jacques Le Roux <ja...@les7arts.com>.
Craig,

Could you tell us what you used in May (OFBiz version, scripts changes, etc.)

This is order to amend https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service if needed (I guess it's needed ;))

Thanks

Jacques


Le 02/12/2016 � 04:34, Craig Parker a �crit :
> I got this going finally back in May, but downloaded 16 tonight and can't fire it up. Here's how I got there a few months back...
>
> http://65.175.244.105:31415/ofbizdocs/?p=352
>
>
> On 05/03/2016 09:43 PM, Craig Parker wrote:
>> I've been following along on this site:
>> https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service
>>
>> and can /etc/init.t/ofbiz start/stop/restart as root, but it won't fire up at boot. Before I edited /etc/init.d/ofbiz, there was a line that said 
>> "OFBIZ_USER=ofbiz" When I tried, as root to run /etc/init.d/ofbiz start, I'd get an error:
>> Starting OFBiz: failure
>>
>> Only users root or ofbiz should start/stop the application
>>
>> Like I said, I can start it now manually as root, but it won't fire up as boot. In /var/log/boot.log, I see that same error, except now it says 
>> "...Only users root or root..."
>>
>> What'd I miss? I'm running Ubuntu Server 14.04 just using the default built in database at the moment.
>
>