Hi Bruno,

Yes right, I forgot #. /etc/sysconfig/network
I have added one more comment.

I did not cross any problem with if [ "$UID" = "0" ]; then
since I'm using my own login. But I will comment this change too

Thanks

Jacques

From: "Bruno Busco" <[EMAIL PROTECTED]>
Those are the changes I did to rc.ofbiz to make it work on ubuntu:

1) comment the two lines:
# . /etc/rc.d/init.d/functions
#. /etc/sysconfig/network

2) change
OFBIZ_LOG=$OFBIZ_HOME/logs/console.log
to
OFBIZ_LOG=$OFBIZ_HOME/runtime/logs/console.log

3) change
echo_failure
to
echo failure

4) change echo_success
to
echo success

5) change
if [ "$UID" = "0" ]; then
to
if [ "$USER" = "root" ]; then


-Bruno


2008/6/20 Jacques Le Roux <[EMAIL PROTECTED]>:

Bruno,

I had a second look. You were right. I remember now : on Ubuntu, I tried to
replace /etc/rc.d/init.d/functions by /lib/lsb/init-functions but noway.
Then I simply replaced echo_failure by echo failure, same for success.
I just commited a comment about that but it's a very minor issue anyway
(just not showing gracefully on screen, not blocking anything).
I also replaced
OFBIZ_LOG=$OFBIZ_HOME/logs/console.log
by
OFBIZ_LOG=$OFBIZ_HOME/runtime/logs/console.log

Do you see anything else ?

Thanks

Jacques

From: "Jacques Le Roux" <[EMAIL PROTECTED]>

 It works well and is supposed to be adapted (some comments in file help),
hey this is Linux world... ;o)

Jacques

From: "Bruno Busco" <[EMAIL PROTECTED]>

+1

About the rc.ofbiz, is it working?
If I well remember I had to do some changes to use it with ubuntu...
I think the files:

# Source function library
. /etc/rc.d/init.d/functions
# Source networking configuration
. /etc/sysconfig/network

were missing, but may be I need to double check...

-Bruno

2008/6/19 Sumit Pandit <[EMAIL PROTECTED]>:

 +1.


On Jun 19, 2008, at 4:46 PM, Jacques Le Roux wrote:

 There is also the rc.ofbiz file. I think that today -Xms256M -Xmx512M
is

OK : +1

Jacques

From: "Jacopo Cappellato" <[EMAIL PROTECTED]>

 I have just noticed that the JVM memory settings in the startofbiz.bat
 script are:
-Xms256M -Xmx512M
while in the startofbiz.sh script are:
-Xms128M -Xmx256M
In the ant "run" task the memory setting is also different:
<property name="memory.max.param" value="-Xmx384M"/>
Should we unify the above settings?  We may use:
-Xms128M -Xmx512M
for all.
What do you think?
Jacopo








Reply via email to