You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by ryan <ry...@sourcelabs.com> on 2008/02/27 18:02:43 UTC

mysql setup?

I'm trying to move from my dev setup to a test/staging env.  I've got 
mysql 5.0 running with an ofbiz user and password, and have verified 
that I can connect as the ofbiz user from the ofbiz server. 

I installed the 
mysql-connector-java-3.1.14/mysql-connector-java-3.1.14-bin.jar into 
${OFBIZ_HOME}/framework/entity/lib/jdbc/.

I modified entityengine.xml to delegate to my mysql datasource and set 
the mysql datasource to connect to my mysql server (as described in 
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide 
and elsewhere). 

When I run "ant run-install", it goes quite slowly and eventually hangs 
sometime after this: 

[java] 2008-02-27 08:42:21,562 (main) [ ModelServiceReader.java:208:INFO 
] Loaded 15 Service definitions from 
file:/opt/sourcelabs/ofbiz/framework/example/servicedef/services.xml
[java] 2008-02-27 08:42:21,641 (main) [ ModelServiceReader.java:441:WARN 
] Created INTERNAL GROUP model 
[_createPartyTextContent.group::all::[createTextContent::sync::, 
createPartyContent::sync::]]

any ideas?

regards,
-Ryan

Re: mysql setup?

Posted by ryan <ry...@sourcelabs.com>.
problem solved - I had a typo in the entityengine.xml.

ryan wrote:
> I'm trying to move from my dev setup to a test/staging env.  I've got 
> mysql 5.0 running with an ofbiz user and password, and have verified 
> that I can connect as the ofbiz user from the ofbiz server.
> I installed the 
> mysql-connector-java-3.1.14/mysql-connector-java-3.1.14-bin.jar into 
> ${OFBIZ_HOME}/framework/entity/lib/jdbc/.
>
> I modified entityengine.xml to delegate to my mysql datasource and set 
> the mysql datasource to connect to my mysql server (as described in 
> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide 
> and elsewhere).
> When I run "ant run-install", it goes quite slowly and eventually 
> hangs sometime after this:
> [java] 2008-02-27 08:42:21,562 (main) [ 
> ModelServiceReader.java:208:INFO ] Loaded 15 Service definitions from 
> file:/opt/sourcelabs/ofbiz/framework/example/servicedef/services.xml
> [java] 2008-02-27 08:42:21,641 (main) [ 
> ModelServiceReader.java:441:WARN ] Created INTERNAL GROUP model 
> [_createPartyTextContent.group::all::[createTextContent::sync::, 
> createPartyContent::sync::]]
>
> any ideas?
>
> regards,
> -Ryan