OFBIz not working after deletion of data and work folders

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

OFBIz not working after deletion of data and work folders

Cimballi
Hi Guys !

I have a strange behaviour, I would like to know if it's normal or if I am
doing something wrong.

To use OFBiz, I download the archive, unzip it and launch "startofbiz.bat".
No problem here, at the first launch the database is populated and
everything works well.

Now, when I want to "reset" OFBiz, I remove the "derby" and "hsqldb" folders
in "ofbiz-trunk\runtime\data" and the "work" folder in
"ofbiz-trunk\runtime\catalina".
And then, when I restart, it doesn't work anymore... I have this message :
"Visual Theme resources not found."

if I try to run the target "run-install", I have some constraint errors
during the import.

So, my main question is : how do you "reset" and OFBiz instance ?

Note : I am working with the "ofbiz-trunk-2009-03-26-v758565" version, I
will test with a "ofbiz-rel9.04-2009-04-22-v767430" now.

Cimballi
Reply | Threaded
Open this post in threaded view
|

Re: OFBIz not working after deletion of data and work folders

BJ Freeman
ant clean-all
removes all the jars and the derby db.
ant run-install
builds the jars and repopulates the derby db
you may not have removed all the folders and the  build thinks the derby
is still there.


Cimballi sent the following on 4/24/2009 9:42 AM:

> Hi Guys !
>
> I have a strange behaviour, I would like to know if it's normal or if I am
> doing something wrong.
>
> To use OFBiz, I download the archive, unzip it and launch "startofbiz.bat".
> No problem here, at the first launch the database is populated and
> everything works well.
>
> Now, when I want to "reset" OFBiz, I remove the "derby" and "hsqldb" folders
> in "ofbiz-trunk\runtime\data" and the "work" folder in
> "ofbiz-trunk\runtime\catalina".
> And then, when I restart, it doesn't work anymore... I have this message :
> "Visual Theme resources not found."
>
> if I try to run the target "run-install", I have some constraint errors
> during the import.
>
> So, my main question is : how do you "reset" and OFBiz instance ?
>
> Note : I am working with the "ofbiz-trunk-2009-03-26-v758565" version, I
> will test with a "ofbiz-rel9.04-2009-04-22-v767430" now.
>
> Cimballi
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: OFBIz not working after deletion of data and work folders

Cimballi-2
Hi BJ !

Thanks for your answer.

In fact I was wrong when I said "at the first launch the database is
populated and everything works well.".
The thing is, the data is already included in the zip package, so it is not
initialised on the first call to "startofbiz.bat".

Cimballi


On Fri, Apr 24, 2009 at 12:14 PM, BJ Freeman <[hidden email]> wrote:

> ant clean-all
> removes all the jars and the derby db.
> ant run-install
> builds the jars and repopulates the derby db
> you may not have removed all the folders and the  build thinks the derby
> is still there.
>
>
> Cimballi sent the following on 4/24/2009 9:42 AM:
> > Hi Guys !
> >
> > I have a strange behaviour, I would like to know if it's normal or if I
> am
> > doing something wrong.
> >
> > To use OFBiz, I download the archive, unzip it and launch
> "startofbiz.bat".
> > No problem here, at the first launch the database is populated and
> > everything works well.
> >
> > Now, when I want to "reset" OFBiz, I remove the "derby" and "hsqldb"
> folders
> > in "ofbiz-trunk\runtime\data" and the "work" folder in
> > "ofbiz-trunk\runtime\catalina".
> > And then, when I restart, it doesn't work anymore... I have this message
> :
> > "Visual Theme resources not found."
> >
> > if I try to run the target "run-install", I have some constraint errors
> > during the import.
> >
> > So, my main question is : how do you "reset" and OFBiz instance ?
> >
> > Note : I am working with the "ofbiz-trunk-2009-03-26-v758565" version, I
> > will test with a "ofbiz-rel9.04-2009-04-22-v767430" now.
> >
> > Cimballi
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> Systems Integrator.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBIz not working after deletion of data and work folders

Ashish Vijaywargiya
This is all written in the right section of download page.
http://build.ofbiz.org/

I hope from next time you should read the associated document properly.
(Only hopes :-) )

--
Ashish

On Fri, Apr 24, 2009 at 11:35 PM, Cimballi <[hidden email]>wrote:

> Hi BJ !
>
> Thanks for your answer.
>
> In fact I was wrong when I said "at the first launch the database is
> populated and everything works well.".
> The thing is, the data is already included in the zip package, so it is not
> initialised on the first call to "startofbiz.bat".
>
> Cimballi
>
>