Page 1 of 1

Problem running Admin panel

Posted: Tue Oct 11, 2011 12:52 am
by deeptimittal
Hi,

I configured the admin panel of Broadleaf following the steps mentioned in this link:
http://www.broadleafcommerce.org/conflu ... se+-+Maven

Now to view the admin panel, the documentation says to access http://localhost:8080/broadleafadmin. When I access this URL, there is a page not found page displayed.
I tried using http://localhost:8181/broadleafadmin/Br ... Admin.html, the following is displayed on screen
Problem accessing /broadleafadmin/BroadleafCommerceAdmin.html. Reason:
NOT_FOUND


There is no error on server startup also. Am I accessing some wrong URL? Can someone please help me out with this.

Thanks!

Re: Problem running Admin panel

Posted: Tue Oct 11, 2011 10:15 am
by jefffischer
Unfortunately, the guide you're looking at is out-of-date for the 1.5 milestone builds. Try referring to this forum post for some direction on getting yourself setup with the 1.5 milestone builds:

viewtopic.php?f=9&t=396

Re: Problem running Admin panel

Posted: Tue Oct 11, 2011 11:44 pm
by deeptimittal
Thanks Jeff!
I finally got the admin panel working. Now I want to change the database from HSQL to MySQL. I have updated the webDS in applicationContext-custom.xml with the following details:

Code: Select all

<bean id="webDS" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
   <property name="driverClassName" value="com.mysql.jdbc.Driver" />
   <property name="url" value="jdbc:mysql://localhost:3306/broadleaf" />
   <property name="username" value="root" />
   <property name="password" value="password" />
</bean>


but it always says "SEVERE: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'"

I also added the mysqlconnector jar in WEB-INF/lib, but no luck. Can you please help!

Re: Problem running Admin panel

Posted: Tue Oct 11, 2011 11:50 pm
by jefffischer
This topic covers your case:

viewtopic.php?f=9&t=379

Re: Problem running Admin panel

Posted: Wed Oct 12, 2011 12:08 am
by deeptimittal
Thanks Jeff! Its working now.

Re: Problem running Admin panel

Posted: Thu Feb 16, 2012 11:02 pm
by kossel
the link is dead. where was the post?
I'm facing same problem

added
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.18</version>
</dependency>


and still can't compile. even I added that to POM.xml, it's not showing in maven dependency lib

Re: Problem running Admin panel

Posted: Tue Feb 21, 2012 11:33 am
by jefffischer
You'll want to take a look at our documentation that covers migrating to another database. We also have specific details for migrating to MySQL included:

http://www.broadleafcommerce.org/conflu ... r+database