Page 1 of 1

DemoSite-Portlet:Name[jdbc/secure] not bound in this Context

Posted: Mon Aug 19, 2013 8:07 pm
by kerler
Dear Sir,

I meet below problem and I post detail question to http://forum.broadleafcommerce.org/viewtopic.php?f=14&t=2108 in board 'Getting Started'.

Because in that board the question is not answered, I post a new message here. Detail of the question is at http://forum.broadleafcommerce.org/viewtopic.php?f=14&t=2108.

=========
I run broadleaf demo well. But for DemoSite-Portlet, it logs:

"Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blMergedDataSources' defined in resource loaded from byte array: Cannot resolve reference to bean 'webSecureDS' while setting bean property 'sourceMap' with key [TypedStringValue: value [jdbc/webSecure], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSecureDS': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [jdbc/secure] is not bound in this Context. Unable to find [jdbc].

Re: DemoSite-Portlet:Name[jdbc/secure] not bound in this Context

Posted: Thu Aug 22, 2013 8:40 pm
by kerler
I tried many ways, including the way mentioned in readme.md of DemoSite-Portlet, the problem still occurs. I describes the detail in viewtopic.php?f=14&t=2108&p=5928.

Re: DemoSite-Portlet:Name[jdbc/secure] not bound in this Context

Posted: Wed Sep 18, 2013 5:36 pm
by exquisitus
Most probably this could be solved with disabling liferay security manager in a portlet-ext.property in the root context. Next problem is an ehcache problem. According to a liferay guy in liferay ehcache is ver 2.7.1 and in demosite-portlet it's ver 2.4.2.

I was hoping that for the webinar there will be a working integration of broadleaf with liferay b3 in github, unfortunately no such thing. So how was the wwebinar then?