Announcement Announcement Module
Collapse
No announcement yet.
Caching issue while upgrading Spring 2.5.6 to Spring 3.0.5 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Caching issue while upgrading Spring 2.5.6 to Spring 3.0.5

    Hi,

    I am using spring-module-cache-0.7 and OScache 2.4. When i upgrade from Spring 2.5.6 to Spring 3.0.5. I have encounted java.lang.NoClassDefFoundError: org/springframework/metadata/Attributes. After then , I have included spring-2.5.6, error wiped out and caching is not happening. Is there a way to avoid it?.I am in mid of spring upgrade to 3.0.5. Please suggest me the alternative. Thanks!

    Code:
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'cacheManager' of type [class org.springmodules.cache.provider.oscache.OsCacheManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'cacheManager' of type [class com.opensymphony.oscache.general.GeneralCacheAdministrator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'cacheProviderFacade' of type [class org.springmodules.cache.provider.oscache.OsCacheFacade] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'cachingAttributeSource' of type [class org.springmodules.cache.annotations.AnnotationCachingAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#19951995' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#1b4e1b4e' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#1d811d81' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#1f3a1f3a' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#21132113' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#22cc22cc' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#24852485' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#263e263e' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#27f727f7' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#2dc42dc4' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#32883288' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#35eb35eb' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#38183818' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#3c983c98' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springmodules.cache.provider.oscache.OsCacheCachingModel#40ad40ad' of type [class org.springmodules.cache.provider.oscache.OsCacheCachingModel] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'cachingInterceptor' of type [class org.springmodules.cache.interceptor.caching.MetadataCachingInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'cachingAttributeSourceAdvisor' of type [class org.springmodules.cache.interceptor.caching.CachingAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    INFO: Bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' of type [class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    Jan 24, 2011 11:32:41 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization

  • #2
    Any suggestions?

    Comment


    • #3
      Same Type of Problems

      I'm using Spring 3.1 and when deploying the app in Glassfish I get the following error:

      Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/metadata/Attributes|#

      No log to help out. On top of that when I deploy the same war onto tomcat it works just fine.

      Comment


      • #4
        Any suggestions Spring?

        Comment


        • #5
          Keeping previous version of jar in classpath

          Keep previous version of jar in classpath

          Comment

          Working...
          X