Hi All:
I encountered a big problem that Tomcat hangs when the {tomcat_home}/logs/catalina.out finally display [layer.TileLayerDispatcher] - ConfigurationLoader woke up, initializing
After installing tomcat on CentOS x86_64 and placing geoserver.war(2.0.3) and geowebcache.war(1.2.4) into {tomcat_home}/webapps, The ONLY thing I did was modifying /webapps/geowebcache/WEB-INF/geowebcache-core-sevlet.xml, changing "" to "<ref bean="gwcWMSConfig" />" and changing "http://localhost:8282/geoserver" to "http://localhost:8080/geoserver".
But when I try to restart tomcat, it failed and hang. Anybody could help me?? Thanks very much!
##
2011-4-22 0:05:57 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jre1.6.0_24/lib/amd64/server:/usr/local/jre1.6.0_24/lib/amd64:/usr/local/jre1.6.0_24/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2011-4-22 0:05:58 org.apache.coyote.AbstractProtocolHandler init
信息: Initializing ProtocolHandler ["http-bio-8080"]
2011-4-22 0:05:58 org.apache.coyote.AbstractProtocolHandler init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
2011-4-22 0:05:58 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2181 ms
2011-4-22 0:05:58 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2011-4-22 0:05:58 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.12
2011-4-22 0:05:59 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive geowebcache.war
22 四月 00:06:01 INFO [context.ContextLoader] - Root WebApplicationContext: initialization started
22 四月 00:06:01 INFO [support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@288b567c: display name [Root WebApplicationContext]; startup date [Fri Apr 22 00:06:01 CST 2011]; root of context hierarchy
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/acegi-config.xml]
22 四月 00:06:02 INFO [support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@288b567c]: org.springframework.beans.factory.support.DefaultListableBeanFactory@317cfd38
22 四月 00:06:02 INFO [support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@317cfd38: defining beans [filterChainProxy,restFilterInvocationInterceptor,restFilterDefinitionMap,httpSessionContextIntegrationFilter,basicProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,authenticationEntryPoint,authenticationManager,daoAuthenticationProvider,simpleUserDetailsService,httpRequestAccessDecisionManager,roleVoter]; root of factory hierarchy
22 四月 00:06:02 INFO [config.PropertiesFactoryBean] - Loading properties file from ServletContext resource [/WEB-INF/users.properties]
22 四月 00:06:02 INFO [memory.UserMap] - Adding user [org.acegisecurity.userdetails.User@0: Username: geowebcache; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_ADMINISTRATOR]
22 四月 00:06:02 INFO [intercept.AbstractSecurityInterceptor] - Validated configuration attributes
22 四月 00:06:02 INFO [context.ContextLoader] - Root WebApplicationContext: initialization completed in 1007 ms
22 四月 00:06:02 INFO [servlet.DispatcherServlet] - FrameworkServlet 'geowebcache': initialization started
22 四月 00:06:02 INFO [support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@52234265: display name [WebApplicationContext for namespace 'geowebcache-servlet']; startup date [Fri Apr 22 00:06:02 CST 2011]; parent: org.springframework.web.context.support.XmlWebApplicationContext@288b567c
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-servlet.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-core-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-georss-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-gmaps-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-kmlservice-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-rest-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-tmsservice-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-virtualearth-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-wfsclient-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-wmsservice-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-wmtsservice-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-diskquota-context.xml]
22 四月 00:06:02 INFO [xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/geowebcache-arcgiscache-context.xml]
22 四月 00:06:02 INFO [support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@52234265]: org.springframework.beans.factory.support.DefaultListableBeanFactory@4440ece0
22 四月 00:06:03 INFO [support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4440ece0: defining beans [gwcAppCtx,gwcXmlConfig,gwcWMSConfig,gwcTLDispatcher,gwcDefaultStorageFinder,gwcMetaStore,gwcBlobStore,gwcStorageBroker,gwcGridSetBroker,gwcRuntimeStats,geowebcacheDispatcher,gwcSeederThreadPoolExec,gwcTileBreeder,gwcProxyDispatcher,gwcGeoRSSPoller,gwcServiceGMaps,gwcServiceMGMaps,gwcServiceKML,gwcSeedRestlet,gwcSeedFormRestlet,gwcReloadRestlet,gwcTileLayerRestlet,gwcBoundsRestlet,gwcFilterUpdateRestlet,gwcByteStreamerRestlet,gwcRestDispatcher,gwcRESTUrlMapping,gwcServiceTMS,gwcServiceVE,gwcServiceWFS,gwcServiceWMS,gwcServiceWMTS,DiskQuotaConfigLoader,DiskQuotaMonitor,pageStore,ExpirationPolicyLRU,ExpirationPolicyLFU,arcGisLayerConfigurationExtention,gwcUrlMapping]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@317cfd38
22 四月 00:06:03 INFO [storage.DefaultStorageFinder] - ***********************************************************************************************************************************
22 四月 00:06:03 INFO [storage.DefaultStorageFinder] - *** Reverting to java.io.tmpdir /usr/local/apache-tomcat-7.0.12/temp/geowebcache for storage. Please set GEOWEBCACHE_CACHE_DIR. ***
22 四月 00:06:03 INFO [storage.DefaultStorageFinder] - ***********************************************************************************************************************************
22 四月 00:06:03 INFO [config.XMLConfiguration] - No configuration directory was specified, using /usr/local/apache-tomcat-7.0.12/webapps/geowebcache/WEB-INF/classes/geowebcache.xml
22 四月 00:06:03 INFO [config.XMLConfiguration] - Found configuration file in /usr/local/apache-tomcat-7.0.12/webapps/geowebcache/WEB-INF/classes
22 四月 00:06:03 INFO [config.XMLConfiguration] - Updating configuration from 1.2.2 to 1.2.4
22 四月 00:06:04 INFO [config.XMLConfiguration] - cvc-elt.1: Cannot find the declaration of element 'gwcConfiguration'.
22 四月 00:06:04 INFO [config.XMLConfiguration] - Will try to use configuration anyway.
22 四月 00:06:04 WARN [grid.GridSetFactory] - GridSet EPSG:2163 was defined without metersPerUnit, assuming 1m/unit. All scales will be off if this is incorrect.
22 四月 00:06:04 INFO [config.XMLConfiguration] - Read GridSet EPSG:2163
22 四月 00:06:04 INFO [config.GetCapabilitiesConfiguration] - Constructing from url http://localhost:8080/geoserver/wms?request=getcapabilities&version=1.1.0&service=wms
22 四月 00:06:04 INFO [layer.TileLayerDispatcher] - ConfigurationLoader acquired lock, sleeping 2 seconds
22 四月 00:06:05 INFO [jdbc.JDBCMBWrapper] - MetaStore database is version 120
22 四月 00:06:05 INFO [georss.GeoRSSPoller] - Initializing GeoRSS poller...
22 四月 00:06:06 INFO [layer.TileLayerDispatcher] - ConfigurationLoader woke up, initializing