resin中SpringSecurity启动了2次。

日志内容:

Resin-3.1.s081219 (built Fri, 19 Dec 2008 09:54:59 PST)

Copyright(c) 1998-2008 Caucho Technology.  All rights reserved.



Starting Resin on Sat, 10 Sep 2011 12:47:07 +0800 (CST)



  Resin Professional has not found any valid licenses.

  Licenses belong in D:\resin3.1.s081219\licenses.

  See http://www.caucho.com/sales for licensing information.



Using Resin Open Source under the GNU Public License (GPL).



  See http://www.caucho.com for information on Resin Professional.



[12:47:09.250] {main} 

[12:47:09.250] {main} Windows XP 5.1 x86

[12:47:09.250] {main} Java(TM) SE Runtime Environment 1.6.0_17-b04, GBK, zh

[12:47:09.265] {main} Java HotSpot(TM) Client VM 14.3-b01, 32, mixed mode, sharing, Sun Microsystems Inc.

[12:47:09.265] {main} user.name: Administrator

[12:47:09.265] {main} resin.home = D:\resin3.1.s081219

[12:47:09.265] {main} resin.root = D:\resin3.1.s081219

[12:47:09.265] {main} resin.conf = /D:/resin3.1.s081219/conf/resin.conf

[12:47:09.265] {main} 

[12:47:09.515] {main} WebApp[http://localhost:8080] active

[12:47:09.625] {main} WebApp[http://localhost:8080/resin-admin] active

log4j:ERROR Could not find value for key log4j.appender.waring

log4j:ERROR Could not instantiate appender named "waring".

[12:47:10.375] {main} WebApp[http://localhost:8080/WebSite] Initializing Spring root WebApplicationContext

2011-09-10 12:47:10,375 INFO org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:178)  - Root WebApplicationContext: initialization started

2011-09-10 12:47:10,421 INFO org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:378)  - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@18f1be9: display name [Root WebApplicationContext]; startup date [Sat Sep 10 12:47:10 CST 2011]; root of context hierarchy

2011-09-10 12:47:10,531 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)  - Loading XML bean definitions from file [D:\resin3.1.s081219\webapps\WebSite\WEB-INF\classes\applicationContext.xml]

2011-09-10 12:47:11,406 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)  - Loading XML bean definitions from file [D:\resin3.1.s081219\webapps\WebSite\WEB-INF\classes\applicationContextACGI.xml]

2011-09-10 12:47:11,562 INFO org.springframework.security.config.HttpSecurityBeanDefinitionParser.registerConcurrentSessionControlBeansIfRequired(HttpSecurityBeanDefinitionParser.java:262)  - Concurrent session filter in use, setting 'forceEagerSessionCreation' to true

2011-09-10 12:47:11,609 INFO org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:393)  - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@18f1be9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@13515e

2011-09-10 12:47:11,734 INFO org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker.postProcessAfterInitialization(AbstractApplicationContext.java:1006)  - Bean '_filterChainProxyPostProcessor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2011-09-10 12:47:11,750 INFO org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker.postProcessAfterInitialization(AbstractApplicationContext.java:1006)  - Bean '_entryPointInjectionBeanPostProcessor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2011-09-10 12:47:11,750 INFO org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker.postProcessAfterInitialization(AbstractApplicationContext.java:1006)  - Bean '_userServiceInjectionPostProcessor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2011-09-10 12:47:11,781 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@13515e: defining beans [dataSource,sessionFactory,UpResourceDAO,NewsServices,ResourceServices,UpInfoDAO,PaginationDAO,messageSource,userCache,cacheManager,userEhCache,_authenticationManager,_filterChainProxy,_httpSessionContextIntegrationFilter,_filterChainProxyPostProcessor,_filterChainList,_securityContextHolderAwareRequestFilter,_accessManager,_portMapper,_exceptionTranslationFilter,_filterSecurityInterceptor,_sessionRegistry,_concurrentSessionController,_concurrentSessionFilter,_sessionFixationProtectionFilter,_logoutFilter,_entryPointInjectionBeanPostProcessor,_userServiceInjectionPostProcessor,org.springframework.security.providers.dao.DaoAuthenticationProvider,org.springframework.security.config.AuthenticationProviderBeanDefinitionParser$AuthenticationProviderCacheResolver,authenticationProcessingFilterEntryPoint,authenticationProcessingFilter,services,userDetailsService,filterSecurityInterceptor,filterInvocationDefinitionSource,loggerListener]; root of factory hierarchy

2011-09-10 12:47:11,796 INFO org.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:153)  - Loaded JDBC driver: net.sourceforge.jtds.jdbc.Driver

2011-09-10 12:47:11,859 INFO org.hibernate.cfg.Environment.(Environment.java:479)  - Hibernate 3.1.3

2011-09-10 12:47:11,875 INFO org.hibernate.cfg.Environment.(Environment.java:509)  - hibernate.properties not found

2011-09-10 12:47:11,875 INFO org.hibernate.cfg.Environment.(Environment.java:525)  - using CGLIB reflection optimizer

2011-09-10 12:47:11,875 INFO org.hibernate.cfg.Environment.(Environment.java:555)  - using JDK 1.4 java.sql.Timestamp handling

2011-09-10 12:47:12,484 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: test.UpResource -> UP_RESOURCE

2011-09-10 12:47:12,562 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: thtf.ebuilder.website.bean.UP_INFO -> UP_INFO

2011-09-10 12:47:12,609 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: thtf.ebuilder.website.bean.UP_RESOURCE -> UP_RESOURCE

2011-09-10 12:47:12,640 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: thtf.website.infomation.UpInfo -> UP_INFO

2011-09-10 12:47:12,640 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:743)  - Building new Hibernate SessionFactory

2011-09-10 12:47:12,765 INFO org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:72)  - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider

2011-09-10 12:47:12,968 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)  - RDBMS: Microsoft SQL Server, version: 09.00.1399

2011-09-10 12:47:12,968 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:78)  - JDBC driver: jTDS Type 4 JDBC Driver for MS SQL Server and Sybase, version: 1.2.5

2011-09-10 12:47:13,031 INFO org.hibernate.dialect.Dialect.(Dialect.java:103)  - Using dialect: org.hibernate.dialect.SQLServerDialect

2011-09-10 12:47:13,046 INFO org.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:31)  - Using default transaction strategy (direct JDBC transactions)

2011-09-10 12:47:13,062 INFO org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:33)  - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)

2011-09-10 12:47:13,062 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:125)  - Automatic flush during beforeCompletion(): disabled

2011-09-10 12:47:13,062 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:129)  - Automatic session close at end of transaction: disabled

2011-09-10 12:47:13,062 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:144)  - Scrollable result sets: enabled

2011-09-10 12:47:13,062 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:152)  - JDBC3 getGeneratedKeys(): enabled

2011-09-10 12:47:13,062 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:160)  - Connection release mode: on_close

2011-09-10 12:47:13,062 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:187)  - Default batch fetch size: 1

2011-09-10 12:47:13,078 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:191)  - Generate SQL with comments: disabled

2011-09-10 12:47:13,078 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:195)  - Order SQL updates by primary key: disabled

2011-09-10 12:47:13,078 INFO org.hibernate.cfg.SettingsFactory.createQueryTranslatorFactory(SettingsFactory.java:338)  - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

2011-09-10 12:47:13,078 INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory.(ASTQueryTranslatorFactory.java:24)  - Using ASTQueryTranslatorFactory

2011-09-10 12:47:13,093 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:203)  - Query language substitutions: {}

2011-09-10 12:47:13,109 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:209)  - Second-level cache: enabled

2011-09-10 12:47:13,109 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:213)  - Query cache: disabled

2011-09-10 12:47:13,109 INFO org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:325)  - Cache provider: org.hibernate.cache.EhCacheProvider

2011-09-10 12:47:13,109 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:228)  - Optimize cache for minimal puts: disabled

2011-09-10 12:47:13,109 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:237)  - Structured second-level cache entries: disabled

2011-09-10 12:47:13,140 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:257)  - Echoing all SQL to stdout

2011-09-10 12:47:13,140 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:264)  - Statistics: disabled

2011-09-10 12:47:13,140 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:268)  - Deleted entity synthetic identifier rollback: disabled

2011-09-10 12:47:13,140 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:283)  - Default entity-mode: pojo

2011-09-10 12:47:13,187 INFO org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:154)  - building session factory

2011-09-10 12:47:14,031 INFO org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:82)  - Not binding factory to JNDI, no JNDI name configured

2011-09-10 12:47:14,109 INFO org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:100)  - Initializing EHCache CacheManager

2011-09-10 12:47:14,109 WARN net.sf.ehcache.CacheManager.detectAndFixDiskStorePathConflict(CacheManager.java:322)  - Creating a new instance of CacheManager using the diskStorePath "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\" which is already used by an existing CacheManager.

The source of the configuration was classpath.

The diskStore path for this CacheManager will be set to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\\ehcache_auto_created_1315630034109.

To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.

2011-09-10 12:47:14,187 INFO org.springframework.security.config.EntryPointInjectionBeanPostProcessor.postProcessBeforeInitialization(EntryPointInjectionBeanPostProcessor.java:30)  - Selecting AuthenticationEntryPoint for use in ExceptionTranslationFilter

2011-09-10 12:47:14,203 INFO org.springframework.security.config.EntryPointInjectionBeanPostProcessor.postProcessBeforeInitialization(EntryPointInjectionBeanPostProcessor.java:38)  - Using main configured AuthenticationEntryPoint.

2011-09-10 12:47:14,203 INFO org.springframework.security.config.EntryPointInjectionBeanPostProcessor.postProcessBeforeInitialization(EntryPointInjectionBeanPostProcessor.java:46)  - Using bean 'org.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint@12478a9' as the entry point.

2011-09-10 12:47:14,390 INFO org.springframework.security.intercept.AbstractSecurityInterceptor.afterPropertiesSet(AbstractSecurityInterceptor.java:216)  - Validated configuration attributes

2011-09-10 12:47:14,515 INFO org.springframework.security.intercept.AbstractSecurityInterceptor.afterPropertiesSet(AbstractSecurityInterceptor.java:216)  - Validated configuration attributes

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:57)  - Checking sorted filter chain: [org.springframework.security.concurrent.ConcurrentSessionFilter[ order=100; ], org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ], org.springframework.security.ui.logout.LogoutFilter[ order=300; ], OrderedFilterDecorator[ delegate=org.springframework.security.ui.webapp.AuthenticationFilter[ order=700; ]; order=700], org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1100; ], org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ], org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600; ], OrderedFilterDecorator[ delegate=org.springframework.security.intercept.web.FilterSecurityInterceptor@12ae2bc; order=1699], org.springframework.security.intercept.web.FilterSecurityInterceptor@8bd98e]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:74)  - Filter chain...

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [0] - org.springframework.security.concurrent.ConcurrentSessionFilter[ order=100; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [1] - org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [2] - org.springframework.security.ui.logout.LogoutFilter[ order=300; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [3] - org.springframework.security.ui.webapp.AuthenticationFilter[ order=700; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [4] - org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1100; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [5] - org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [6] - org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600; ]

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [7] - org.springframework.security.intercept.web.FilterSecurityInterceptor@12ae2bc

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [8] - org.springframework.security.intercept.web.FilterSecurityInterceptor@8bd98e

2011-09-10 12:47:14,531 WARN org.springframework.security.config.FilterChainProxyPostProcessor.checkForDuplicates(FilterChainProxyPostProcessor.java:117)  - Possible error: Filters at position 7 and 8 are both instances of org.springframework.security.intercept.web.FilterSecurityInterceptor

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.checkLoginPageIsntProtected(FilterChainProxyPostProcessor.java:134)  - Checking whether login URL '/admin/logon.jsp' is accessible with your configuration

2011-09-10 12:47:14,531 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:91)  - FilterChainProxy: FilterChainProxy[ UrlMatcher = org.springframework.security.util.AntUrlPathMatcher[requiresLowerCase='true']; Filter Chains: {/admin/logon.jsp=[], /**=[org.springframework.security.concurrent.ConcurrentSessionFilter[ order=100; ], org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ], org.springframework.security.ui.logout.LogoutFilter[ order=300; ], org.springframework.security.ui.webapp.AuthenticationFilter[ order=700; ], org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1100; ], org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ], org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600; ], org.springframework.security.intercept.web.FilterSecurityInterceptor@12ae2bc, org.springframework.security.intercept.web.FilterSecurityInterceptor@8bd98e]}]

2011-09-10 12:47:14,562 INFO org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)  - Root WebApplicationContext: initialization completed in 4187 ms

2011-09-10 12:47:14,609 INFO org.directwebremoting.impl.StartupUtil.logStartup(StartupUtil.java:157)  - Starting: DwrServlet v3.0.0-RC2-final-312 on Resin/3.1.s081219 / JDK 1.6.0_17 from Sun Microsystems Inc. at /WebSite

2011-09-10 12:47:15,078 INFO org.directwebremoting.impl.DefaultConverterManager.addConverter(DefaultConverterManager.java:87)  - Probably not an issue: java.io.File is not available so the File converter will not load. This is only an problem if you wanted to use it.

[12:47:15.093] {main} WebApp[http://localhost:8080/WebSite] active

log4j:ERROR Could not find value for key log4j.appender.waring

log4j:ERROR Could not instantiate appender named "waring".

[12:47:15.640] {main} WebApp[http://localhost:8080/WebSite.myeclipse.bak] Initializing Spring root WebApplicationContext

2011-09-10 12:47:15,656 INFO org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:178)  - Root WebApplicationContext: initialization started

2011-09-10 12:47:15,687 INFO org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:378)  - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@6d06b0: display name [Root WebApplicationContext]; startup date [Sat Sep 10 12:47:15 CST 2011]; root of context hierarchy

2011-09-10 12:47:15,781 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)  - Loading XML bean definitions from file [D:\resin3.1.s081219\webapps\WebSite.myeclipse.bak\WEB-INF\classes\applicationContext.xml]

2011-09-10 12:47:16,796 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)  - Loading XML bean definitions from file [D:\resin3.1.s081219\webapps\WebSite.myeclipse.bak\WEB-INF\classes\applicationContextACGI.xml]

2011-09-10 12:47:16,953 INFO org.springframework.security.config.HttpSecurityBeanDefinitionParser.registerConcurrentSessionControlBeansIfRequired(HttpSecurityBeanDefinitionParser.java:262)  - Concurrent session filter in use, setting 'forceEagerSessionCreation' to true

2011-09-10 12:47:17,000 INFO org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:393)  - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@6d06b0]: org.springframework.beans.factory.support.DefaultListableBeanFactory@12dcb8c

2011-09-10 12:47:17,109 INFO org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker.postProcessAfterInitialization(AbstractApplicationContext.java:1006)  - Bean '_filterChainProxyPostProcessor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2011-09-10 12:47:17,109 INFO org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker.postProcessAfterInitialization(AbstractApplicationContext.java:1006)  - Bean '_entryPointInjectionBeanPostProcessor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2011-09-10 12:47:17,125 INFO org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker.postProcessAfterInitialization(AbstractApplicationContext.java:1006)  - Bean '_userServiceInjectionPostProcessor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2011-09-10 12:47:17,156 INFO org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@12dcb8c: defining beans [dataSource,sessionFactory,UpResourceDAO,NewsServices,ResourceServices,UpInfoDAO,PaginationDAO,messageSource,userCache,cacheManager,userEhCache,_authenticationManager,_filterChainProxy,_httpSessionContextIntegrationFilter,_filterChainProxyPostProcessor,_filterChainList,_securityContextHolderAwareRequestFilter,_accessManager,_portMapper,_exceptionTranslationFilter,_filterSecurityInterceptor,_sessionRegistry,_concurrentSessionController,_concurrentSessionFilter,_sessionFixationProtectionFilter,_logoutFilter,_entryPointInjectionBeanPostProcessor,_userServiceInjectionPostProcessor,org.springframework.security.providers.dao.DaoAuthenticationProvider,org.springframework.security.config.AuthenticationProviderBeanDefinitionParser$AuthenticationProviderCacheResolver,authenticationProcessingFilterEntryPoint,authenticationProcessingFilter,services,userDetailsService,filterSecurityInterceptor,filterInvocationDefinitionSource,loggerListener]; root of factory hierarchy

2011-09-10 12:47:17,171 INFO org.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:153)  - Loaded JDBC driver: net.sourceforge.jtds.jdbc.Driver

2011-09-10 12:47:17,234 INFO org.hibernate.cfg.Environment.(Environment.java:479)  - Hibernate 3.1.3

2011-09-10 12:47:17,234 INFO org.hibernate.cfg.Environment.(Environment.java:509)  - hibernate.properties not found

2011-09-10 12:47:17,234 INFO org.hibernate.cfg.Environment.(Environment.java:525)  - using CGLIB reflection optimizer

2011-09-10 12:47:17,234 INFO org.hibernate.cfg.Environment.(Environment.java:555)  - using JDK 1.4 java.sql.Timestamp handling

2011-09-10 12:47:17,546 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: test.UpResource -> UP_RESOURCE

2011-09-10 12:47:17,593 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: thtf.ebuilder.website.bean.UP_INFO -> UP_INFO

2011-09-10 12:47:17,609 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: thtf.ebuilder.website.bean.UP_RESOURCE -> UP_RESOURCE

2011-09-10 12:47:17,640 INFO org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:309)  - Mapping class: thtf.website.infomation.UpInfo -> UP_INFO

2011-09-10 12:47:17,640 INFO org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:743)  - Building new Hibernate SessionFactory

2011-09-10 12:47:17,734 INFO org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:72)  - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider

2011-09-10 12:47:17,750 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)  - RDBMS: Microsoft SQL Server, version: 09.00.1399

2011-09-10 12:47:17,750 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:78)  - JDBC driver: jTDS Type 4 JDBC Driver for MS SQL Server and Sybase, version: 1.2.5

2011-09-10 12:47:17,765 INFO org.hibernate.dialect.Dialect.(Dialect.java:103)  - Using dialect: org.hibernate.dialect.SQLServerDialect

2011-09-10 12:47:17,781 INFO org.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:31)  - Using default transaction strategy (direct JDBC transactions)

2011-09-10 12:47:17,796 INFO org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:33)  - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)

2011-09-10 12:47:17,796 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:125)  - Automatic flush during beforeCompletion(): disabled

2011-09-10 12:47:17,796 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:129)  - Automatic session close at end of transaction: disabled

2011-09-10 12:47:17,796 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:144)  - Scrollable result sets: enabled

2011-09-10 12:47:17,796 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:152)  - JDBC3 getGeneratedKeys(): enabled

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:160)  - Connection release mode: on_close

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:187)  - Default batch fetch size: 1

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:191)  - Generate SQL with comments: disabled

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:195)  - Order SQL updates by primary key: disabled

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.createQueryTranslatorFactory(SettingsFactory.java:338)  - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

2011-09-10 12:47:17,812 INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory.(ASTQueryTranslatorFactory.java:24)  - Using ASTQueryTranslatorFactory

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:203)  - Query language substitutions: {}

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:209)  - Second-level cache: enabled

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:213)  - Query cache: disabled

2011-09-10 12:47:17,812 INFO org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:325)  - Cache provider: org.hibernate.cache.EhCacheProvider

2011-09-10 12:47:17,828 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:228)  - Optimize cache for minimal puts: disabled

2011-09-10 12:47:17,828 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:237)  - Structured second-level cache entries: disabled

2011-09-10 12:47:17,828 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:257)  - Echoing all SQL to stdout

2011-09-10 12:47:17,828 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:264)  - Statistics: disabled

2011-09-10 12:47:17,843 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:268)  - Deleted entity synthetic identifier rollback: disabled

2011-09-10 12:47:17,843 INFO org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:283)  - Default entity-mode: pojo

2011-09-10 12:47:17,875 INFO org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:154)  - building session factory

2011-09-10 12:47:18,500 INFO org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:82)  - Not binding factory to JNDI, no JNDI name configured

2011-09-10 12:47:18,562 INFO org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:100)  - Initializing EHCache CacheManager

2011-09-10 12:47:18,562 WARN net.sf.ehcache.CacheManager.detectAndFixDiskStorePathConflict(CacheManager.java:322)  - Creating a new instance of CacheManager using the diskStorePath "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\" which is already used by an existing CacheManager.

The source of the configuration was classpath.

The diskStore path for this CacheManager will be set to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\\ehcache_auto_created_1315630038562.

To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.

2011-09-10 12:47:18,640 INFO org.springframework.security.config.EntryPointInjectionBeanPostProcessor.postProcessBeforeInitialization(EntryPointInjectionBeanPostProcessor.java:30)  - Selecting AuthenticationEntryPoint for use in ExceptionTranslationFilter

2011-09-10 12:47:18,640 INFO org.springframework.security.config.EntryPointInjectionBeanPostProcessor.postProcessBeforeInitialization(EntryPointInjectionBeanPostProcessor.java:38)  - Using main configured AuthenticationEntryPoint.

2011-09-10 12:47:18,640 INFO org.springframework.security.config.EntryPointInjectionBeanPostProcessor.postProcessBeforeInitialization(EntryPointInjectionBeanPostProcessor.java:46)  - Using bean 'org.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint@754384' as the entry point.

2011-09-10 12:47:18,953 INFO org.springframework.security.intercept.AbstractSecurityInterceptor.afterPropertiesSet(AbstractSecurityInterceptor.java:216)  - Validated configuration attributes

2011-09-10 12:47:19,062 INFO org.springframework.security.intercept.AbstractSecurityInterceptor.afterPropertiesSet(AbstractSecurityInterceptor.java:216)  - Validated configuration attributes

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:57)  - Checking sorted filter chain: [org.springframework.security.concurrent.ConcurrentSessionFilter[ order=100; ], org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ], org.springframework.security.ui.logout.LogoutFilter[ order=300; ], OrderedFilterDecorator[ delegate=org.springframework.security.ui.webapp.AuthenticationFilter[ order=700; ]; order=700], org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1100; ], org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ], org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600; ], OrderedFilterDecorator[ delegate=org.springframework.security.intercept.web.FilterSecurityInterceptor@ec77cb; order=1699], org.springframework.security.intercept.web.FilterSecurityInterceptor@acd5d4]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:74)  - Filter chain...

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [0] - org.springframework.security.concurrent.ConcurrentSessionFilter[ order=100; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [1] - org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [2] - org.springframework.security.ui.logout.LogoutFilter[ order=300; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [3] - org.springframework.security.ui.webapp.AuthenticationFilter[ order=700; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [4] - org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1100; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [5] - org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [6] - org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600; ]

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [7] - org.springframework.security.intercept.web.FilterSecurityInterceptor@ec77cb

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:78)  - [8] - org.springframework.security.intercept.web.FilterSecurityInterceptor@acd5d4

2011-09-10 12:47:19,062 WARN org.springframework.security.config.FilterChainProxyPostProcessor.checkForDuplicates(FilterChainProxyPostProcessor.java:117)  - Possible error: Filters at position 7 and 8 are both instances of org.springframework.security.intercept.web.FilterSecurityInterceptor

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.checkLoginPageIsntProtected(FilterChainProxyPostProcessor.java:134)  - Checking whether login URL '/admin/logon.jsp' is accessible with your configuration

2011-09-10 12:47:19,062 INFO org.springframework.security.config.FilterChainProxyPostProcessor.postProcessBeforeInitialization(FilterChainProxyPostProcessor.java:91)  - FilterChainProxy: FilterChainProxy[ UrlMatcher = org.springframework.security.util.AntUrlPathMatcher[requiresLowerCase='true']; Filter Chains: {/admin/logon.jsp=[], /**=[org.springframework.security.concurrent.ConcurrentSessionFilter[ order=100; ], org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ], org.springframework.security.ui.logout.LogoutFilter[ order=300; ], org.springframework.security.ui.webapp.AuthenticationFilter[ order=700; ], org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1100; ], org.springframework.security.ui.ExceptionTranslationFilter[ order=1400; ], org.springframework.security.ui.SessionFixationProtectionFilter[ order=1600; ], org.springframework.security.intercept.web.FilterSecurityInterceptor@ec77cb, org.springframework.security.intercept.web.FilterSecurityInterceptor@acd5d4]}]

2011-09-10 12:47:19,093 INFO org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)  - Root WebApplicationContext: initialization completed in 3437 ms

2011-09-10 12:47:19,140 INFO org.directwebremoting.impl.StartupUtil.logStartup(StartupUtil.java:157)  - Starting: DwrServlet v3.0.0-RC2-final-312 on Resin/3.1.s081219 / JDK 1.6.0_17 from Sun Microsystems Inc. at /WebSite.myeclipse.bak

2011-09-10 12:47:19,593 INFO org.directwebremoting.impl.DefaultConverterManager.addConverter(DefaultConverterManager.java:87)  - Probably not an issue: java.io.File is not available so the File converter will not load. This is only an problem if you wanted to use it.

[12:47:19.593] {main} WebApp[http://localhost:8080/WebSite.myeclipse.bak] active

[12:47:19.828] {main} WebApp[http://localhost:8080/resin-doc] active

[12:47:19.843] {main} Host[] active

[12:47:19.843] {main} Socket JNI library is not available.

[12:47:19.843] {main} Resin will still run but performance will be slower.

[12:47:19.843] {main} To compile the Socket JNI library on Unix, use ./configure; make; make install.

[12:47:19.843] {main} hmux listening to localhost:6800

[12:47:19.859] {main} http listening to *:8080

[12:47:19.859] {main} Server[id=,cluster=app-tier] active

[12:47:19.859] {main} Resin started in 12328ms







找不到办法,最终 发现一博客 后处理掉了问题

http://zmfkplj.iteye.com/blog/675639
 

 

回顾一下我的操作是:先在myeclipse Resin中移除 了一个项目 ,然后再发布了一个项目 ,此时中间件里面就有了2个应用 。导致启动了2次。

 

你可能感兴趣的:(SpringSecurity)