Announcement Announcement Module
Collapse
No announcement yet.
spring-social-showcase keeps reloading (by itself?) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring-social-showcase keeps reloading (by itself?)

    I checked out the spring-social-showcase from the git master (https://github.com/SpringSource/spring-social-samples), and it loads just fine, i'm able to authenticate with facebook, see fb details, etc., but every minute or less, the app appears to restart itself.

    The logs say this when the app reloads:
    Code:
    INFO : org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'appServlet': initialization completed in 2063 ms
    INFO : org.springframework.web.context.support.XmlWebApplicationContext - Closing WebApplicationContext for namespace 'appServlet-servlet': startup date [Tue Apr 26 17:47:00 EDT 2011]; parent: Root WebApplicationContext
    INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@10e5285: defining beans [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.MappedInterceptor#1,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.view.UrlBasedViewResolver#0,tilesConfigurer,jdbcAccountRepository,serviceApisConfig,serviceProviderConnectionRepositoryConfig,facebookFeedController,facebookFriendsController,facebookPhotosController,facebookProfileController,homeController,signinController,signupController,tripItShowcaseController,twitterFriendsController,twitterMessageController,twitterSearchController,twitterShowcaseController,twitterTimelineController,twitterTrendsController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.social.connect.web.ConnectController#0,org.springframework.social.connect.signin.web.ProviderSignInController#0,signinService,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,defaultProperties,facebookApi,tripitApi,twitterApi,serviceProviderConnectionRepository]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@19d48bf
    INFO : org.springframework.web.context.support.XmlWebApplicationContext - Closing Root WebApplicationContext: startup date [Tue Apr 26 17:46:55 EDT 2011]; root of context hierarchy
    INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19d48bf: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,defaultProperties,org.springframework.transaction.config.internalTransactionAspect,transactionManager,jdbcTemplate,dataSource,usersServiceProviderConnectionRepository,serviceProviderConnectionFactoryLocator,org.springframework.social.showcase.config.ServiceProviderConnectionRepositoryConfig#0,org.springframework.social.showcase.config.ServiceApisConfig#0,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#1,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0,org.springframework.security.userDetailsServiceFactory,org.springframework.beans.factory.config.ListFactoryBean#0,org.springframework.security.filterChainProxy,org.springframework.security.provisioning.JdbcUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,passwordEncoder,textEncryptor,serviceProviderConnectionRepository,facebookApi,tripitApi,twitterApi]; root of factory hierarchy
    INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
    INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Apr 26 17:47:13 EDT 2011]; root of context hierarchy
    other apps are not having this problem...

  • #2
    No idea what could be causing this other than some funky IDE issue. What IDE environment / version are you deploying into? Any info about the environment and reproduce steps would be helpful.

    Comment


    • #3
      sry, i forget not everyone is using sts. it's version 2.6 with a fresh workspace. i'll try it in 2.5 and see if that makes any difference-

      Comment


      • #4
        FWIW I'm also using STS 2.6 and haven't experienced that problem. Sounds like an IDE issue, though.

        Comment

        Working...
        X