Page 1 of 1

Migrating to mysql results in home page with no content

Posted: Tue Dec 11, 2012 4:18 am
by basavarajvs
Hi,
I have downloaded DemoSite-2.0.1-GA-eclipse-workspace.zip and followed the instructions as mentioned in the below link for MYSQL migration.

http://docs.broadleafcommerce.org/curre ... orial.html

After doing the mentioned changes, I performed
1. mvn install
2. ant -v -f build.xml jetty-demo in the site folder

There are no errors when I run the ant script and I am able to launch the site.
But I faced following issues
1. The site content are empty. No category is shown.
2. Admin site lists all categories and products, when I login to admin. If I add a new category then only the newly added category is visible in the site, but the added products under the category are not visible
mysqlerr.JPG
The site with no categories and products
mysqlerr.JPG (105.8 KiB) Viewed 5198 times

When I check the database, entries are present in database.

Re: Migrating to mysql results in home page with no content

Posted: Tue Dec 11, 2012 8:36 pm
by phillipuniverse
Hm can't say I've seen this one before. Are you maybe running with JRebel? Perhaps try disabling that and starting back up.

You might also double check to make sure that the site and admin is pointing to the same database (although I'm not sure why they wouldn't be).