You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by Steve Nisbet <s....@mmu.ac.uk> on 2010/09/06 13:03:43 UTC
Documentation Query
Hi Folks,
just going through what I thought would be a routine re-install of
wookie on another platform of ours, and I've noticed the documentation
on the Wiki seems perhaps a little out of date; or, and its quite
possible - I'm missing something. Unhelpfully all my notes from my first
install are sat on a lovely burned out hard drive.
This is with respect to a copy of the latest trunk, the docs at:
http://incubator.apache.org/wookie/downloading-and-installing-wookie.html
mention
The following will compile and run the server in Tomcat with a MySQL
database. The database tables will be set up automatically, however you
must have previously created a database called "widgetdb" with username
"java" and password "java". (If you want to change the database
connection settings, then you need to alter the
scripts/mysql/hibernate.cfg.xml.)
Edit the "build.properties" file as follows:
*
uncomment "project.using.mysql=true" and comment out "project.using.derby=true"
*
set "servletEngine.webapp.dir=" to the location of your tomcat webapps directory.
and so on - however, I cannot find a copy of hibernate.cfg.xml (I recall
you were working to ditch Hibernate and have possibly missed a post or
two on that one), but... I cannot find reference to either
/project.using.mysql/ or /project.using.derby/ in the build.properties,
which look substantially different from the last time I installed Wookie
from scratch.
Can anyone advise. Best wishes and thanks
Steve
Re: Documentation Query
Posted by Scott Wilson <sc...@gmail.com>.
Hi Steve,
Yes, you're right this is out of date - we replaced Hibernate with OpenJPA. The database connection details are now in build.properties. I'll update the docs.
S
On 6 Sep 2010, at 12:03, Steve Nisbet wrote:
> Hi Folks,
> just going through what I thought would be a routine re-install of wookie on another platform of ours, and I've noticed the documentation on the Wiki seems perhaps a little out of date; or, and its quite possible - I'm missing something. Unhelpfully all my notes from my first install are sat on a lovely burned out hard drive.
>
> This is with respect to a copy of the latest trunk, the docs at:
> http://incubator.apache.org/wookie/downloading-and-installing-wookie.html
> mention
>
> The following will compile and run the server in Tomcat with a MySQL database. The database tables will be set up automatically, however you must have previously created a database called "widgetdb" with username "java" and password "java". (If you want to change the database connection settings, then you need to alter the scripts/mysql/hibernate.cfg.xml.)
>
> Edit the "build.properties" file as follows:
>
> *
>
> uncomment "project.using.mysql=true" and comment out "project.using.derby=true"
>
> *
>
> set "servletEngine.webapp.dir=" to the location of your tomcat webapps directory.
>
> and so on - however, I cannot find a copy of hibernate.cfg.xml (I recall you were working to ditch Hibernate and have possibly missed a post or two on that one), but... I cannot find reference to either /project.using.mysql/ or /project.using.derby/ in the build.properties, which look substantially different from the last time I installed Wookie from scratch.
>
> Can anyone advise. Best wishes and thanks
>
> Steve
>
>
>
Re: Documentation Query
Posted by Scott Wilson <sc...@gmail.com>.
On 6 Sep 2010, at 12:03, Steve Nisbet wrote:
> Hi Folks,
> just going through what I thought would be a routine re-install of wookie on another platform of ours, and I've noticed the documentation on the Wiki seems perhaps a little out of date; or, and its quite possible - I'm missing something. Unhelpfully all my notes from my first install are sat on a lovely burned out hard drive.
>
> This is with respect to a copy of the latest trunk, the docs at:
> http://incubator.apache.org/wookie/downloading-and-installing-wookie.html
I've had a go at fixing this, see:
https://cwiki.apache.org/confluence/display/WOOKIE/Downloading+and+Installing+Wookie
(It should sync up with the other url shortly)
If someone can try walking through the steps here just to verify that these instructions are now correct that would be a big help!
> mention
>
> The following will compile and run the server in Tomcat with a MySQL database. The database tables will be set up automatically, however you must have previously created a database called "widgetdb" with username "java" and password "java". (If you want to change the database connection settings, then you need to alter the scripts/mysql/hibernate.cfg.xml.)
>
> Edit the "build.properties" file as follows:
>
> *
>
> uncomment "project.using.mysql=true" and comment out "project.using.derby=true"
>
> *
>
> set "servletEngine.webapp.dir=" to the location of your tomcat webapps directory.
>
> and so on - however, I cannot find a copy of hibernate.cfg.xml (I recall you were working to ditch Hibernate and have possibly missed a post or two on that one), but... I cannot find reference to either /project.using.mysql/ or /project.using.derby/ in the build.properties, which look substantially different from the last time I installed Wookie from scratch.
>
> Can anyone advise. Best wishes and thanks
>
> Steve
>
>
>