You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Tamer Sezgin <ta...@gmail.com> on 2009/04/24 18:27:26 UTC

problem in ij.ofbiz

Hi,
As a beginner, while trying to understand the content of OFBiz package, I
saw this ij.ofbiz shell file in the root folder.
It seems it does not work, and inside the file I could see 2 problems:

1- HM='-Dderby.system.home=/data/derby'    (There is no "/data/derby"
folder.. possibly it should be "/runtime/data/derby")
2- CP="-cp $EE/derby.jar:$EE/derbytools.jar"  (There is no derby.jar, and
derbytools.jar in the OFBiz package -- but there is derby-10.4.1.3.jar)

I copied the "derby.jar" and "derbytools.jar" to proper directories, and did
some changes in the file to fix this problem..

Now, just to make some practice, what is the normal/expected way to handle
this problem?
I wanted to ask this question, as a beginner, in the short term, I will
probably deal with only such trivial issues, and will use the pattern
described in the answer.

Below are the 3 options I could think of.
1- This is a very trivial issue. leave it as it is, appearently noone
uses/needs it.
2- Just mention about this problem in this mailgroup and expect someone fix
it.
3- Create a JIRA record.. add the following patch... and expect someone fix
it.

Index: ij.ofbiz
===================================================================
--- ij.ofbiz    (revision 767901)
+++ ij.ofbiz    (working copy)
@@ -19,7 +19,7 @@
 #####################################################################

 # Properties
-HM='-Dderby.system.home=data/derby'
+HM='-Dderby.system.home=runtime/data/derby'
 PR='-Dij.protocol=jdbc:derby:'
 DB='-Dij.database=ofbiz;create=true'
 EE='framework/entity/lib/jdbc'


Regards,
- Tamer