[jira] Created: (OFBIZ-2059) startofbiz.sh does not have a default debug flag

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

[jira] Created: (OFBIZ-2059) startofbiz.sh does not have a default debug flag

Nicolas Malin (Jira)
startofbiz.sh does not have a default debug flag
------------------------------------------------

                 Key: OFBIZ-2059
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2059
             Project: OFBiz
          Issue Type: Improvement
    Affects Versions: SVN trunk
            Reporter: Harmeet Bedi
             Fix For: SVN trunk


$DEBUG flag is not specified even in comments causing people to dig an find it.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2059) startofbiz.sh does not have a default debug flag

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harmeet Bedi updated OFBIZ-2059:
--------------------------------

    Attachment: startofbiz.sh.patch

Attaching patch request

> startofbiz.sh does not have a default debug flag
> ------------------------------------------------
>
>                 Key: OFBIZ-2059
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2059
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Harmeet Bedi
>             Fix For: SVN trunk
>
>         Attachments: startofbiz.sh.patch
>
>
> $DEBUG flag is not specified even in comments causing people to dig an find it.

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

Reply | Threaded
Open this post in threaded view
|

request to add missing jdbc jars, at least postgres.jar

Harmeet Bedi
/framework/entity/lib contains only derby jdbc library. Wondering if it
makes sense to enhance it to include other popular jar files.
We run ofbiz against postgres and have to copy the jar file.

It should be easy to add popular jdbc jar files at least when requested
by someone who needs it. Won't cause conflicts and make life easier for
people working on ofbiz.

If this seems ok.. and if you want i can file an issue and attach the
most appropriate current postgres jar to issue.

Harmeet
Reply | Threaded
Open this post in threaded view
|

Re: request to add missing jdbc jars, at least postgres.jar

Adrian Crum-2
I think this issue was addressed a few days ago. OFBiz does not include jdbc drivers because there are too many databases and too many versions.

If you find copying a single file difficult, perhaps you could create a script or something to do it automatically.

-Adrian


--- On Sun, 11/23/08, Harmeet Bedi <[hidden email]> wrote:

> From: Harmeet Bedi <[hidden email]>
> Subject: request to add missing jdbc jars, at least postgres.jar
> To: [hidden email]
> Date: Sunday, November 23, 2008, 9:58 AM
> /framework/entity/lib contains only derby jdbc library.
> Wondering if it makes sense to enhance it to include other
> popular jar files.
> We run ofbiz against postgres and have to copy the jar
> file.
>
> It should be easy to add popular jdbc jar files at least
> when requested by someone who needs it. Won't cause
> conflicts and make life easier for people working on ofbiz.
>
> If this seems ok.. and if you want i can file an issue and
> attach the most appropriate current postgres jar to issue.
>
> Harmeet


     
Reply | Threaded
Open this post in threaded view
|

Re: request to add missing jdbc jars, at least postgres.jar

Harmeet Bedi
Maybe a good part way would be to support only popular opensource out of
box. You have one - derby. The other 2 mains ones are postgres and mysql.

We have the problem addressed on our end, that is not the concern. Was
trying to see if we can generalize and reduce both our and other's pain.
Not a big thing just makes life a bit easier.


On 11/23/08 1:17 PM, Adrian Crum wrote:

> I think this issue was addressed a few days ago. OFBiz does not include jdbc drivers because there are too many databases and too many versions.
>
> If you find copying a single file difficult, perhaps you could create a script or something to do it automatically.
>
> -Adrian
>
>
> --- On Sun, 11/23/08, Harmeet Bedi <[hidden email]> wrote:
>
>  
>> From: Harmeet Bedi <[hidden email]>
>> Subject: request to add missing jdbc jars, at least postgres.jar
>> To: [hidden email]
>> Date: Sunday, November 23, 2008, 9:58 AM
>> /framework/entity/lib contains only derby jdbc library.
>> Wondering if it makes sense to enhance it to include other
>> popular jar files.
>> We run ofbiz against postgres and have to copy the jar
>> file.
>>
>> It should be easy to add popular jdbc jar files at least
>> when requested by someone who needs it. Won't cause
>> conflicts and make life easier for people working on ofbiz.
>>
>> If this seems ok.. and if you want i can file an issue and
>> attach the most appropriate current postgres jar to issue.
>>
>> Harmeet
>>    
>
>
>      
>  

Reply | Threaded
Open this post in threaded view
|

Re: request to add missing jdbc jars, at least postgres.jar

David E Jones-3
We've actually been through all of this before. It's actually worse to  
have the jdbc drivers included. The problem is that people run and  
deploy with it and find weird problems if the version in ofbiz doesn't  
match the database version. The result is production down time and  
repeated mailing list questions.

So the answer, again, is: no, we have decided as a community to not  
include these jars. Unless the issues above as resolved that will NOT  
change.


-David


On Nov 23, 2008, at 13:40, Harmeet Bedi <[hidden email]> wrote:

> Maybe a good part way would be to support only popular opensource  
> out of box. You have one - derby. The other 2 mains ones are  
> postgres and mysql.
>
> We have the problem addressed on our end, that is not the concern.  
> Was trying to see if we can generalize and reduce both our and  
> other's pain. Not a big thing just makes life a bit easier.
>
>
> On 11/23/08 1:17 PM, Adrian Crum wrote:
>> I think this issue was addressed a few days ago. OFBiz does not  
>> include jdbc drivers because there are too many databases and too  
>> many versions.
>>
>> If you find copying a single file difficult, perhaps you could  
>> create a script or something to do it automatically.
>>
>> -Adrian
>>
>>
>> --- On Sun, 11/23/08, Harmeet Bedi <[hidden email]> wrote:
>>
>>
>>> From: Harmeet Bedi <[hidden email]>
>>> Subject: request to add missing jdbc jars, at least postgres.jar
>>> To: [hidden email]
>>> Date: Sunday, November 23, 2008, 9:58 AM
>>> /framework/entity/lib contains only derby jdbc library.
>>> Wondering if it makes sense to enhance it to include other
>>> popular jar files.
>>> We run ofbiz against postgres and have to copy the jar
>>> file.
>>>
>>> It should be easy to add popular jdbc jar files at least
>>> when requested by someone who needs it. Won't cause
>>> conflicts and make life easier for people working on ofbiz.
>>>
>>> If this seems ok.. and if you want i can file an issue and
>>> attach the most appropriate current postgres jar to issue.
>>>
>>> Harmeet
>>>
>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: request to add missing jdbc jars, at least postgres.jar

BJ Freeman
In reply to this post by Harmeet Bedi
there are to many version of postgres SQL to support them all.
if we put in 7.4.1 it would block 8. versions.
then we would need to answer questions why 8. will not work.
the only one supported is the embedded OTTB derby.

Harmeet Bedi sent the following on 11/23/2008 9:58 AM:

> /framework/entity/lib contains only derby jdbc library. Wondering if it
> makes sense to enhance it to include other popular jar files.
> We run ofbiz against postgres and have to copy the jar file.
>
> It should be easy to add popular jdbc jar files at least when requested
> by someone who needs it. Won't cause conflicts and make life easier for
> people working on ofbiz.
>
> If this seems ok.. and if you want i can file an issue and attach the
> most appropriate current postgres jar to issue.
>
> Harmeet
>
>
Reply | Threaded
Open this post in threaded view
|

Re: request to add missing jdbc jars, at least postgres.jar

Harmeet Bedi
Thanks for the explanation. I see your point why extra jdbc jars would
such a pain. I should have read old threads
Reply | Threaded
Open this post in threaded view
|

Re: request to add missing jdbc jars, at least postgres.jar

Adam Heath-2
In reply to this post by Harmeet Bedi
Harmeet Bedi wrote:
> Maybe a good part way would be to support only popular opensource out of
> box. You have one - derby. The other 2 mains ones are postgres and mysql.
>
> We have the problem addressed on our end, that is not the concern. Was
> trying to see if we can generalize and reduce both our and other's pain.
> Not a big thing just makes life a bit easier.

There are several different versions of the jars, and they aren't always
compatible with the various databases people may run against.
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2059) startofbiz.sh does not have a default debug flag

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2059.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Harmeet,

Your patch is in trunk at r815974  


> startofbiz.sh does not have a default debug flag
> ------------------------------------------------
>
>                 Key: OFBIZ-2059
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2059
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Harmeet Bedi
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: startofbiz.sh.patch
>
>
> $DEBUG flag is not specified even in comments causing people to dig an find it.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2059) startofbiz.sh does not have a default debug flag

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756250#action_12756250 ]

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

I'm really sorry this one is pitiful :(

I commited 1st at r815974. Then in the not related commit r815977 I wrongly put this Jira issue number in (it should have been OFBIZ-2788), I fixed the log just after.
Then I reverted r815974 (thanks to Adrian's comment in dev ML) and finally commited correctly this change at r815982, ouf...

> startofbiz.sh does not have a default debug flag
> ------------------------------------------------
>
>                 Key: OFBIZ-2059
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2059
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Harmeet Bedi
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: startofbiz.sh.patch
>
>
> $DEBUG flag is not specified even in comments causing people to dig an find it.

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