Page 1 of 1

admin 3.0 with broadleaf 2.0.2.

Posted: Tue Jun 25, 2013 4:45 pm
by jonjon
How could we use admin 3.0 with broadleaf 2.0.2 GA?...

If we upgrade to 3.0.3 broadleaf, any change with database ?


Re: admin 3.0 with broadleaf 2.0.2.

Posted: Tue Jun 25, 2013 7:39 pm
by anikanchan
Admin 3.0 code is moving away from GWT to Spring so it is kind of difficult to use it with BL 2.0.2. GA. I have not noticed any DB changes but it would be nice to have proper documentation, if any.

Re: admin 3.0 with broadleaf 2.0.2.

Posted: Tue Jun 25, 2013 11:23 pm
by jonjon
As I run admin 3.0...there is some error:
SEVERE: Exception sending context initialized event to listener instance of class org.broadleafcommerce.common.web.extensibility.MergeContextLoaderListener
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1489 in XML document from resource loaded from byte array is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'sec:http'.

Here is my config:
<beans xmlns=""
xsi:schemaLocation=" ... ns-3.2.xsd ... xt-3.2.xsd ... ty-3.1.xsd ... il-3.2.xsd">

<context:component-scan base-package=""/>
<context:component-scan base-package=""/>

<!-- Resources do not need security -->
<sec:http pattern="/**/*.css" security="none" />
<sec:http pattern="/**/*.js" security="none" />
<sec:http pattern="/img/**" security="none" />
<sec:http pattern="/favicon.ico" security="none" />
<sec:http pattern="/robots.txt" security="none" />
<sec:http pattern="/login" security="none" />
<sec:http pattern="/forgotUsername" security="none" />
<sec:http pattern="/forgotPassword" security="none" />
<sec:http pattern="/changePassword" security="none" />
<sec:http pattern="/resetPassword" security="none" />
<sec:http pattern="/sendResetPassword" security="none" />

Any thoughts?..

Re: admin 3.0 with broadleaf 2.0.2.

Posted: Wed Jun 26, 2013 9:42 am
by phillipuniverse
You cannot use Admin 3.0 with older versions of Broadleaf. I guess it's feasible that it COULD work, but we would never recommend doing something like that and it definitely would not be supported.

For migration notes from 2.0 to 3.0, see ... ation.html. Near the bottom under 'Data Migration' there is an ant task (included out of the box with DemoSite 2.2 and above) that will generate an update SQL script suitable to run against your database.