RE: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Ted Byers

 -Original Message-
 From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
 Sent: July-29-12 9:06 PM
 To: user@ofbiz.apache.org
 Subject: Re: Still getting started but question about 'startofbiz.sh'
 
 It sounds to me like you have everything working properly.
 
 -Adrian
 

Thanks Adrian.

So this 'startofbiz.sh' is supposed to run forever?  Is there a way to start
ofbiz like a server, instead of creating a bash shell session and leaving
that terminal open all the time ofbiz is to run?

Thanks

Ted



RE: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Gil Portenseigne
Hi,

Just do :

sh startofbiz.sh  

Then you can exit the terminal.

To stop, use the stopofbiz.sh script.

Gil


Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :

  -Original Message-
  From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
  Sent: July-29-12 9:06 PM
  To: user@ofbiz.apache.org
  Subject: Re: Still getting started but question about 'startofbiz.sh'
  
  It sounds to me like you have everything working properly.
  
  -Adrian
  
 
 Thanks Adrian.
 
 So this 'startofbiz.sh' is supposed to run forever?  Is there a way to start
 ofbiz like a server, instead of creating a bash shell session and leaving
 that terminal open all the time ofbiz is to run?
 
 Thanks
 
 Ted
 


-- 
Gil Portenseigne gil.portensei...@nereide.fr


RE: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Ted Byers
 -Original Message-
 From: Gil Portenseigne [mailto:gil.portensei...@nereide.fr]
 Sent: July-30-12 8:28 AM
 To: user@ofbiz.apache.org
 Subject: RE: Still getting started but question about 'startofbiz.sh'
 
 Hi,
 
 Just do :
 
 sh startofbiz.sh  
 
 Then you can exit the terminal.
 
 To stop, use the stopofbiz.sh script.
 
Thanks  Gil

Cheers

Ted



Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Jacques Le Roux

rather
./sh startofbiz.sh  
though

You  may also have a look at rc.ofbiz* files (in tools folder for trunk and 
R12.04, else in root folder)

Jacques

From: Gil Portenseigne gil.portensei...@nereide.fr

Hi,

Just do :

sh startofbiz.sh  

Then you can exit the terminal.

To stop, use the stopofbiz.sh script.

Gil


Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :


 -Original Message-
 From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
 Sent: July-29-12 9:06 PM
 To: user@ofbiz.apache.org
 Subject: Re: Still getting started but question about 'startofbiz.sh'

 It sounds to me like you have everything working properly.

 -Adrian


Thanks Adrian.

So this 'startofbiz.sh' is supposed to run forever?  Is there a way to start
ofbiz like a server, instead of creating a bash shell session and leaving
that terminal open all the time ofbiz is to run?

Thanks

Ted




--
Gil Portenseigne gil.portensei...@nereide.fr



RE: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Ted Byers
 -Original Message-
 From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com]
 Sent: July-30-12 9:18 AM
 To: user@ofbiz.apache.org
 Subject: Re: Still getting started but question about 'startofbiz.sh'
 
 rather
 ./sh startofbiz.sh  
 though
 
 You  may also have a look at rc.ofbiz* files (in tools folder for trunk and 
 R12.04,
 else in root folder)
 
 Jacques
 
Thanks Jacques

I will.

Cheers

Ted



Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Gil Portenseigne
Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :

 rather
 ./sh startofbiz.sh  
 though

Did you mean ./startofbiz.sh ? I do not understand the ./sh
thing...  :-)

gil


 
 You  may also have a look at rc.ofbiz* files (in tools folder for trunk and 
 R12.04, else in root folder)
 
 Jacques
 
 From: Gil Portenseigne gil.portensei...@nereide.fr
  Hi,
 
  Just do :
 
  sh startofbiz.sh  
 
  Then you can exit the terminal.
 
  To stop, use the stopofbiz.sh script.
 
  Gil
 
 
  Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :
 
   -Original Message-
   From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
   Sent: July-29-12 9:06 PM
   To: user@ofbiz.apache.org
   Subject: Re: Still getting started but question about 'startofbiz.sh'
  
   It sounds to me like you have everything working properly.
  
   -Adrian
  
 
  Thanks Adrian.
 
  So this 'startofbiz.sh' is supposed to run forever?  Is there a way to 
  start
  ofbiz like a server, instead of creating a bash shell session and leaving
  that terminal open all the time ofbiz is to run?
 
  Thanks
 
  Ted
 
 
 
  -- 
  Gil Portenseigne gil.portensei...@nereide.fr
  


-- 
Gil Portenseigne gil.portensei...@nereide.fr


Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Jacques Le Roux

From: Gil Portenseigne gil.portensei...@nereide.fr

Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :


rather
./sh startofbiz.sh  
though


Did you mean ./startofbiz.sh ? I do not understand the ./sh
thing...  :-)


Right Gil, I meant of course:
sh ./startofbiz.sh  
Sorry for the typo ;o)

But anyway using rc.ofbiz* files in this case seems a better way to me (if you 
want automatic restart, which is a moot point)

Jacques


gil




You  may also have a look at rc.ofbiz* files (in tools folder for trunk and 
R12.04, else in root folder)

Jacques

From: Gil Portenseigne gil.portensei...@nereide.fr
 Hi,

 Just do :

 sh startofbiz.sh  

 Then you can exit the terminal.

 To stop, use the stopofbiz.sh script.

 Gil


 Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :

  -Original Message-
  From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
  Sent: July-29-12 9:06 PM
  To: user@ofbiz.apache.org
  Subject: Re: Still getting started but question about 'startofbiz.sh'
 
  It sounds to me like you have everything working properly.
 
  -Adrian
 

 Thanks Adrian.

 So this 'startofbiz.sh' is supposed to run forever?  Is there a way to start
 ofbiz like a server, instead of creating a bash shell session and leaving
 that terminal open all the time ofbiz is to run?

 Thanks

 Ted



 -- 
 Gil Portenseigne gil.portensei...@nereide.fr





--
Gil Portenseigne gil.portensei...@nereide.fr



Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Carsten Schinzer
Gil,

go get some Linux basics for Server operations.

./sh will invoke a separate shell (runtime environment) for your ofbiz
instance
 will send it to background processing

Make sure, you have your logfiles under control before you start hiding
things from a console.
Basically you should keep
+ a running logfile that rolls over every day (or every x MBs), keep a
series of them -- see the log4.xml configuration for this one
+ a session logfile, typically this is available at
{OFBIZ_HOME}/runtim/logs/console.log

In order to read and follow these while your ofbiz instance runs, you will
need to familiarize with one of vi, cat, tail.

@Jacques: Looks like these are some Run OFBiz in *ix environments Faq do
we not have a basic cheat sheet in the wiki?

Regards


Carsten


2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr

 Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :

  rather
  ./sh startofbiz.sh  
  though

 Did you mean ./startofbiz.sh ? I do not understand the ./sh
 thing...  :-)

 gil


 
  You  may also have a look at rc.ofbiz* files (in tools folder for trunk
 and R12.04, else in root folder)
 
  Jacques
 
  From: Gil Portenseigne gil.portensei...@nereide.fr
   Hi,
  
   Just do :
  
   sh startofbiz.sh  
  
   Then you can exit the terminal.
  
   To stop, use the stopofbiz.sh script.
  
   Gil
  
  
   Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :
  
-Original Message-
From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
Sent: July-29-12 9:06 PM
To: user@ofbiz.apache.org
Subject: Re: Still getting started but question about
 'startofbiz.sh'
   
It sounds to me like you have everything working properly.
   
-Adrian
   
  
   Thanks Adrian.
  
   So this 'startofbiz.sh' is supposed to run forever?  Is there a way
 to start
   ofbiz like a server, instead of creating a bash shell session and
 leaving
   that terminal open all the time ofbiz is to run?
  
   Thanks
  
   Ted
  
  
  
   --
   Gil Portenseigne gil.portensei...@nereide.fr
  


 --
 Gil Portenseigne gil.portensei...@nereide.fr



Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Gil Portenseigne
Hi

Le lundi 30 juillet 2012 à 16:46 +0200, Carsten Schinzer a écrit :

 Gil,
 
 go get some Linux basics for Server operations.
 
 ./sh will invoke a separate shell (runtime environment) for your ofbiz
 instance

I do not agree with that, it will try to launch a script called sh in
current directory...

  will send it to background processing

agree, that was my advice ;)

 
 Make sure, you have your logfiles under control before you start hiding
 things from a console.

+1, for that uncomment/comment the last lines of startofbiz.sh (or bat
under windows) scripts...

 Basically you should keep
 + a running logfile that rolls over every day (or every x MBs), keep a
 series of them -- see the log4.xml configuration for this one
 + a session logfile, typically this is available at
 {OFBIZ_HOME}/runtim/logs/console.log
 
 In order to read and follow these while your ofbiz instance runs, you will
 need to familiarize with one of vi, cat, tail.
 

I'm fully familiarized with all of these tools ;) !

Regards

Gil


 @Jacques: Looks like these are some Run OFBiz in *ix environments Faq do
 we not have a basic cheat sheet in the wiki?
 
 Regards
 
 
 Carsten
 
 
 2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr
 
  Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :
 
   rather
   ./sh startofbiz.sh  
   though
 
  Did you mean ./startofbiz.sh ? I do not understand the ./sh
  thing...  :-)
 
  gil
 
 
  
   You  may also have a look at rc.ofbiz* files (in tools folder for trunk
  and R12.04, else in root folder)
  
   Jacques
  
   From: Gil Portenseigne gil.portensei...@nereide.fr
Hi,
   
Just do :
   
sh startofbiz.sh  
   
Then you can exit the terminal.
   
To stop, use the stopofbiz.sh script.
   
Gil
   
   
Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :
   
 -Original Message-
 From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
 Sent: July-29-12 9:06 PM
 To: user@ofbiz.apache.org
 Subject: Re: Still getting started but question about
  'startofbiz.sh'

 It sounds to me like you have everything working properly.

 -Adrian

   
Thanks Adrian.
   
So this 'startofbiz.sh' is supposed to run forever?  Is there a way
  to start
ofbiz like a server, instead of creating a bash shell session and
  leaving
that terminal open all the time ofbiz is to run?
   
Thanks
   
Ted
   
   
   
--
Gil Portenseigne gil.portensei...@nereide.fr
   
 
 
  --
  Gil Portenseigne gil.portensei...@nereide.fr
 


-- 
Gil Portenseigne gil.portensei...@nereide.fr


Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Jacques Le Roux

Carsten Schinzer wrote:

Gil,

go get some Linux basics for Server operations.

./sh will invoke a separate shell (runtime environment) for your ofbiz
instance
 will send it to background processing

Make sure, you have your logfiles under control before you start hiding
things from a console.
Basically you should keep
+ a running logfile that rolls over every day (or every x MBs), keep a
series of them -- see the log4.xml configuration for this one
+ a session logfile, typically this is available at
{OFBIZ_HOME}/runtim/logs/console.log

In order to read and follow these while your ofbiz instance runs, you will
need to familiarize with one of vi, cat, tail.

@Jacques: Looks like these are some Run OFBiz in *ix environments Faq do
we not have a basic cheat sheet in the wiki?


I guess you think about 
https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service

Jacques


Regards


Carsten


2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr


Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :


rather
./sh startofbiz.sh  
though


Did you mean ./startofbiz.sh ? I do not understand the ./sh
thing...  :-)

gil




You  may also have a look at rc.ofbiz* files (in tools folder for trunk

and R12.04, else in root folder)


Jacques

From: Gil Portenseigne gil.portensei...@nereide.fr

Hi,

Just do :

sh startofbiz.sh  

Then you can exit the terminal.

To stop, use the stopofbiz.sh script.

Gil


Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :


-Original Message-
From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
Sent: July-29-12 9:06 PM
To: user@ofbiz.apache.org
Subject: Re: Still getting started but question about 'startofbiz.sh'

It sounds to me like you have everything working properly.

-Adrian



Thanks Adrian.

So this 'startofbiz.sh' is supposed to run forever?  Is there a way to start
ofbiz like a server, instead of creating a bash shell session and leaving
that terminal open all the time ofbiz is to run?

Thanks

Ted




--
Gil Portenseigne gil.portensei...@nereide.fr




--
Gil Portenseigne gil.portensei...@nereide.fr 


Re: Still getting started but question about 'startofbiz.sh'

2012-07-30 Thread Carsten Schinzer
Apologies for this one.
You are of course right with ./sh
And my mail was damn arrogant.
Blame on me.

I will check the link Jacques sent over.

2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr

 Hi

 Le lundi 30 juillet 2012 à 16:46 +0200, Carsten Schinzer a écrit :

  Gil,
 
  go get some Linux basics for Server operations.
 
  ./sh will invoke a separate shell (runtime environment) for your ofbiz
  instance

 I do not agree with that, it will try to launch a script called sh in
 current directory...

   will send it to background processing

 agree, that was my advice ;)

 
  Make sure, you have your logfiles under control before you start hiding
  things from a console.

 +1, for that uncomment/comment the last lines of startofbiz.sh (or bat
 under windows) scripts...

  Basically you should keep
  + a running logfile that rolls over every day (or every x MBs), keep a
  series of them -- see the log4.xml configuration for this one
  + a session logfile, typically this is available at
  {OFBIZ_HOME}/runtim/logs/console.log
 
  In order to read and follow these while your ofbiz instance runs, you
 will
  need to familiarize with one of vi, cat, tail.
 

 I'm fully familiarized with all of these tools ;) !

 Regards

 Gil


  @Jacques: Looks like these are some Run OFBiz in *ix environments Faq
 do
  we not have a basic cheat sheet in the wiki?
 
  Regards
 
 
  Carsten
 
 
  2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr
 
   Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :
  
rather
./sh startofbiz.sh  
though
  
   Did you mean ./startofbiz.sh ? I do not understand the ./sh
   thing...  :-)
  
   gil
  
  
   
You  may also have a look at rc.ofbiz* files (in tools folder for
 trunk
   and R12.04, else in root folder)
   
Jacques
   
From: Gil Portenseigne gil.portensei...@nereide.fr
 Hi,

 Just do :

 sh startofbiz.sh  

 Then you can exit the terminal.

 To stop, use the stopofbiz.sh script.

 Gil


 Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit :

  -Original Message-
  From: Adrian Crum [mailto:adrian.c...@sandglass-software.com]
  Sent: July-29-12 9:06 PM
  To: user@ofbiz.apache.org
  Subject: Re: Still getting started but question about
   'startofbiz.sh'
 
  It sounds to me like you have everything working properly.
 
  -Adrian
 

 Thanks Adrian.

 So this 'startofbiz.sh' is supposed to run forever?  Is there a
 way
   to start
 ofbiz like a server, instead of creating a bash shell session and
   leaving
 that terminal open all the time ofbiz is to run?

 Thanks

 Ted



 --
 Gil Portenseigne gil.portensei...@nereide.fr

  
  
   --
   Gil Portenseigne gil.portensei...@nereide.fr
  


 --
 Gil Portenseigne gil.portensei...@nereide.fr



Still getting started but question about 'startofbiz.sh'

2012-07-29 Thread Ted Byers
Well, following stripped down instructions provided by Jason Gilmore on
searchenterpriselinux.techtarget.com a little over a year ago,  I downloaded
OFBiz (from trunk using svn) and installed it on two virtual machines
running Suse Linux (v 12.1): one using KDE and one using Gnome, if that
matters.

The build process went smoothly, and took over half an hour on Suse+KDE, but
only 17 minutes on Suse+Gnome (I can't explain why and both VMs are running
on the same machine).

But on each, I started it, after the build, using ./startofbiz.sh', and the
program seems to never end (at least it never terminates and gets me back to
the command prompt).  Is it supposed to do that (i.e. go into a do-forever
loop), or did something go awry without generating any error messages.  I
would have thought that it would have started OFBiz much like the sh scripts
for Apache's httpd server just start the server and terminate; but that's
not what happened.  This holds for both virtual machines.

If I open a browser and go to
'http://localhost:8080/ecommerce/control/main', I do get the demo store, and
that seems to work OK, although I have barely begun to explore it. 

Thanks

Ted



Re: Still getting started but question about 'startofbiz.sh'

2012-07-29 Thread Adrian Crum

It sounds to me like you have everything working properly.

-Adrian

On 7/29/2012 4:41 PM, Ted Byers wrote:

Well, following stripped down instructions provided by Jason Gilmore on
searchenterpriselinux.techtarget.com a little over a year ago,  I downloaded
OFBiz (from trunk using svn) and installed it on two virtual machines
running Suse Linux (v 12.1): one using KDE and one using Gnome, if that
matters.

The build process went smoothly, and took over half an hour on Suse+KDE, but
only 17 minutes on Suse+Gnome (I can't explain why and both VMs are running
on the same machine).

But on each, I started it, after the build, using ./startofbiz.sh', and the
program seems to never end (at least it never terminates and gets me back to
the command prompt).  Is it supposed to do that (i.e. go into a do-forever
loop), or did something go awry without generating any error messages.  I
would have thought that it would have started OFBiz much like the sh scripts
for Apache's httpd server just start the server and terminate; but that's
not what happened.  This holds for both virtual machines.

If I open a browser and go to
'http://localhost:8080/ecommerce/control/main', I do get the demo store, and
that seems to work OK, although I have barely begun to explore it.

Thanks

Ted