- 浏览: 264954 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
wx_hello:
楼主你那个详细介绍下吗?网上看了下,说SAP就是IDES 啊。 ...
SAP-IDES 简单介绍 -
奇林醉:
受用了!
AIX设置查看语言包相关命令 -
George_ghc:
不错!创新!
软件工厂合理创新 -
星哥儿:
https://www14.software.ibm.com/ ...
Linux 5.3 x64 + NW BW安装过程需要的JDK1.4 x64 -
王三:
不错的文章。发现问题所在很重要啊。
跟踪Spool is full问题过程
严重: The web application [/] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregis
tomcat 6.0.32
jdk jdk1.6.0_24
SSH
在本地Eclipse MyEclipse 编译通过,一台测试服务器上默认tomcat/webapp/ 路径下war deploy时,也正常运行。
可是,后调整了ROOT.war deploy 的默认的路径,比如放到/var/www/html/ROOT.war ,tomcat默认路径也修改成/var/www/html/ROOT时,会出现标题registered the JDBC driver等的错误。
google后很多修补方式,也有官方的https://issues.apache.org/jira/browse/DBCP-332
后检查启动日志
tail -f /java/apache-tomcat-6.0.32/logs/catalina.out
在启动过程中日志中发现,刚开始启动tomcat没结束,就有另外一个启动把之前的启动进程干预掉了,暂时不知道是干预关闭还是其他的
Jul 30, 2011 1:57:15 PM org.apache.catalina.startup.HostConfig deployWAR信息: Deploying web application archive ROOT.war[framework 2011-07-30 13:57:15,306 - org.springframework.web.context.support.XmlWebApplicationContext -5945
[main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Closing org.springframework.web.context.support.XmlWebApplicationContext@786db724: display name [Root WebApplicationContext]; startup date [Sat Jul 30 13:57:09 CST 2011]; root of
context hierarchy [framework 2011-07-30 13:57:15,307 - org.springframework.beans.factory.support.DefaultListableBeanFactory -5946 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@10f268de:
defining beans [sqlInit,baseHibernateDAO,acceptAddressDao,babyDao,billContentDao,billInfoDao,billNameDao,billTypeDao,cardsDao,cartDao,cityDao,courseInfoDao,courseTypeDao,mnrOprLogDao,mnrsDao,orderAddDao,orderConfirmDao,orderInfoDao,orderPayDao,orderProdsDao,orderSendDao,orderTypeDao,payStatusDao,paymentDao,prodGiftDao,prodItemTypeDao,prodItemUnitDao,prodItemsDao,prodOrderTypeDao,prodSalesMonthDao,prodSalesPriceDao,prodStageDao,prodStageMonthDao,prodStageMonthInfoDao,prodTypeDao,prodsDao,provinceDao,crmUsersDao,eduDao,splistDao,schoolDao,sendCompanyDao,sendGoodsDao,sendTimeDao,sendTypeDao,shortDealDao,sysLogDao,testInfoDao,testTypeDao,trialDao,log4jDao,usersDao,sManagerDao,sMPRelationDao,baseService,acceptAddressService,babyService,billContentService,billInfoService,billNameService,billTypeService,cardsService,cartService,cityService,courseInfoService,courseTypeService,log4jService,mnrOprLogService,mnrsService,orderAddService,orderConfirmService,orderInfoService,orderPayService,orderProdsService,orderSendService,orderTypeService,paymentService,payStatusService,prodGiftService,prodItemsService,prodItemTypeService,prodItemUnitService,prodOrderTypeService,prodSalesMonthService,prodSalesPriceService,prodsService,prodStageService,prodStageMonthService,prodStageMonthInfoService,prodTypeService,provinceService,schoolService,sendCompanyService,sendGoodsService,sendTimeService,sendTypeService,shortDealService,crmUserService,eduService,splistService,sysLogService,testInfoService,testTypeService,trialService,usersService,sManagerService,sMPRelationService,httpUrl123,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,propertyConfigurer,dataSource,sessionFactory,txAdvice,memcachedPool,memcachedClient,memcacheClientUtil];
root of factory hierarchy [framework 2011-07-30 13:57:15,328 - org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean -5967 [main] INFO org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean - Closing Hibernate SessionFactory
[framework 2011-07-30 13:57:15,329 - org.hibernate.impl.SessionFactoryImpl -5968 [main] INFO org.hibernate.impl.SessionFactoryImpl - closing Jul 30, 2011 1:57:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.Jul 30, 2011 1:57:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads严重: The web application [/] appears to have started a thread named [Timer-3] but has failed to stop it. This is very likely to create a memory leak.Jul 30, 2011 1:57:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap严重: The web application [/] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@7e7ee46a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3cc62c07]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.Jul 30, 2011 1:57:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap严重: The web application [/] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@76749ebc]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@62618565]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.Jul 30, 2011 1:57:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap严重: The web application [/] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@707cdc58]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@15664f1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.Jul 30, 2011 1:57:15 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap严重: The web application [/] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@6fd33eef]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@15c8f644]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.log4j:ERROR Could not find value for key log4j.appender.A1log4j:ERROR Could not instantiate appender named "A1".[framework 2011-07-30 13:57:17,567 - org.springframework.web.context.ContextLoader -0 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started [framework 2011-07-30 13:57:17,600 - org.springframework.web.context.support.XmlWebApplicationContext -33 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1af6a711: display name [Root WebApplicationContext]; startup date [Sat Jul 30 13:57:17 CST 2011]; root of context hierarchy [framework 2011-07-30 13:57:17,659 - org.springframework.beans.factory.xml.XmlBeanDefinitionReader -92 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/var/www/html/java/apache-tomcat-6.0.32/work/Catalina/localhost/_/WEB-INF/classes/config/spring-sqlInit.xml] [framework 2011-07-30 13:57:17,891 - org.springframework.beans.factory.xml.XmlBeanDefinitionReader -324 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/var/www/html/java/apache-tomcat-6.0.32/work/Catalina/localhost/_/WEB-INF/classes/config/spring-dao.xml] [framework 2011-07-30 13:57:18,159 - org.springframework.beans.factory.xml.XmlBeanDefinitionReader -592 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/var/www/html/java/apache-tomcat-6.0.32/work/Catalina/localhost/_/WEB-INF/classes/config/spring-service.xml] [framework 2011-07-30 13:57:18,214 - org.springframework.beans.factory.xml.XmlBeanDefinitionReader -647 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/var/www/html/java/apache-tomcat-6.0.32/work/Catalina/localhost/_/WEB-INF/classes/config/spring-beans.xml] [framework 2011-07-30 13:57:18,461 - org.springframework.beans.factory.xml.XmlBeanDefinitionReader -894 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/var/www/html/java/apache-tomcat-6.0.32/work/Catalina/localhost/_/WEB-INF/classes/config/memcache-applicationContext.xml] [framework 2011-07-30 13:57:18,490 - org.springframework.web.context.support.XmlWebApplicationContext -923 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1af6a711]: org.springframework.beans.factory.support.DefaultListableBeanFactory@367720d7 [framework 2011-07-30 13:57:18,666 - org.springframework.beans.factory.config.PropertyPlaceholderConfigurer -1099 [main] INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [config/jdbc.properties] [framework 2011-07-30 13:57:18,666 - org.springframework.beans.factory.config.PropertyPlaceholderConfigurer -1099 [main] INFO org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [config/globlesetting.properties] [framework 2011-07-30 13:57:18,754 - org.springframework.beans.factory.support.DefaultListableBeanFactory -1187 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@367720d7: defining beans [sqlInit,baseHibernateDAO,acceptAddressDao,babyDao,billContentDao,billInfoDao,billNameDao,billTypeDao,cardsDao,cartDao,cityDao,courseInfoDao,courseTypeDao,mnrOprLogDao,mnrsDao,orderAddDao,orderConfirmDao,orderInfoDao,orderPayDao,orderProdsDao,orderSendDao,orderTypeDao,payStatusDao,paymentDao,prodGiftDao,prodItemTypeDao,prodItemUnitDao,prodItemsDao,prodOrderTypeDao,prodSalesMonthDao,prodSalesPriceDao,prodStageDao,prodStageMonthDao,prodStageMonthInfoDao,prodTypeDao,prodsDao,provinceDao,crmUsersDao,eduDao,splistDao,schoolDao,sendCompanyDao,sendGoodsDao,sendTimeDao,sendTypeDao,shortDealDao,sysLogDao,testInfoDao,testTypeDao,trialDao,log4jDao,usersDao,sManagerDao,sMPRelationDao,baseService,acceptAddressService,babyService,billContentService,billInfoService,billNameService,billTypeService,cardsService,cartService,cityService,courseInfoService,courseTypeService,log4jService,mnrOprLogService,mnrsService,orderAddService,orderConfirmService,orderInfoService,orderPayService,orderProdsService,orderSendService,orderTypeService,paymentService,payStatusService,prodGiftService,prodItemsService,prodItemTypeService,prodItemUnitService,prodOrderTypeService,prodSalesMonthService,prodSalesPriceService,prodsService,prodStageService,prodStageMonthService,prodStageMonthInfoService,prodTypeService,provinceService,schoolService,sendCompanyService,sendGoodsService,sendTimeService,sendTypeService,shortDealService,crmUserService,eduService,splistService,sysLogService,testInfoService,testTypeService,trialService,usersService,sManagerService,sMPRelationService,httpUrl123,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,propertyConfigurer,dataSource,sessionFactory,txAdvice,memcachedPool,memcachedClient,memcacheClientUtil]; root of factory hierarchy [framework 2011-07-30 13:57:19,053 - org.hibernate.cfg.Environment -1486 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.5 [framework 2011-07-30 13:57:19,056 - org.hibernate.cfg.Environment -1489 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found [framework 2011-07-30 13:57:19,057 - org.hibernate.cfg.Environment -1490 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib [framework 2011-07-30 13:57:19,060 - org.hibernate.cfg.Environment -1493 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling [framework 2011-07-30 13:57:19,419 - org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean -1852 [main] INFO org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean - Building new Hibernate SessionFactory [framework 2011-07-30 13:57:19,475 - org.hibernate.connection.ConnectionProviderFactory -1908 [main] INFO org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider [framework 2011-07-30 13:57:19,879 - org.hibernate.cfg.SettingsFactory -2312 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL, version: 5.0.77-log [framework 2011-07-30 13:57:19,879 - org.hibernate.cfg.SettingsFactory -2312 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.3 ( $Date: 2006-07-26 17:26:47 +0200 (Wed, 26 Jul 2006) $, $Revision: 5553 $ ) [framework 2011-07-30 13:57:19,893 - org.hibernate.dialect.Dialect -2326 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect [framework 2011-07-30 13:57:19,896 - org.hibernate.transaction.TransactionFactoryFactory -2329 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory [framework 2011-07-30 13:57:19,897 - org.hibernate.transaction.TransactionManagerLookupFactory -2330 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) [framework 2011-07-30 13:57:19,897 - org.hibernate.cfg.SettingsFactory -2330 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled [framework 2011-07-30 13:57:19,897 - org.hibernate.cfg.SettingsFactory -2330 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled [framework 2011-07-30 13:57:19,897 - org.hibernate.cfg.SettingsFactory -2330 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 50 [framework 2011-07-30 13:57:19,897 - org.hibernate.cfg.SettingsFactory -2330 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled [framework 2011-07-30 13:57:19,898 - org.hibernate.cfg.SettingsFactory -2331 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled [framework 2011-07-30 13:57:19,898 - org.hibernate.cfg.SettingsFactory -2331 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled [framework 2011-07-30 13:57:19,898 - org.hibernate.cfg.SettingsFactory -2331 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC result set fetch size: 100 [framework 2011-07-30 13:57:19,898 - org.hibernate.cfg.SettingsFactory -2331 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto [framework 2011-07-30 13:57:19,899 - org.hibernate.cfg.SettingsFactory -2332 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2 [framework 2011-07-30 13:57:19,899 - org.hibernate.cfg.SettingsFactory -2332 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1 [framework 2011-07-30 13:57:19,899 - org.hibernate.cfg.SettingsFactory -2332 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled [framework 2011-07-30 13:57:19,899 - org.hibernate.cfg.SettingsFactory -2332 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled [framework 2011-07-30 13:57:19,899 - org.hibernate.cfg.SettingsFactory -2332 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled [framework 2011-07-30 13:57:19,899 - org.hibernate.cfg.SettingsFactory -2332 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory [framework 2011-07-30 13:57:19,901 - org.hibernate.hql.ast.ASTQueryTranslatorFactory -2334 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {} [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.NoCacheProvider [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled [framework 2011-07-30 13:57:19,901 - org.hibernate.cfg.SettingsFactory -2334 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled [framework 2011-07-30 13:57:19,905 - org.hibernate.cfg.SettingsFactory -2338 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout [framework 2011-07-30 13:57:19,905 - org.hibernate.cfg.SettingsFactory -2338 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled [framework 2011-07-30 13:57:19,905 - org.hibernate.cfg.SettingsFactory -2338 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled [framework 2011-07-30 13:57:19,906 - org.hibernate.cfg.SettingsFactory -2339 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo [framework 2011-07-30 13:57:19,906 - org.hibernate.cfg.SettingsFactory -2339 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled [framework 2011-07-30 13:57:19,928 - org.hibernate.impl.SessionFactoryImpl -2361 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory [framework 2011-07-30 13:57:20,455 - org.hibernate.impl.SessionFactoryObjectFactory -2888 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured [framework 2011-07-30 13:57:20,854 - org.springframework.orm.hibernate3.HibernateTransactionManager -3287 [main] INFO org.springframework.orm.hibernate3.HibernateTransactionManager - Using DataSource [org.apache.commons.dbcp.BasicDataSource@754e912d] of Hibernate SessionFactory for HibernateTransactionManager com.schooner.MemCached.SchoonerSockIOPool Sat Jul 30 13:57:21 CST 2011 - ++++ failed to get SockIO obj for: 127.0.0.1:11211com.schooner.MemCached.SchoonerSockIOPool Sat Jul 30 13:57:21 CST 2011 - ++++ failed to create connection to: 127.0.0.1:11211 -- only 0 created.[framework 2011-07-30 13:57:21,267 - org.springframework.web.context.ContextLoader -3700 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 3699 ms Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader findResourceInternal信息: Illegal access: this web application instance has been stopped already. Could not load META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader findResourceInternal信息: Illegal access: this web application instance has been stopped already. Could not load META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.Jul 30, 2011 1:57:21 PM org.apache.catalina.core.StandardContext start严重: Error filterStartJul 30, 2011 1:57:21 PM org.apache.catalina.core.StandardContext start严重: Context [] startup failed due to previous errors[framework 2011-07-30 13:57:21,394 - org.springframework.web.context.support.XmlWebApplicationContext -3827 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Closing org.springframework.web.context.support.XmlWebApplicationContext@1af6a711: display name [Root WebApplicationContext]; startup date [Sat Jul 30 13:57:17 CST 2011]; root of context hierarchy [framework 2011-07-30 13:57:21,394 - org.springframework.beans.factory.support.DefaultListableBeanFactory -3827 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@367720d7: defining beans [sqlInit,baseHibernateDAO,acceptAddressDao,babyDao,billContentDao,billInfoDao,billNameDao,billTypeDao,cardsDao,cartDao,cityDao,courseInfoDao,courseTypeDao,mnrOprLogDao,mnrsDao,orderAddDao,orderConfirmDao,orderInfoDao,orderPayDao,orderProdsDao,orderSendDao,orderTypeDao,payStatusDao,paymentDao,prodGiftDao,prodItemTypeDao,prodItemUnitDao,prodItemsDao,prodOrderTypeDao,prodSalesMonthDao,prodSalesPriceDao,prodStageDao,prodStageMonthDao,prodStageMonthInfoDao,prodTypeDao,prodsDao,provinceDao,crmUsersDao,eduDao,splistDao,schoolDao,sendCompanyDao,sendGoodsDao,sendTimeDao,sendTypeDao,shortDealDao,sysLogDao,testInfoDao,testTypeDao,trialDao,log4jDao,usersDao,sManagerDao,sMPRelationDao,baseService,acceptAddressService,babyService,billContentService,billInfoService,billNameService,billTypeService,cardsService,cartService,cityService,courseInfoService,courseTypeService,log4jService,mnrOprLogService,mnrsService,orderAddService,orderConfirmService,orderInfoService,orderPayService,orderProdsService,orderSendService,orderTypeService,paymentService,payStatusService,prodGiftService,prodItemsService,prodItemTypeService,prodItemUnitService,prodOrderTypeService,prodSalesMonthService,prodSalesPriceService,prodsService,prodStageService,prodStageMonthService,prodStageMonthInfoService,prodTypeService,provinceService,schoolService,sendCompanyService,sendGoodsService,sendTimeService,sendTypeService,shortDealService,crmUserService,eduService,splistService,sysLogService,testInfoService,testTypeService,trialService,usersService,sManagerService,sMPRelationService,httpUrl123,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,propertyConfigurer,dataSource,sessionFactory,txAdvice,memcachedPool,memcachedClient,memcacheClientUtil]; root of factory hierarchy [framework 2011-07-30 13:57:21,404 - org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean -3837 [main] INFO org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean - Closing Hibernate SessionFactory [framework 2011-07-30 13:57:21,404 - org.hibernate.impl.SessionFactoryImpl -3837 [main] INFO org.hibernate.impl.SessionFactoryImpl - closing Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads严重: The web application [] appears to have started a thread named [Timer-4] but has failed to stop it. This is very likely to create a memory leak.Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads严重: The web application [] appears to have started a thread named [Timer-5] but has failed to stop it. This is very likely to create a memory leak.Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads严重: The web application [] appears to have started a thread named [Timer-6] but has failed to stop it. This is very likely to create a memory leak.Jul 30, 2011 1:57:21 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads严重: The web application [] appears to have started a thread named [Timer-7] but has failed to stop it. This is very likely to create a memory leak.Jul 30, 2011 1:57:21 PM org.apache.catalina.startup.HostConfig deployDirectory信息: Deploying web application directory examplesJul 30, 2011 1:57:21 PM org.apache.catalina.startup.HostConfig deployDirectory信息: Deploying web application directory docsJul 30, 2011 1:57:21 PM org.apache.coyote.http11.Http11Protocol start信息: Starting Coyote HTTP/1.1 on http-8080Jul 30, 2011 1:57:21 PM org.apache.jk.common.ChannelSocket init信息: JK: ajp13 listening on /0.0.0.0:8009Jul 30, 2011 1:57:21 PM org.apache.jk.server.JkMain start信息: Jk running ID=0 time=0/14 config=nullJul 30, 2011 1:57:21 PM org.apache.catalina.startup.Catalina start信息: Server startup in 13579 ms
对于这样的registered the JDBC driver问题,我初步判定是deploy执行了两次所致。
后分析调整后,Host配置应该如下
path 等于空格 ,不是/或ROOT
还有注意的是,要把之前的文件清理干净了,避免有干扰,重新来一下,启动成功....
下面是用ant来清理这些目录:
<delete dir="${tomcat.home}/work/Catalina/localhost/${ant.project.name}" />
<delete dir="${dist.dir}/${ant.project.name}" />
<delete file="${dist.dir}/${ant.project.name}.war" />
相关推荐
SEVERE: The web application [/xxx] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has ...
Add the driver jar files (mdbdriver.jar + required third-party libraries) to your classpath or extract these jars to the directory of your application. Driver Classes Description Classes Driver...
信息: Deploying web application ...严重: Context [/blog] startup failed due to previous errors ApplicationFilterConfig[name=EncodingFilter, filterClass=com.v512.guestbook.web.CharacterEncodingFilter]
dubbo找不到dubbo.xsd报错, cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. - schema_reference.4: Failed to read schema document...
严重: The web application [/img] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been...
HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
并且,加了log4j,所以对数据库操作SQL都会在控制台打印出来,加有最新的jQuery插件1.7.2.min.js,建好表,部署完工程直接就可以访问,还支持数据库切换,只需要在cfg下的application.properties里改下访问方式就...
配置入口:config/application.yaml;<br/> 使用要求:maven版本3.8.1,之前使用3.8.6会有错误,导致无法使用;<br/> * WEB访问入口:http://127.0.0.1:8080/hello; * Thymeleaf入口:...
## the Transaction API abstracts application code from the underlying JTA or JDBC transactions #hibernate.transaction.factory_class org.hibernate.transaction.JTATransactionFactory #hibernate....
Here's the fun and easy way(r) to develop a <br/>Web application in PHP 4, 5, or 6 and MySQL 5, test your software, <br/>enable your Web pages to display, change, and move database informatio <br/>n,...
This is a RoboGuice-based Android application to read emails you receive on the WAK platform. You can install this app from the Google Play_. .. _WAK: http://www.wak-sh.de/ .. _RoboGuice: ...
Bookdash Android Check out the blog post here: http://riggaroo.co.za/book-dash-android-app/ ...It is an open source Android application that allows people to download children's story books. T
2.Download the DynamicResponseHandler module and add it to Axis by copying it to WEB-INF/modules 3.Patch Jettison or download my patched version and replace it with the one installed in WEB-INF/lib...
百度文档:https://wenku.baidu.com/view/c6f5cdfffab069dc502201a5.html ...因为Tomcat 技术先进、性能稳定,而且免费,因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可,成为目前比较流行的Web 应用服务器。
// Normal display: Set the ForceFrame property to -1 and set Animate to True. // // If ForceFrame is negative TGIFImage behaves just as before this change. // // Note that if the sub frame in the gif ...
> Including a large part of the Android application development process commonly used tools. Tools source from the network and write their own. (Constantly collecting and sorting out) (中文文档)...
Use 26f359fc-e3f6-4727-8af1-72a1a4a0819d as serial to register the application. ..: iMPORTANT NOTE :.. Run CORE10k.EXE to verify this release, if CRC-check fails or even CORE10k.EXE is missing - you...
Angle是一个后台管理模板,它也支持以下应用开发:单页应用(Single Page Application)、项目管理应用(Project Management System)、电子商务应用(E-Commerce Admin Dashboard)、CMS、CRM、SAAS、Help Desk,...
Angle是一个后台管理模板,它也支持以下应用开发:单页应用(Single Page Application)、项目管理应用(Project Management System)、电子商务应用(E-Commerce Admin Dashboard)、CMS、CRM、SAAS、Help Desk,...
2. change the datasource setting in /src/main/resource/application.yaml 3. load source into idea15. 4. application > boot run, also you can build the project with gradle command. 5. access ...