Announcement Announcement Module
Collapse
No announcement yet.
Sample(Acegi 0.7.0) problems Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sample(Acegi 0.7.0) problems

    I'm using tomcat 5.0 and wanted to deploy the sample provided with acegi 0.7.0. Im getting the following problem.
    SEVERE: Error listenerStart

    I didn't change anything. So anybody??

    Code:
    ..............................
    NFO: Validated configuration attributes
    1-mrt-2005 16:08:15 org.springframework.aop.framework.ProxyFactoryBean createAdvisorChain
    INFO: Bean with name 'contactManagerTarget' concluding interceptor chain is not an advisor class: treating it as a target or TargetSource
    1-mrt-2005 16:08:15 org.springframework.beans.factory.support.AbstractBeanFactory getBean
    INFO: Creating shared instance of singleton bean 'contactManagerTarget'
    1-mrt-2005 16:08:15 org.springframework.web.context.ContextLoader initWebApplicationContext
    INFO: Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
    1-mrt-2005 16:08:15 org.springframework.web.context.ContextLoader initWebApplicationContext
    INFO: Root WebApplicationContext: initialization completed in 3625 ms
    1-mrt-2005 16:08:15 org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    1-mrt-2005 16:08:15 org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    1-mrt-2005 16:08:15 org.springframework.context.support.AbstractApplicationContext close
    INFO: Closing application context [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=31703750]
    1-mrt-2005 16:08:15 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
    INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [authenticationManager,jdbcDaoImpl,passwordEncoder,daoAuthenticationProvider,cacheManager,userCacheBackend,userCache,loggerListener,basicProcessingFilter,basicProcessingFilterEntryPoint,httpSessionIntegrationFilter,channelProcessingFilter,channelDecisionManager,secureChannelProcessor,insecureChannelProcessor,securityEnforcementFilter,authenticationProcessingFilter,authenticationProcessingFilterEntryPoint,httpRequestAccessDecisionManager,filterInvocationInterceptor,dataSource,transactionManager,transactionInterceptor,dataSourcePopulator,contactDao,contactManager,contactManagerTarget,net.sf.acegisecurity.acl.basic.SimpleAclEntry.ADMINISTRATION,net.sf.acegisecurity.acl.basic.SimpleAclEntry.READ,net.sf.acegisecurity.acl.basic.SimpleAclEntry.DELETE,roleVoter,aclContactReadVoter,aclContactDeleteVoter,aclContactAdminVoter,businessAccessDecisionManager,aclManager,basicAclProvider,basicAclExtendedDao,afterInvocationManager,afterAclCollectionRead,afterAclRead,contactManagerSecurity]; root of BeanFactory hierarchy}
    1-mrt-2005 16:08:15 org.springframework.cache.ehcache.EhCacheManagerFactoryBean destroy
    INFO: Shutting down EHCache CacheManager
    1-mrt-2005 16:08:15 org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
    INFO: Destroying inner beans in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [authenticationManager,jdbcDaoImpl,passwordEncoder,daoAuthenticationProvider,cacheManager,userCacheBackend,userCache,loggerListener,basicProcessingFilter,basicProcessingFilterEntryPoint,httpSessionIntegrationFilter,channelProcessingFilter,channelDecisionManager,secureChannelProcessor,insecureChannelProcessor,securityEnforcementFilter,authenticationProcessingFilter,authenticationProcessingFilterEntryPoint,httpRequestAccessDecisionManager,filterInvocationInterceptor,dataSource,transactionManager,transactionInterceptor,dataSourcePopulator,contactDao,contactManager,contactManagerTarget,net.sf.acegisecurity.acl.basic.SimpleAclEntry.ADMINISTRATION,net.sf.acegisecurity.acl.basic.SimpleAclEntry.READ,net.sf.acegisecurity.acl.basic.SimpleAclEntry.DELETE,roleVoter,aclContactReadVoter,aclContactDeleteVoter,aclContactAdminVoter,businessAccessDecisionManager,aclManager,basicAclProvider,basicAclExtendedDao,afterInvocationManager,afterAclCollectionRead,afterAclRead,contactManagerSecurity]; root of BeanFactory hierarchy}

  • #2
    Can you try adding a recent version of log4j.jar to the WEB-INF/lib directroy. This should generate a better log (you may want to configure the location in the WEB-INF/classes/log4j.properties file.

    One problem that I did run into is related to the way the Log4J config util shipped with Spring. If you have any other Spring based WebApps try adding:
    Code:
            <context-param>
    		<param-name>webAppRootKey</param-name>
    		<param-value>contacts.root</param-value>
    	</context-param>
    to you web.xml file.
    [/code]

    Comment

    Working...
    X