C3P0错误

本在在整合Struts2、Spring 、iBatis时,使用C3P0连接池时,报如下错误:Resin-3.1.5 (built

Tue, 26 Feb 2008 04:32:55 PST)Copyright(c) 1998-2008 Caucho Technology.  All rights reserved. Starting Resin on Fri, 16 May 2008 14:34:58 +0800 (CST)   Using Resin(R) Open Source under the GNU Public License (GPL).   See http://www.caucho.com for information on Resin Professional,  including caching, clustering, JNI acceleration, and OpenSSL integration. [14:35:08.484] {main} 'select-manager' requires Resin Professional.  See http://www.caucho.com for information and licensing.[14:35:08.484] {main} [14:35:08.484] {main} Windows XP 5.1 x86[14:35:08.484] {main} Java 1.5.0_15-b04, 32, mixed mode, GBK, zh, Sun Microsystems Inc.[14:35:08.484] {main} user.name: Administrator[14:35:08.484] {main} resin.home = C:/TDDOWNLOAD/resin-3.1.5[14:35:08.484] {main} resin.root = C:/TDDOWNLOAD/resin-3.1.5[14:35:08.484] {main} resin.conf = /C:/TDDOWNLOAD/resin-3.1.5/conf/resin.conf[14:35:08.484] {main} [14:35:09.609] {main} WebApp[http://localhost:8080] active[14:35:10.250] {main} WebApp[http://localhost:8080/resin-admin] active- Parsing configuration file [struts-default.xml]- Parsing configuration file [struts-plugin.xml]- Parsing configuration file [struts.xml]- Settings: Could not parse struts.locale setting, substituting default VM locale- Overriding property struts.i18n.reload - old value: false new value: true- Overriding property struts.configuration.xml.reload - old value: false new value: true- Setting DefaultObjectTypeDeterminer as default ...[14:35:23.812] {main} WebApp[http://localhost:8080/Struts2] active[14:35:25.109] {main} WebApp[http://localhost:8080/TongCan] Set web app root system property: 'webapp.root' = [C:/TDDOWNLOAD/resin-3.1.5/webapps/TongCan/][14:35:25.156] {main} WebApp[http://localhost:8080/TongCan] Initializing Log4J from [C:/TDDOWNLOAD/resin-3.1.5/webapps/TongCan/WEB-INF/log4j.properties]log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /WEB-INF/tongcan.log (系统找不到指定的路径。) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:177) at java.io.FileOutputStream.<init>(FileOutputStream.java:102) at org.apache.log4j.FileAppender.setFile(FileAppender.java:272) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:327) at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:73) at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:152) at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:51) at com.caucho.server.webapp.WebApp.start(WebApp.java:1852) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:437) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1217) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:528) at com.caucho.server.resin.Resin.start(Resin.java:695) at com.caucho.server.resin.Resin.initMain(Resin.java:1139) at com.caucho.server.resin.Resin.main(Resin.java:1341)[14:35:25.656] {main} WebApp[http://localhost:8080/TongCan] Initializing Spring root WebApplicationContext2008-05-16 14:35:25,656 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started2008-05-16 14:35:26,078 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1115a61: display name [Root WebApplicationContext]; startup date [Fri May 16 14:35:26 CST 2008]; root of context hierarchy2008-05-16 14:35:27,390 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/dataAccessContext-local.xml]2008-05-16 14:35:28,562 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]2008-05-16 14:35:29,937 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/actionContext.xml]2008-05-16 14:35:30,468 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1115a61]: org.springframework.beans.factory.support.DefaultListableBeanFactory@4577f92008-05-16 14:35:31,625 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from ServletContext resource [/WEB-INF/mail.properties]2008-05-16 14:35:31,625 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from ServletContext resource [/WEB-INF/jdbc.properties]2008-05-16 14:35:31,937 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.aop.confi

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值