OFBiz and postgres

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

OFBiz and postgres

Erwan de FERRIERES-3
Hi all,

why don't we have the postgres JDBC driver directly in the trunk ?
Once again, i forgot to put it in the project...

Do I have to create a JIRA issue to make it become real ? Or is it a
license problem ?

--
- Erwan -
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

Adrian Crum
Each installation is responsible for copying the required driver to the
framework/entity/lib/jdbc folder.

-Adrian

Erwan de FERRIERES wrote:
> Hi all,
>
> why don't we have the postgres JDBC driver directly in the trunk ?
> Once again, i forgot to put it in the project...
>
> Do I have to create a JIRA issue to make it become real ? Or is it a
> license problem ?
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

Adam Heath-2
Adrian Crum wrote:
> Each installation is responsible for copying the required driver to the
> framework/entity/lib/jdbc folder.

Once the debian packaging is completely done, this won't be a problem.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

Adrian Crum
Adam Heath wrote:
> Adrian Crum wrote:
>> Each installation is responsible for copying the required driver to the
>> framework/entity/lib/jdbc folder.
>
> Once the debian packaging is completely done, this won't be a problem.

Wouldn't that require Debian?

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

Jacques Le Roux
Administrator
> Adam Heath wrote:
>> Adrian Crum wrote:
>>> Each installation is responsible for copying the required driver to the
>>> framework/entity/lib/jdbc folder.
>>
>> Once the debian packaging is completely done, this won't be a problem.
>
> Wouldn't that require Debian?

Or Ubuntu...

Jacques
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

BJ Freeman
In reply to this post by Adam Heath-2
will that work for all installations:
windows, other flavors or linux?

Adam Heath sent the following on 11/18/2008 8:19 AM:
> Adrian Crum wrote:
>> Each installation is responsible for copying the required driver to the
>> framework/entity/lib/jdbc folder.
>
> Once the debian packaging is completely done, this won't be a problem.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

Jacques Le Roux
Administrator
As I understand it, it's a package for Debian. As Ubuntu uses Debian underneath it will work on Ubuntu too. I'm not a specialist but
I saw some tools to migrate a package between Linux distribution. Not sure of the quality though, this will certainly improve in the
future.
But for Windows I'm sure it's a big no. I may be wrong if Adam has something else in head.

Jacques

From: "BJ Freeman" <[hidden email]>

> will that work for all installations:
> windows, other flavors or linux?
>
> Adam Heath sent the following on 11/18/2008 8:19 AM:
>> Adrian Crum wrote:
>>> Each installation is responsible for copying the required driver to the
>>> framework/entity/lib/jdbc folder.
>>
>> Once the debian packaging is completely done, this won't be a problem.
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

Adam Heath-2
Jacques Le Roux wrote:
> As I understand it, it's a package for Debian. As Ubuntu uses Debian
> underneath it will work on Ubuntu too. I'm not a specialist but I saw
> some tools to migrate a package between Linux distribution. Not sure of
> the quality though, this will certainly improve in the future.
> But for Windows I'm sure it's a big no. I may be wrong if Adam has
> something else in head.

Well, as I've been working on the packaging, I've been adding ofbiz
features to make extending it simpler, and to support auto-configuring
of things.

For this particular problem, the depends for the package pull in the
appropriate jars for postgres and mysql.  I could modify the
startofbiz.sh script itself to do something similiar, looking in a few
locations and adding them to the startup classpath.  While making that
work on linux distributions wouldn't be hard, I don't currently have a
windows or macosx install to play with.

ps: I'm working at getting a kvm of windows going, but I hate license
keys :|
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz and postgres

David E Jones-3
In reply to this post by Erwan de FERRIERES-3

We used to include the Postgres and certain other JDBC drivers in the  
trunk. There isn't a license issue (there is with MySQL, but not with  
Postgres).

The issue that we ran into is that you have to have the right JDBC  
driver version for the database version you are using, and if they  
don't match you'll run into funny problems. We had enough complaints  
about such problems on the mailing lists that we decided it would be  
better if people downloaded the JDBC driver with their database rather  
than including one.

-David


On Nov 18, 2008, at 10:52 AM, Erwan de FERRIERES wrote:

> Hi all,
>
> why don't we have the postgres JDBC driver directly in the trunk ?
> Once again, i forgot to put it in the project...
>
> Do I have to create a JIRA issue to make it become real ? Or is it a  
> license problem ?
>
> --
> - Erwan -