does anyone have one of these... the wiki has a very much out dated init.d
script and im trying to make my own but im having issues
I guess you are referring to this page
https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service
Look for rc.* files in your working copy
HTH
Jacques
Le 13/04/2015 12:29, Chris Clark a écrit :
does anyone have one of these... the wiki has a very much out dated init.d
scr
right but rc.d files are extinct everything uses what is called systemd to
boot up services as daemons now
http://www.tecmint.com/systemd-replaces-init-in-linux/
this is another "architecture" for the daemonization process, it does not
rely on bash scripts with all kinds of various thing defined
maybe you can help me... the new architecture requires an absolute path for
the executable which is fine, but the java command
/ofbiz/ofbiz.13.07/java -Xms768M -Xmx1024M -Duser.language=en >
/ofbiz/log/messages 2>>/ofbiz/ofbiz.13.07/runtime/logs/console.log
wont work because the absolute path to
Have you defined JAVA_HOME to match where Java is found?
Ron
On 13/04/2015 11:04 AM, Chris Clark wrote:
maybe you can help me... the new architecture requires an absolute path for
the executable which is fine, but the java command
/ofbiz/ofbiz.13.07/java -Xms768M -Xmx1024M -Duser.language=en >
this is part and parcel of why systemd is now the standard... you dont have
to define things like that in systemd services... because the services are
executed with full access to system things like environment variables...
i mean i can try to cut and copy all the enviornment variables from the
rc
ahhh i was forgetting the -jar ofbiz.jar in the command line execution
through the above mentioned command...
i will post results
On Mon, Apr 13, 2015 at 11:11 AM, Chris Clark wrote:
> this is part and parcel of why systemd is now the standard... you dont
> have to define things like that in s
so this is where i am at... i created a sym link inside the ofbiz
directory to the java executable thereby having the process ran from the
ofbiz home directory
this i what my ofbiz.service file looks like... and yes they seem to
usually be this simple, but can be as complicated as you want
--
You need to create a REAL script that fires up ofbiz, setting JAVA_HOME,
etc, Then change the above "ExecStart" to that script.
On Mon, Apr 13, 2015 at 9:53 AM, Chris Clark wrote:
> so this is where i am at... i created a sym link inside the ofbiz
> directory to the java executable thereby hav
As long as all the definitions are already present in the system
environment.
java -Xms768M -Xmx1024M -Duser.language=en > /ofbiz/log/messages
2>>/ofbiz/ofbiz.13.07/runtime/logs/console.log
is missing the -jar as you pointed out.
It also does not have a classpath which might also be the so
posted the output of systemctl in a previous email any help as to how to
direct the class path in the java executable... like i said this is a
whole "nother language"
Chris
On Mon, Apr 13, 2015 at 12:00 PM, Mike wrote:
> You need to create a REAL script that fires up ofbiz, setting JAVA_HOME,
You might check "journalctl -n 50" to see if there is more info in the
journal.
It looks like it is having trouble starting up.
I would set JAVA_HOME since it is highly unlikely that anyone would have
set it to
"/ofbiz/ofbiz.13.07java" which appears to be where you are expecting
java to be.
This is a very simple function. Why is it so complicated in OFBIZ?
We want to put in a promo code that will give a percentage discount on a
specific product. If we don't put a limit of 1 use per order, it applies
the promo to every quantity which messes up the sales order and invoice,
because it p
ok so i did this, made a script file per Mike's suggestion
the script file is here
-
[root@localhost system]# cat /ofbiz/ofbiz.13.07/ofbizd
#!/bin/bash
#shell script for ofbiz d
Hi, everybody!
I downloaded release ofbiz 13.07 as zip archieve from apache site, then
compiled it under windows 7 (and also with win server 2008 R2) with jdk8 and
ant 1.9.4. Everything is OK.
Then I need to compile ofbiz under debian 7.8. I tried to do this also with
jdk8 and ant 1.9.4, but go
On Mon, Apr 13, 2015 at 3:58 PM, Alexey Gorbachev wrote:
> Hi, everybody!
> I downloaded release ofbiz 13.07 as zip archieve from apache site, then
> compiled it under windows 7 (and also with win server 2008 R2) with jdk8 and
> ant 1.9.4. Everything is OK.
> Then I need to compile ofbiz under
I downloaded jdk1.8.40 installed it to /opt/java-oracle folder, but in java
-version I these strings.
This is my java version.
root@debian:/home/user# java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mi
i personally use openjdk-1.7.0 which would be your jdk7
it just seems to be less buggy with ofbiz
On Mon, Apr 13, 2015 at 3:07 PM, Mauricio Tavares
wrote:
> On Mon, Apr 13, 2015 at 3:58 PM, Alexey Gorbachev wrote:
> > Hi, everybody!
> > I downloaded release ofbiz 13.07 as zip archieve from a
I don't think you want to specify the CLASSPATH. This is calculated by
java. You also had some syntax errors.
Try:
#!/bin/bash
#shell script for ofbiz daemon
#ofbizd
export JAVA_HOME=/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.i386
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH
export J
ok actually i had fixed that little touch up you did but the end result was
this...
same ofbiz.service file pointing to a ofbizd script residing in the ofbiz
home directory ( I dont think its placement matters)
I still had all the class not found errors so I ran this from the ofbiz
home directory
export CLASSPATH=/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.i386 is not
a classpath.
Java wants to know where you have put your classes (jars or .classes files)
that your code needs.
Without the right classpath you will get "java.lang.ClassNotFoundException:
org.ofbiz.base.container.Con
okay so i should change that to what the ofbiz home? that env variable is
kind of moot as i re define ot when i read in the directories from
classpath.txt, which is too cumbersome to post here... the first definition
needs to be removed
chris
On Mon, Apr 13, 2015 at 6:34 PM, Ron Wheeler wrote:
Add widget jars in the classpath of order, party, product & workeffort. Add
the below line
in build.xml of order, party, product & workeffort under applications
directory.
On Tue, Apr 14, 2015 at 1:28 AM, Alexey Gorbachev wrote:
> Hi, everybody!
> I downloaded release ofbiz 13.07 as zip arch
It works!
Thank you very much Tirtha Rahaman.
Best regards, Alexey Gorbachev.
Original message
От кого: Tirtha Rahaman
Кому: user@ofbiz.apache.org
Дата: Вторник, 14 апреля 2015, 9:49 +05:30
Тема: Re: Errors compiling ofbiz 13.07 under debian 7
Add widget jars in the classpat
24 matches
Mail list logo