Page 1 of 1

Bean creation exceptions when running tomcat target for site

Posted: Thu Apr 23, 2015 9:34 am
by bmulpuri
I am following the getting started with broadleaf 4.0 instructions (http://www.broadleafcommerce.com/docs/c ... ng-started) to setup my site. I am encountering bean creation exceptions when running the tomcat target from site project. This is because it is not able to find the jdbc context. I am assuming it is not able to find the properties defined. Here is the exception stack trace.

[artifact:mvn] [ WARN] 09:06:00 DefaultListableBeanFactory - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webDS': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [jdbc/web] is not bound in this Context. Unable to find [jdbc].

Is there any additional configuration required to fix this issue?

Thanks,
Bhaskar

Re: Bean creation exceptions when running tomcat target for site

Posted: Thu Apr 23, 2015 10:52 am
by phillipuniverse

Re: Bean creation exceptions when running tomcat target for site

Posted: Thu Apr 23, 2015 11:31 am
by bmulpuri
Done. Are any changes required to web.xml file?

Thanks,
Bhaskar