`

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次。

 

分享到:
评论

相关推荐

    resin 支持spring mvc 5.0以上版本 支持Hibernate validation

    要在Resin中启用Hibernate Validation,需要在应用中包含Hibernate Validator库,并在相应的配置文件(如web.xml或Spring配置文件)中配置验证规则。 在Resin-4.0.61压缩包中,包含了Resin服务器的所有必要组件和...

    eclipse中resin的启动

    ### Eclipse中Resin服务器的启动配置详解 #### 一、前言 随着Java Web开发的日益普及,Eclipse作为一款非常流行的集成开发环境(IDE),因其功能强大且免费开源而备受开发者们的青睐。而在Eclipse中集成并启动...

    使用Resin在IDE中快速启动web项目

    【标题】:“使用Resin在IDE中快速启动Web项目” 【描述】:Resin是一款高性能、轻量级的Java应用服务器,尤其适用于处理Web应用程序。它以其高效的Servlet和JSP支持而闻名,对于开发和部署Java Web项目非常方便。...

    RESIN开机未登录启动及普通应用程序开机未登录启动的通用方法介绍

    - 在“恢复”选项卡中,通常可以设置前两次失败后重新启动服务,以保证服务的高可用性。但过多的失败重试可能无益,需要根据实际情况调整。 5. **通用创建普通应用程序Windows服务的方法**: - 使用`INSTSRV.EXE`...

    resin4.0 服务器 (for windows版本)

    4. 启动Resin服务器,通常通过bin目录下的resinctl或resin.bat脚本来完成。 5. 访问服务器的管理界面(默认为http://localhost:8080/resin-admin),进行更精细的配置和监控。 在实际使用中,开发者和管理员需要...

    resin3.0中的https配置

    需要注意的是,Resin 3.0 的 SSL 功能仅在 Pro 版本中可用,而 Resin 2.x 版本则无需购买许可证即可启用 HTTPS。无论选择哪个版本,确保按照指南正确安装 OpenSSL 并生成所需的证书和密钥文件。此外,务必注意保护好...

    resin3 resin3下载

    2. **轻量级**:尽管Resin3支持Java EE标准,但它的设计初衷是作为一个轻量级服务器,相比于其他大型应用服务器,如Tomcat和WebLogic,Resin3具有更小的内存占用和更快的启动时间。 3. **Quercus PHP支持**:Resin3...

    resin 启动脚本

    RESIN_OWNER=resin(注意resin的用户) case "$1" in start) su - $RESIN_OWNER -c "$SROOT/bin/httpd.sh start" ;; stop) su - $RESIN_OWNER -c "$SROOT/bin/httpd.sh stop" ;; *) echo 'Usage:...

    eeclipse集成resin调试

    在这个新配置中,我们需要指定项目名称和Resin的启动类。 3. **设置项目和启动类** 在"Main"选项卡中,将"Name"字段改为你的调试项目名称,例如"test"。接着,"Main Class"应填写Resin服务器的启动类,通常是`...

    resin服务器有3部分,resin1,resin-webapp,resin-lib,由于大小限制分开传

    在Resin服务器启动时,resin1中的`resin.jar`或`boot.jar`是首要加载的部分,它负责初始化服务器的核心服务,如网络监听、线程管理、类加载器等。 2. **resin-webapp**: 这个组件专门用于处理Web应用程序的部署和...

    resin3 和 resin4

    作为Java语言的产物,Resin以其高效能和稳定性的特点,在IT行业中赢得了广泛的认可。Resin3和Resin4是该服务器软件的两个主要版本,它们各自具有不同的特性和改进。 Resin3是Resin的早期版本,它为开发者提供了一个...

    Resin源码解读1

    总的来说,Resin源码解读是一次深入服务器内部世界的探索,通过对日志的解读,我们可以洞察服务器的运行状态;通过网络模型和线程池的分析,我们可以掌握服务器的性能优化策略。这不仅对于Resin的理解至关重要,也为...

    resin4+wrapper green

    在Resin4+Wrapper Green中,Wrapper扮演的角色是将Resin4转换为一个后台服务,这样即使用户注销或计算机重新启动,Resin也能保持运行。Wrapper还提供了日志记录、错误处理和自动重启等功能,增强了系统稳定性。 在...

    resin4.0配置文件介绍

    - **命令行参数**:通过在启动命令中加入特定的参数来改变 Resin 的行为。 - **JDK 参数**:可以在启动 Resin 时指定 JVM 的参数,从而调整运行时环境的配置。 ##### 1.8 堆大小 堆大小是 JVM 中非常重要的一个...

    resin详细配置说明

    resin详细配置说明,包括resin的安装配置、使用方法等。

    acegi-security-resin-0.8.0.jar.zip

    "acegi-security-resin-0.8.0.jar"是这个压缩包中的核心文件,它是Acegi Security的实现库,包含了所有必要的类和资源,用于在Resin 0.8.0环境中实现安全性控制。将这个jar文件添加到Resin的应用类路径中,可以让...

    acegi-security-resin-0.8.3.jar.zip

    Acegi Security Resin 0.8.3 是一个专门针对Java Web应用的安全框架,它为Spring框架提供了强大的安全控制和身份验证功能。这个版本的jar.zip包包含了Acegi Security与Resin服务器集成的特定实现,使得Resin用户可以...

    resin中关于日志的配置

    在IT行业中,Resin是一款广泛使用的Java应用服务器,它提供了高效、稳定且可扩展的运行环境。这篇博客文章“resin中关于日志的配置”着重讲解了如何在Resin服务器上管理和配置日志系统,这对于监控应用状态、调试...

    acegi-security-resin-0.8.2.jar.zip

    在实际应用中,开发者通常会在Resin的配置文件(如resin.conf)中添加Acegi Security的配置,以便在启动服务器时加载安全设置。同时,还需要在应用程序的代码中添加Acegi Security的相关注解或配置,以定义用户角色...

    acegi-security-resin-0.7.0.jar.zip

    Acegi Security是一款已退役的安全框架,它在Java社区中曾被广泛使用,特别是在Spring Framework早期版本中,作为提供身份验证和授权服务的解决方案。Acegi Security后来被Spring Security所吸收,成为其核心组件的...

Global site tag (gtag.js) - Google Analytics