You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Tamer Sezgin (JIRA)" <ji...@apache.org> on 2009/04/24 22:14:30 UTC

[jira] Created: (OFBIZ-2355) ij.ofbiz does not work

ij.ofbiz does not work
----------------------

                 Key: OFBIZ-2355
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: SVN trunk
         Environment: Linux, SVN Revision: 767865
            Reporter: Tamer Sezgin
            Priority: Trivial
             Fix For: SVN trunk


It seems "ij.ofbiz" in the root directory  does not work..
I could see 2 problems inside.

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) 

Suggested Solution:
1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2355) ij.ofbiz does not work

Posted by "Tamer Sezgin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamer Sezgin updated OFBIZ-2355:
--------------------------------

    Attachment: ij.ofbiz.patch

Hi Jacques,
I'm afraid there is still a problem.

You have copied the new jars with version identifiers in the filenames.
But In the ij.ofbiz file, they are are used/referenced  without the version identifier. (i.e. derby.jar and derbytools.jar) 

So, 
Either the version identifier should be removed from the jar files.
Or, ij.ofbiz file should be patched again, so that it can use the jar files with named with version identifiers. 

I don't know which option should be selected.. 
In case you prefer the second option, I'm attaching the a new patch (with the same name)... But if you choose the first option, it will not be needed.

Thanks.

> ij.ofbiz does not work
> ----------------------
>
>                 Key: OFBIZ-2355
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>         Environment: Linux, SVN Revision: 767865
>            Reporter: Tamer Sezgin
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: ij.ofbiz.patch, ij.ofbiz.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> It seems "ij.ofbiz" in the root directory  does not work..
> I could see 2 problems inside.
> 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) 
> Suggested Solution:
> 1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
> 2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2355) ij.ofbiz does not work

Posted by "Tamer Sezgin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamer Sezgin updated OFBIZ-2355:
--------------------------------

    Attachment: ij.ofbiz.patch

Hi,
This is the patch file for ij.ofbiz file.
But I don't know how to handle the missing jars (derby.jar and derbytools.jar).

Thanks.


> ij.ofbiz does not work
> ----------------------
>
>                 Key: OFBIZ-2355
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>         Environment: Linux, SVN Revision: 767865
>            Reporter: Tamer Sezgin
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: ij.ofbiz.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> It seems "ij.ofbiz" in the root directory  does not work..
> I could see 2 problems inside.
> 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) 
> Suggested Solution:
> 1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
> 2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2355) ij.ofbiz does not work

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702858#action_12702858 ] 

Jacques Le Roux commented on OFBIZ-2355:
----------------------------------------

Hi Tamer,

As this will change in time, and we don't want to update  ij.ofbiz each time, it's the responsibility of user to make the change in ij.ofbiz locally.

> ij.ofbiz does not work
> ----------------------
>
>                 Key: OFBIZ-2355
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>         Environment: Linux, SVN Revision: 767865
>            Reporter: Tamer Sezgin
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: ij.ofbiz.patch, ij.ofbiz.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> It seems "ij.ofbiz" in the root directory  does not work..
> I could see 2 problems inside.
> 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) 
> Suggested Solution:
> 1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
> 2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2355) ij.ofbiz does not work

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702860#action_12702860 ] 

Jacques Le Roux commented on OFBIZ-2355:
----------------------------------------

Tamer,

Finally I did it at r768686 for trunk and r768687 for  R9.04 

> ij.ofbiz does not work
> ----------------------
>
>                 Key: OFBIZ-2355
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>         Environment: Linux, SVN Revision: 767865
>            Reporter: Tamer Sezgin
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: ij.ofbiz.patch, ij.ofbiz.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> It seems "ij.ofbiz" in the root directory  does not work..
> I could see 2 problems inside.
> 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) 
> Suggested Solution:
> 1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
> 2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2355) ij.ofbiz does not work

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2355.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 9.04
         Assignee: Jacques Le Roux

Thanks  Tamer,

Your patch is in trunk at revision: 768608. I have also upated Derby at 10.4.2.0 in trunk
I backported your patch to R9.04 at r768614, and only put derbytools-10.4.1.13.jar in framework\entity\lib\jdbc



> ij.ofbiz does not work
> ----------------------
>
>                 Key: OFBIZ-2355
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>         Environment: Linux, SVN Revision: 767865
>            Reporter: Tamer Sezgin
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: ij.ofbiz.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> It seems "ij.ofbiz" in the root directory  does not work..
> I could see 2 problems inside.
> 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) 
> Suggested Solution:
> 1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
> 2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2355) ij.ofbiz does not work

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702561#action_12702561 ] 

Jacques Le Roux commented on OFBIZ-2355:
----------------------------------------

Could you please provide a patch ?

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

Thanks

> ij.ofbiz does not work
> ----------------------
>
>                 Key: OFBIZ-2355
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2355
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>         Environment: Linux, SVN Revision: 767865
>            Reporter: Tamer Sezgin
>            Priority: Trivial
>             Fix For: SVN trunk
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> It seems "ij.ofbiz" in the root directory  does not work..
> I could see 2 problems inside.
> 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) 
> Suggested Solution:
> 1-  Replace HM='-Dderby.system.home=data/derby'  with HM='-Dderby.system.home=runtime/data/derby'
> 2- Copy derby.jar and derbytools.jar from the derby distribution to "framework/entity/lib/jdbc" directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.