org.springframework.beans.factory.CannotLoadBeanClassException

tip

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • When i was using spring-2.0.6.jar with default-lazy-init property set to true with the same environment, the lazy loading was working perfect with out any deployment error but with the latest Spring lazy loading is not working at all. I'm getting the following error. java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService, we wont be having this particular class at Jboss loading time and non of the other beans is refers this bean definition in any of the applicationContext. The main concern is this, the same code in the same environment works perfectly with spring-2.0.6.jar but it doesn't with spring 3.1.0.RC1 14:36:51,092 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Initializing Spring root WebApplicationContext 14:36:51,094 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization started 14:36:51,198 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1961bac: startup date [Mon Nov 14 14:36:51 IST 2011]; root of context hierarchy 14:36:51,316 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,370 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,426 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'erpApplicationContext': replacing [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] with [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] 14:37:50,957 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b08b13: defining beans [erpApplicationContext]; root of factory hierarchy 14:38:43,595 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@491238: startup date [Mon Nov 14 14:38:43 IST 2011]; root of context hierarchy 14:38:43,597 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml] 14:38:43,665 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml] 14:38:43,699 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'moduleDAO': replacing [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]] with [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml]] 14:38:43,702 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-jcr.xml] 14:38:43,929 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-erpcollections.xml] 14:38:44,052 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-egf.xml] 14:38:44,242 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-pims.xml] 14:38:44,266 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-demand.xml] 14:40:42,921 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81: defining beans [genericCommonService,rbacService,roleService,userService,boundaryService,boundaryTypeService,heirarchyTypeService,cityWebsiteService,commonsService,beanProvider,egovSessionFactory,persistenceService,sequenceGenerator,appConfigValuesDAO,reportService,scriptService,scriptExecutionService,stateService,userPersistanceService,eisService,genericDao,installmentDao,moduleDAO,workflowService,errorMailService,feedbackMailService,mailMessage,mailSender,customizedWorkFlowService,personalInformationService,employeeNomineeMasterService,drawingOfficerService,relationService,accountEntityService,egItemService,contractorService,projectCodeService,depositCodeService,advocateMasterService,pensionHeaderService,authRuleService,RuleInterceptorFilter,SetSessionVarFilter,boundaryDAO,boundaryTypeDAO,heirarchyTypeDAO,cityWebsiteDAO,userDao,departmentDao,actionDao,workflowTypeService,inboxComparator,workflowAdmin,moveBoundaryDelegate,favouriteService,repository,jcrSessionFactory,password,jcrTemplate,ocmList,ocmMapper,documentManagerService,collectionsNumberGenerator,receiptHeaderService,receiptPayeeDetailsService,receiptWorkflowService,collectionCommon,collectionsUtil,financialsUtil,collectionIntegrationService,PTCollectionsInterface,TLCollectionsInterface,HLCollectionsInterface,HWLCollectionsInterface,WWLCollectionsInterface,VETLCollectionsInterface,monthlyDemandService,quarterlyDemandService,yearlyDemandService,halfyearlyDemandService,LECollectionsInterface,actualDemandService,installmentService,demandReasonService,egDemandReasonMasterService,demandDetailService,voucherCreator,egovCommon,instrumentService,instrumentHeaderService,instrumentTypeService,instrumentVouherService,bankreconciliationService,contraService,contraWorkflowService,contrajournalService,vdPersitSer,bankReconService,instrumentOtherDetailsService,eisManager,eisCommonsManager,searchPositionService,designationDao,personalInfoDao,positionService,demandDao,billDao]; root of factory hierarchy 14:40:43,012 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-1) Refreshing Root WebApplicationContext: startup date [Mon Nov 14 14:40:43 IST 2011]; parent: ApplicationContext 'erpApplicationContext' 14:40:43,018 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/security.xml] 14:40:43,072 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/erpInboxContext.xml] 14:40:43,182 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1436f66: defining beans [filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,simpleSSOFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,concurrentSessionController,daoAuthenticationProvider,anonymousAuthenticationProvider,rememberMeAuthenticationProvider,passwordEncoder,loggerListener,methodSecurityInterceptor,channelProcessingFilter,channelDecisionManager,userDetailsService,egovFilterInvocationDefinitionSource,businessAccessDecisionManager,afterInvocationManager,afterAclRead,administrationPermission,readPermission,writePermission,deletePermission,inboxService,defaultWorkflowTypeService]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81 14:40:43,188 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization completed in 232094 ms 14:40:43,542 INFO [org.displaytag.filter.ResponseOverrideFilter] (MSC service thread 1-1) Filter initialized. Response buffering is enabled 14:42:08,976 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Exception starting filter acegi_securityFilter: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:579) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:396) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1164) [org.springframework.context-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:275) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:279) [org.springframework.beans-3.1.0.RC1.jar:] at org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:142) [acegi-security-1.0.5.jar:] at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189) [acegi-security-1.0.5.jar:] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3860) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:81) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0] at java.lang.Thread.run(Thread.java:619) [:1.6.0] Caused by: java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [org.springframework.core-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [org.springframework.beans-3.1.0.RC1.jar:] The schema which used for all my spring xml as follows <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" default-lazy-init="true"> and each and every bean definition with lazy-init=true I hope this is a Major Bug ... We are really stuck of Spring migration with our new Jboss AS 7.. Please let me know if you guys need know more specific information.
    via by sreekanth,
  • When i was using spring-2.0.6.jar with default-lazy-init property set to true with the same environment, the lazy loading was working perfect with out any deployment error but with the latest Spring lazy loading is not working at all. I'm getting the following error. java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService, we wont be having this particular class at Jboss loading time and non of the other beans is refers this bean definition in any of the applicationContext. The main concern is this, the same code in the same environment works perfectly with spring-2.0.6.jar but it doesn't with spring 3.1.0.RC1 14:36:51,092 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Initializing Spring root WebApplicationContext 14:36:51,094 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization started 14:36:51,198 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1961bac: startup date [Mon Nov 14 14:36:51 IST 2011]; root of context hierarchy 14:36:51,316 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,370 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml] 14:36:53,426 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'erpApplicationContext': replacing [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/egijava.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] with [Generic bean: class [org.springframework.context.support.ClassPathXmlApplicationContext]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [vfs:/C:/Server/jboss-as-7.1.0.Alpha2-SNAPSHOT/standalone/deployments/egov.ear/lib/mappings.jar/org/egov/infstr/beanfactory/erpApplicationContext.xml]] 14:37:50,957 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b08b13: defining beans [erpApplicationContext]; root of factory hierarchy 14:38:43,595 INFO [org.springframework.context.support.ClassPathXmlApplicationContext] (MSC service thread 1-1) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@491238: startup date [Mon Nov 14 14:38:43 IST 2011]; root of context hierarchy 14:38:43,597 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml] 14:38:43,665 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml] 14:38:43,699 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Overriding bean definition for bean 'moduleDAO': replacing [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]] with [Generic bean: class [org.egov.infstr.commons.dao.ModuleHibDao]; scope=prototype; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/egov/infstr/beanfactory/egiApplicationContext.xml]] 14:38:43,702 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-jcr.xml] 14:38:43,929 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-erpcollections.xml] 14:38:44,052 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-egf.xml] 14:38:44,242 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-pims.xml] 14:38:44,266 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from class path resource [org/egov/infstr/beanfactory/applicationContext-demand.xml] 14:40:42,921 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81: defining beans [genericCommonService,rbacService,roleService,userService,boundaryService,boundaryTypeService,heirarchyTypeService,cityWebsiteService,commonsService,beanProvider,egovSessionFactory,persistenceService,sequenceGenerator,appConfigValuesDAO,reportService,scriptService,scriptExecutionService,stateService,userPersistanceService,eisService,genericDao,installmentDao,moduleDAO,workflowService,errorMailService,feedbackMailService,mailMessage,mailSender,customizedWorkFlowService,personalInformationService,employeeNomineeMasterService,drawingOfficerService,relationService,accountEntityService,egItemService,contractorService,projectCodeService,depositCodeService,advocateMasterService,pensionHeaderService,authRuleService,RuleInterceptorFilter,SetSessionVarFilter,boundaryDAO,boundaryTypeDAO,heirarchyTypeDAO,cityWebsiteDAO,userDao,departmentDao,actionDao,workflowTypeService,inboxComparator,workflowAdmin,moveBoundaryDelegate,favouriteService,repository,jcrSessionFactory,password,jcrTemplate,ocmList,ocmMapper,documentManagerService,collectionsNumberGenerator,receiptHeaderService,receiptPayeeDetailsService,receiptWorkflowService,collectionCommon,collectionsUtil,financialsUtil,collectionIntegrationService,PTCollectionsInterface,TLCollectionsInterface,HLCollectionsInterface,HWLCollectionsInterface,WWLCollectionsInterface,VETLCollectionsInterface,monthlyDemandService,quarterlyDemandService,yearlyDemandService,halfyearlyDemandService,LECollectionsInterface,actualDemandService,installmentService,demandReasonService,egDemandReasonMasterService,demandDetailService,voucherCreator,egovCommon,instrumentService,instrumentHeaderService,instrumentTypeService,instrumentVouherService,bankreconciliationService,contraService,contraWorkflowService,contrajournalService,vdPersitSer,bankReconService,instrumentOtherDetailsService,eisManager,eisCommonsManager,searchPositionService,designationDao,personalInfoDao,positionService,demandDao,billDao]; root of factory hierarchy 14:40:43,012 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-1) Refreshing Root WebApplicationContext: startup date [Mon Nov 14 14:40:43 IST 2011]; parent: ApplicationContext 'erpApplicationContext' 14:40:43,018 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/security.xml] 14:40:43,072 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/erpInboxContext.xml] 14:40:43,182 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1436f66: defining beans [filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,simpleSSOFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,concurrentSessionController,daoAuthenticationProvider,anonymousAuthenticationProvider,rememberMeAuthenticationProvider,passwordEncoder,loggerListener,methodSecurityInterceptor,channelProcessingFilter,channelDecisionManager,userDetailsService,egovFilterInvocationDefinitionSource,businessAccessDecisionManager,afterInvocationManager,afterAclRead,administrationPermission,readPermission,writePermission,deletePermission,inboxService,defaultWorkflowTypeService]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@df8f81 14:40:43,188 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization completed in 232094 ms 14:40:43,542 INFO [org.displaytag.filter.ResponseOverrideFilter] (MSC service thread 1-1) Filter initialized. Response buffering is enabled 14:42:08,976 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi]] (MSC service thread 1-1) Exception starting filter acegi_securityFilter: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:579) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:396) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1164) [org.springframework.context-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:275) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:279) [org.springframework.beans-3.1.0.RC1.jar:] at org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:142) [acegi-security-1.0.5.jar:] at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189) [acegi-security-1.0.5.jar:] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3860) [jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:81) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0] at java.lang.Thread.run(Thread.java:619) [:1.6.0] Caused by: java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [org.springframework.core-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [org.springframework.beans-3.1.0.RC1.jar:] The schema which used for all my spring xml as follows <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" default-lazy-init="true"> and each and every bean definition with lazy-init=true I hope this is a Major Bug ... We are really stuck of Spring migration with our new Jboss AS 7.. Please let me know if you guys need know more specific information.
    via by sreekanth,
  • Waffle as a module in Jboss 7.1
    via Stack Overflow by pjuanmg
    ,
  • JBOSS 7.1.1 Spring CXF error
    via by Unknown author,
  • From 3.2.3 version i'm running in to problems where it try to load the unrelated objects as well I'm getting the following exception for this. {noformat} [31m16:23:08,045 ERROR [org.apache.struts2.dispatcher.Dispatcher] (http-localhost/127.0.0.1:8080-1) Exception occurred during processing request: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) [struts2-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.jar:2.3.15] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) [spring-modules-jcr-0.9patch.jar:0.9-20080306135025] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetSessionVarFilter.doFilter(SetSessionVarFilter.java:108) [egov-egi.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.egov.infstr.security.spring.filter.SimpleSSOFilter.doFilter(SimpleSSOFilter.java:150) [egov-egi.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.HibSessionServletFilter.doFilter(HibSessionServletFilter.java:60) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetThreadLocals.doFilter(SetThreadLocals.java:53) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:85) [ehcache-web-2.0.3.jar:] at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86) [ehcache-web-2.0.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1454) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1146) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1096) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:376) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:203) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:183) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:154) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297) [xwork-core-2.3.15.jar:2.3.15] ... 75 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1209) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:455) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:241) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 88 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1275) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:191) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:895) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 98 more Caused by: java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.springframework.util.ClassUtils.forName(ClassUtils.java:260) [spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1267) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 108 more {noformat} When i try to inject fileService it also try to load some other object which is not at all related to fileService (or any dependency services) *Here i know the bean definitionsetting for MethodSecurityInterceptor is WRONG* but if you see the error log its showing CNFException for some other classes which exist in some other applicationContext which is lazy-loaded and have no referenced to MethodSecurityInterceptor or any other beans. {noformat} <bean id="fileService" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="target" ref="fileServiceTarget" /> <property name="interceptorNames"> <list> <value>aclMethodSecurityInterceptor</value> </list> </property> <property name="proxyTargetClass" value="true"/> </bean> <bean id="fileServiceTarget" parent="persistenceService" autowire-candidate="true" autowire="byName" class="org.egov.dms.services.FileService" > <property name="type" value="org.egov.dms.models.GenericFile" /> </bean> <bean id="aclObjectReadVoter" name="aclObjectReadVoter" class="org.egov.dms.acl.DocumentAclVoter" scope="prototype"> <constructor-arg ref="persistenceService"/> <constructor-arg value="ACL_OBJECT_READ"/> <constructor-arg> <list> <ref bean="readPermission"/> </list> </constructor-arg> <property name="eisService" ref="eisService"/> <property name="rbacManager" ref="rbacMgr"/> </bean> <bean id="aclMethodSecurityInterceptor" name="aclMethodSecurityInterceptor" class="org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor"> <property name="accessDecisionManager" ref="businessAccessDecisionManager"/> <property name="afterInvocationManager" ref="afterInvocationManager"/> <property name="objectDefinitionSource" value="org.egov.dms.services.FileService.*=ACL_USER_READ"/> </bean> <!-- ACL --> <bean id="businessAccessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased"> <property name="allowIfAllAbstainDecisions" value="false" /> <property name="decisionVoters"> <list> <ref bean="aclObjectReadVoter" /> </list> </property> </bean> <bean id="afterInvocationManager" class="org.springframework.security.access.intercept.AfterInvocationProviderManager"> <property name="providers"> <list> <ref local="afterAclRead" /> </list> </property> </bean> <bean id="afterAclRead" class="org.egov.infstr.security.spring.acl.GenericAclProvider" scope="prototype"> <constructor-arg ref="persistenceService" /> <constructor-arg> <list> <ref bean="readPermission" /> </list> </constructor-arg> </bean> <bean id="administrationPermission" name="administrationPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.ADMINISTRATION" /> </bean> <bean id="readPermission" name="readPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.READ" /> </bean> <bean id="writePermission" name="writePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.WRITE" /> </bean> <bean id="deletePermission" name="deletePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.DELETE" /> </bean> {noformat}
    via by sreekanth,
  • From 3.2.3 version i'm running in to problems where it try to load the unrelated objects as well I'm getting the following exception for this. {noformat} [31m16:23:08,045 ERROR [org.apache.struts2.dispatcher.Dispatcher] (http-localhost/127.0.0.1:8080-1) Exception occurred during processing request: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]: Unable to instantiate Action, org.egov.web.actions.dms.FileManagementAction, defined for 'fileManagement' in namespace '/dms'Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:397) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:194) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) [struts2-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) [xwork-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.jar:2.3.15] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.jar:2.3.15] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) [spring-modules-jcr-0.9patch.jar:0.9-20080306135025] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetSessionVarFilter.doFilter(SetSessionVarFilter.java:108) [egov-egi.jar:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.egov.infstr.security.spring.filter.SimpleSSOFilter.doFilter(SimpleSSOFilter.java:150) [egov-egi.jar:] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.HibSessionServletFilter.doFilter(HibSessionServletFilter.java:60) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.egov.infstr.client.filter.SetThreadLocals.doFilter(SetThreadLocals.java:53) [egov-egi.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:85) [ehcache-web-2.0.3.jar:] at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86) [ehcache-web-2.0.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1454) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1146) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1096) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:376) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.opensymphony.xwork2.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:203) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:183) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:154) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:151) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:121) [xwork-core-2.3.15.jar:2.3.15] at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:297) [xwork-core-2.3.15.jar:2.3.15] ... 75 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aclMethodSecurityInterceptor' defined in ServletContext resource [/WEB-INF/applicationContext-dms.xml]: Unsatisfied dependency expressed through bean property 'authenticationManager': : Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1209) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.initializeAdvisorChain(ProxyFactoryBean.java:455) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:241) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 88 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.erpcollection.util.CollectionsNumberGenerator] for bean with name 'collectionsNumberGenerator' defined in class path resource [config/spring/applicationContext-erpcollections.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1275) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1344) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:356) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:335) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:191) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:895) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1194) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 98 more Caused by: java.lang.ClassNotFoundException: org.egov.erpcollection.util.CollectionsNumberGenerator from [Module "deployment.egov.ear.egiweb.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.springframework.util.ClassUtils.forName(ClassUtils.java:260) [spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:416) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1296) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1267) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 108 more {noformat} When i try to inject fileService it also try to load some other object which is not at all related to fileService (or any dependency services) *Here i know the bean definitionsetting for MethodSecurityInterceptor is WRONG* but if you see the error log its showing CNFException for some other classes which exist in some other applicationContext which is lazy-loaded and have no referenced to MethodSecurityInterceptor or any other beans. {noformat} <bean id="fileService" class="org.springframework.aop.framework.ProxyFactoryBean"> <property name="target" ref="fileServiceTarget" /> <property name="interceptorNames"> <list> <value>aclMethodSecurityInterceptor</value> </list> </property> <property name="proxyTargetClass" value="true"/> </bean> <bean id="fileServiceTarget" parent="persistenceService" autowire-candidate="true" autowire="byName" class="org.egov.dms.services.FileService" > <property name="type" value="org.egov.dms.models.GenericFile" /> </bean> <bean id="aclObjectReadVoter" name="aclObjectReadVoter" class="org.egov.dms.acl.DocumentAclVoter" scope="prototype"> <constructor-arg ref="persistenceService"/> <constructor-arg value="ACL_OBJECT_READ"/> <constructor-arg> <list> <ref bean="readPermission"/> </list> </constructor-arg> <property name="eisService" ref="eisService"/> <property name="rbacManager" ref="rbacMgr"/> </bean> <bean id="aclMethodSecurityInterceptor" name="aclMethodSecurityInterceptor" class="org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor"> <property name="accessDecisionManager" ref="businessAccessDecisionManager"/> <property name="afterInvocationManager" ref="afterInvocationManager"/> <property name="objectDefinitionSource" value="org.egov.dms.services.FileService.*=ACL_USER_READ"/> </bean> <!-- ACL --> <bean id="businessAccessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased"> <property name="allowIfAllAbstainDecisions" value="false" /> <property name="decisionVoters"> <list> <ref bean="aclObjectReadVoter" /> </list> </property> </bean> <bean id="afterInvocationManager" class="org.springframework.security.access.intercept.AfterInvocationProviderManager"> <property name="providers"> <list> <ref local="afterAclRead" /> </list> </property> </bean> <bean id="afterAclRead" class="org.egov.infstr.security.spring.acl.GenericAclProvider" scope="prototype"> <constructor-arg ref="persistenceService" /> <constructor-arg> <list> <ref bean="readPermission" /> </list> </constructor-arg> </bean> <bean id="administrationPermission" name="administrationPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.ADMINISTRATION" /> </bean> <bean id="readPermission" name="readPermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.READ" /> </bean> <bean id="writePermission" name="writePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.WRITE" /> </bean> <bean id="deletePermission" name="deletePermission" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="staticField" value="org.springframework.security.acls.domain.BasePermission.DELETE" /> </bean> {noformat}
    via by sreekanth,
    • org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.egov.pims.service.EisUtilService] for bean with name 'eisService' defined in class path resource [org/egov/infstr/beanfactory/globalApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:579)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:396)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1164)[org.springframework.context-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:275)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:279)[org.springframework.beans-3.1.0.RC1.jar:] at org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:142)[acegi-security-1.0.5.jar:] at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189)[acegi-security-1.0.5.jar:] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447)[jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269)[jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3860)[jbossweb-7.0.2.Final.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:81)[jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)[:1.6.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)[:1.6.0] at java.lang.Thread.run(Thread.java:619)[:1.6.0] Caused by: java.lang.ClassNotFoundException: org.egov.pims.service.EisUtilService from [Module "deployment.egov.ear.egiadmin.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)[org.springframework.core-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)[org.springframework.beans-3.1.0.RC1.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)[org.springframework.beans-3.1.0.RC1.jar:]

    Users with the same issue

    Andreas HäberAndreas Häber
    2 times, last one,
    ivanszkypeterivanszkypeter
    1 times, last one,
    MoYaproMoYapro
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    andyglickandyglick
    92 times, last one,
    81 more bugmates