0 Replies Latest reply on Jun 28, 2010 2:11 PM by 780808

    Deploy app with JPA Query errors

    780808
      Hello,
      I'm trying to deploy an application into weblogic 11g (10.3.3). The application uses JPA 1.0 for the persistence, Spring 3.01 for the business and JSF 1.2 for the view layer. The JPA Provider used in this app, is Hibernate. This application deploys fine in tomcat, but in weblogic I get an error on my named queries.
      The error is Caused By: org.hibernate.HibernateException: Errors in named queries
      I know that is seems to be an hibernate problem, but it only occurs in weblogic.
      Any idea whats going on ?

      Thanks.

      Here's the full stack trace.
      javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
           at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
           at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
           at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
           at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
           at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
           at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
           at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
           at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

      Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [zip:C:/java/servers/Oracle/Middleware/user_projects/domains/base_domain/servers/softway/tmp/_WL_user/sfw-poc-condicao-pagamento-web/rrg25b/war/WEB-INF/lib/sfw-service-eao-0.0.1-SNAPSHOT.jar!/applicationContext-service-eao.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
           at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
           at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
           at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
           at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
           at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
           at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
           at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
           at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
           at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
           at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
           at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
           at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
           at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

      Caused By: javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
           at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
           at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
           at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
           at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
           at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
           at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
           at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
           at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
           at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
           at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
           at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
           at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
           at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
           at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
           at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
           at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

      Caused By: org.hibernate.HibernateException: Errors in named queries: SwUsuario.findUserSystems, SwArmazenamentoArquivo.findAll, SwMetadataColConstDomain.findAll, SwModalidadeTransacao.findAll, SwReportCategory.findAll, SwMenu.findUserMenus, SwOperacao.findAll, SwUtilizacaoSenha.findAll, SwReportType.findAll, SwModalidadeTransacaoIdiom.findAll, SwReportFilter.findAll, SwReportField.findAll, SwSistema.findAll, SwDireitoGrupo.findAll, SwUsuario.findAll, SwMetadataColConstraints.findAll, SwTipoParcela.findAll, SwLogAcesso.findAll, SwUtilizacaoSenha.findByUserName, SwReportTypeField.findAll, SwModulo.findAll, SwField.findAll, SwMetadata.findAll, SwReport.findAll, SwUtilizacaoSenha.findByDay, SwReportTypeEntity.findAll, SwEntity.findAll, SfwLock.findAll, SwMetadataColumns.findAll, SwGrupo.findAll, SwIdioma.findAll, SwSistemaGrupo.findAll, SwMenu.findAll
           at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:407)
           at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
           at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
           at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
           at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
           at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
           at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
           at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
           at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
           at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
           at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
           at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
           at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
           at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
           at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
           at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
           at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
           at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
           at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
           at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
           at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
           at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

      What