problem in ij.ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

problem in ij.ofbiz

tamer sezgin-2
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
Reply | Threaded
Open this post in threaded view
|

Re: problem in ij.ofbiz

BJ Freeman
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Tamer Sezgin sent the following on 4/24/2009 9:27 AM:

> 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
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: problem in ij.ofbiz

Ashish Vijaywargiya
In short create the issue on JIRA and submit the patch.
"How to do this" is explained in the document referred by BJ.

--
Ashish

On Fri, Apr 24, 2009 at 10:48 PM, BJ Freeman <[hidden email]> wrote:

> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
>
>
Reply | Threaded
Open this post in threaded view
|

Re: problem in ij.ofbiz

tamer sezgin-2
Thanks. I have already created the JIRA issue
(OFBIZ-2355<https://issues.apache.org/jira/browse/OFBIZ-2355>
)...
Actually I had already read the document BJ referred to, but I was not sure
whether this is really a bug, because it was so obvious.

Tamer


On Sat, Apr 25, 2009 at 8:18 AM, Ashish Vijaywargiya <
[hidden email]> wrote:

> In short create the issue on JIRA and submit the patch.
> "How to do this" is explained in the document referred by BJ.
>
> --
> Ashish
>
> On Fri, Apr 24, 2009 at 10:48 PM, BJ Freeman <[hidden email]> wrote:
>
> > http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: problem in ij.ofbiz

Jacques Le Roux
Administrator
Yes, but could you please provide a patch ? It's really easier for a number of reasons (commit, history, etc.)

Thanks

Jacques

From: "Tamer Sezgin" <[hidden email]>

> Thanks. I have already created the JIRA issue
> (OFBIZ-2355<https://issues.apache.org/jira/browse/OFBIZ-2355>
> )...
> Actually I had already read the document BJ referred to, but I was not sure
> whether this is really a bug, because it was so obvious.
>
> Tamer
>
>
> On Sat, Apr 25, 2009 at 8:18 AM, Ashish Vijaywargiya <
> [hidden email]> wrote:
>
>> In short create the issue on JIRA and submit the patch.
>> "How to do this" is explained in the document referred by BJ.
>>
>> --
>> Ashish
>>
>> On Fri, Apr 24, 2009 at 10:48 PM, BJ Freeman <[hidden email]> wrote:
>>
>> > http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
>> >
>> >
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: problem in ij.ofbiz

Jacques Le Roux
Administrator
In reply to this post by tamer sezgin-2
Oops, sorry, our mails crossed on the wire, I see your patch now...

Jacques

From: "Jacques Le Roux" <[hidden email]>

> Yes, but could you please provide a patch ? It's really easier for a number of reasons (commit, history, etc.)
>
> Thanks
>
> Jacques
>
> From: "Tamer Sezgin" <[hidden email]>
>> Thanks. I have already created the JIRA issue
>> (OFBIZ-2355<https://issues.apache.org/jira/browse/OFBIZ-2355>
>> )...
>> Actually I had already read the document BJ referred to, but I was not sure
>> whether this is really a bug, because it was so obvious.
>>
>> Tamer
>>
>>
>> On Sat, Apr 25, 2009 at 8:18 AM, Ashish Vijaywargiya <
>> [hidden email]> wrote:
>>
>>> In short create the issue on JIRA and submit the patch.
>>> "How to do this" is explained in the document referred by BJ.
>>>
>>> --
>>> Ashish
>>>
>>> On Fri, Apr 24, 2009 at 10:48 PM, BJ Freeman <[hidden email]> wrote:
>>>
>>> > http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
>>> >
>>> >
>>>
>>