| 发表于:2007-08-11 16:29:54 楼主 |
我刚刚接受一个项目,ssh的,关键是,我在conf里的server.xml里配置了指向和路径 <host appbase= "d:\servers " debug= "0 " name= "www.baotone.cn " unpackwars= "true " autodeploy= "true "> <context path= "www.baotone.cn " docbase= "baotone " debug= "0 "/> 可是我用浏览器访问的时候却是根本找不到路径,不知道是哪一方面出了问题,tomcat刚装的时候没有问题,配上这个server.xml后就不行,下面是他的txt日志文件 2007-08-11 16:02:32 standardcontext[/baotone]closing spring root webapplicationcontext 2007-08-11 16:18:51 standardcontext[www.baotone.cn]loading spring root webapplicationcontext 2007-08-11 16:18:55 standardcontext[www.baotone.cn]exception sending context initialized event to listener instance of class com.baotone.webapp.listener.startuplistener org.springframework.jdbc.cannotgetjdbcconnectionexception: could not get jdbc connection; nested exception is org.apache.commons.dbcp.sqlnestedexception: cannot create poolableconnectionfactory (unknown database 'baotone ') org.apache.commons.dbcp.sqlnestedexception: cannot create poolableconnectionfactory (unknown database 'baotone ') at org.apache.commons.dbcp.basicdatasource.createdatasource(basicdatasource.java:855) 这个是log文件的内容,其实我从昨天就开始调了,昨天一天,今天半天还是搞不通,那位兄弟能帮帮忙?我在这里谢谢了,我刚来,没多少分,以后有机会一定重谢 [2007-08-11 16:02:11] [info] running service... [2007-08-11 16:02:11] [info] starting service... [2007-08-11 16:02:12] [info] service started. [2007-08-11 16:18:36] [info] service stop signaled [2007-08-11 16:18:36] [info] stopoping service... [2007-08-11 16:18:37] [info] service stopped. [2007-08-11 16:18:37] [info] run service finished. [2007-08-11 16:18:37] [info] procrun finished. |
|
|
|
|