<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    javax.naming.NameNotFoundException: persistence not bound
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/rac-tech">rac-tech</a> in <i>JNDI and Naming</i> - <a href="http://community.jboss.org/message/576880#576880">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have an ear that consists of a ejb module and a war module. The SpringInitialisationServiceImpl (ejb) listed in the following jboss xml is in a jar file(sss.jar). The sss.jar file is in the lib folder in the ear root(ear/lib) . When this is deployed in JBoss 5, an exception is thrown(list at the bottom).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I can see that just after this exception is thrown, the persistent unit is loading.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Is this a loading sequence issue?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>------------------------------------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>12:04:55,542 INFO&#160; [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=Services-ProCat.ear/Services-ProCat.jar#smalllake-bopc</p><p>12:04:55,589 INFO&#160; [Version] Hibernate Annotations 3.4.0.GA</p><p>12:04:55,589 INFO&#160; [Environment] Hibernate 3.3.1.GA</p><p>12:04:55,605 INFO&#160; [Environment] hibernate.properties not found</p><p>12:04:55,605 INFO&#160; [Environment] Bytecode provider name : javassist</p><p>12:04:55,605 INFO&#160; [Environment] using JDK 1.4 java.sql.Timestamp handling</p><p>12:04:55,667 INFO&#160; [Version] Hibernate Commons Annotations 3.1.0.GA</p><p>12:04:55,667 INFO&#160; [Version] Hibernate EntityManager 3.4.0.GA</p><p>12:04:55,683 INFO&#160; [Ejb3Configuration] Processing PersistenceUnitInfo [</p><p><span style="white-space:pre"> </span>name: smalllake-bopc</p><div>-----------------------------------</div><div> </div><div>Any help would be highly appreciated.</div><div> </div><div> </div><div>The more required details are listed below.</div><div> </div><div> </div><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>--------------------------------------------------------------------------------------</p><p>Struture</p><p>-----------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>ear/lib</p><p>&#160;&#160;&#160;&#160;&#160;&#160; - sss.jar</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ........</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ........</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>ear/META-INF</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -application.xml</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -jboss-app.xml</p><p>ear/abc.jar</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -com</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -META-INF</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -jboss.xml</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -persistence.xml</p><p>ear/abc.war</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>---------------------------------------------------------------------------------------</p><p>jboss.xml</p><p>--------------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;</p><p>&lt;jboss</p><p><span> xmlns="</span><a class="jive-link-external-small" href="http://www.jboss.com/xml/ns/javaee" target="_blank">http://www.jboss.com/xml/ns/javaee</a><span>"</span></p><p><span> xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span></p><p><span> xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.jboss.com/xml/ns/javaee" target="_blank">http://www.jboss.com/xml/ns/javaee</a></p><p><span> </span><a class="jive-link-external-small" href="http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" target="_blank">http://www.jboss.org/j2ee/schema/jboss_5_0.xsd</a><span>"</span></p><p> version="3.0"&gt;</p><p><span style="white-space:pre"> </span>&lt;webservices&gt;</p><p><span style="white-space:pre"> </span>&lt;context-root&gt;@APPLICATION_NAME@/ws&lt;/context-root&gt;</p><p><span style="white-space:pre"> </span>&lt;/webservices&gt;</p><p><span style="white-space:pre"> </span>&lt;enterprise-beans&gt;</p><p><span style="white-space:pre"> </span>&lt;service&gt;</p><p><span style="white-space:pre"> </span>&lt;ejb-name&gt;SpringInitialisationService&lt;/ejb-name&gt;</p><p><span style="white-space:pre"> </span>&lt;ejb-class&gt;com.smalllake.services.util.SpringInitialisationServiceImpl&lt;/ejb-class&gt;</p><p><span style="white-space:pre"> </span>&lt;object-name&gt;@APPLICATION_NAME@:service=SpringInitialisationService&lt;/object-name&gt;</p><p><span style="white-space:pre"> </span>&lt;management&gt;com.smalllake.services.util.SpringInitialisationService&lt;/management&gt;</p><p><span style="white-space:pre"> </span>&lt;/service&gt;</p><p><span style="white-space:pre"> </span>&lt;/enterprise-beans&gt;</p><p>&lt;/jboss&gt;</p><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>-----------------------------------------------------------------------------------------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">java.lang.RuntimeException: java.lang.reflect.InvocationTargetException</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:381)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.ejb3.service.ServiceContainer.create(ServiceContainer.java:206)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">....</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.Main.boot(Main.java:221)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.Main$1.run(Main.java:556)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at java.lang.Thread.run(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: java.lang.reflect.InvocationTargetException</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at java.lang.reflect.Method.invoke(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 61 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [null]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProductCatalogue.ear/Services-ProductCatalogue.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:389)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at com.smalllake.services.util.SpringInitialisationServiceImpl.create(SpringInitialisationServiceImpl.java:25)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 66 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProductCatalogue.ear/Services-ProductCatalogue.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:281)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 67 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:273)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 80 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.productCatalogue' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:93)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at java.lang.reflect.Constructor.newInstance(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 82 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.productCatalogue' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 101 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:341)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 111 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:108)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:510)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:492)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:656)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:629)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:338)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 119 more</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Caused by: javax.naming.NameNotFoundException: persistence not bound</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jnp.server.NamingServer.getObject(NamingServer.java:785)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jnp.server.NamingServer.lookup(NamingServer.java:396)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at javax.naming.InitialContext.lookup(Unknown Source)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">... 133 more</div><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Error</p><p>-------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>java.lang.RuntimeException: java.lang.reflect.InvocationTargetException</p><p><span style="white-space:pre"> </span>at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:381)</p><p><span style="white-space:pre"> </span>at org.jboss.ejb3.service.ServiceContainer.create(ServiceContainer.java:206)</p><p><span style="white-space:pre"> </span>....</p><p><span style="white-space:pre"> </span>at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)</p><p><span style="white-space:pre"> </span>at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)</p><p><span style="white-space:pre"> </span>at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)</p><p><span style="white-space:pre"> </span>at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)</p><p><span style="white-space:pre"> </span>at org.jboss.Main.boot(Main.java:221)</p><p><span style="white-space:pre"> </span>at org.jboss.Main$1.run(Main.java:556)</p><p><span style="white-space:pre"> </span>at java.lang.Thread.run(Unknown Source)</p><p>Caused by: java.lang.reflect.InvocationTargetException</p><p><span style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p><span style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</p><p><span style="white-space:pre"> </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</p><p><span style="white-space:pre"> </span>at java.lang.reflect.Method.invoke(Unknown Source)</p><p><span style="white-space:pre"> </span>at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369)</p><p><span style="white-space:pre"> </span>... 61 more</p><p>Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [null]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProCat.ear/Services-ProCat.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:389)</p><p><span style="white-space:pre"> </span>at com.smalllake.services.util.SpringInitialisationServiceImpl.create(SpringInitialisationServiceImpl.java:25)</p><p><span style="white-space:pre"> </span>... 66 more</p><p>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'factoryKey' defined in URL [vfszip:/D:/JavaDev/software/jboss-5.1.0.GA/server/default/deploy/Services-ProCat.ear/Services-ProCat.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:281)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)</p><p><span style="white-space:pre"> </span>at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)</p><p><span style="white-space:pre"> </span>at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)</p><p><span style="white-space:pre"> </span>at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)</p><p><span style="white-space:pre"> </span>... 67 more</p><p>Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:273)</p><p><span style="white-space:pre"> </span>... 80 more</p><p>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'delegate.ProCat' while setting bean property 'delegate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p>Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkDatabaseHealthCmd' defined in class path resource [spring-service-commands-conf.xml]: Cannot create inner bean 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1' of type [com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.smalllake.services.products.util.healthcheck.command.CheckDatabaseConnectivityHealthCommand#e873b1': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)</p><p><span style="white-space:pre"> </span>at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)</p><p><span style="white-space:pre"> </span>at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)</p><p><span style="white-space:pre"> </span>at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)</p><p><span style="white-space:pre"> </span>at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:93)</p><p><span style="white-space:pre"> </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</p><p><span style="white-space:pre"> </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)</p><p><span style="white-space:pre"> </span>at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)</p><p><span style="white-space:pre"> </span>at java.lang.reflect.Constructor.newInstance(Unknown Source)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)</p><p><span style="white-space:pre"> </span>... 82 more</p><p>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'delegate.ProCat' defined in class path resource [spring-conf.xml]: Cannot resolve reference to bean 'dao.productOffering' while setting bean property 'productOfferingDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)</p><p><span style="white-space:pre"> </span>... 101 more</p><p>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dao.productOffering': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:341)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1055)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)</p><p><span style="white-space:pre"> </span>... 111 more</p><p>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smalllake-bopc': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:108)</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:510)</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:492)</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:656)</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:629)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:147)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)</p><p><span style="white-space:pre"> </span>at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:338)</p><p><span style="white-space:pre"> </span>... 119 more</p><p>Caused by: javax.naming.NameNotFoundException: persistence not bound</p><p><span style="white-space:pre"> </span>at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)</p><p><span style="white-space:pre"> </span>at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)</p><p><span style="white-space:pre"> </span>at org.jnp.server.NamingServer.getObject(NamingServer.java:785)</p><p><span style="white-space:pre"> </span>at org.jnp.server.NamingServer.lookup(NamingServer.java:396)</p><p><span style="white-space:pre"> </span>at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)</p><p><span style="white-space:pre"> </span>at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)</p><p><span style="white-space:pre"> </span>at javax.naming.InitialContext.lookup(Unknown Source)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:201)</p><p><span style="white-space:pre"> </span>at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:187)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)</p><p><span style="white-space:pre"> </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)</p><p><span style="white-space:pre"> </span>... 133 more</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/576880#576880">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JNDI and Naming at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>