The correct steps are there:
Modify an existing datasource (near the bottom of the file) or create a
new one by copying one of the sample datasources already there and
giving it a new unique name
If using the default OFBiz transaction manager and connection pool,
update the data URI, username and password in the inline-jdbc tag
If you want your OFBiz tables in a special schema first create that
schema in your database, then set the schema-name attribute on the
datasource tag
Find the "default" delegator near the top of the file and change
the datasource-name attribute value in the group-map tag under it to the
name of the data source you modified or created.
Adrian Crum
Sandglass Software
www.sandglass-software.com
On 6/2/2014 1:01 PM, Ron Wheeler wrote:
It appears that there is a missing step in the description about how to
run OfBiz with a database other than Derby.
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
talks about changing the "default" delegator but it does not mention
anywhere that I can find, how you tell OfBiz that you want to use the
delegator associated with My SQL.
I am getting a null pointer which I think is caused by OfBiz still
trying to use Derby which no longer has a delegator sice it is commented
out and the MySQL one is uncommented.
What is the secret step tat I need to to to make the instructions work?
Ron