url="jdbc:jtds:sqlserver://192.168.3.177:1433;DatabaseName=aloss;SelectMethod=cursor"
username="aloss" password="aloss" maxActive="100" maxIdle="30"
maxWait="-1" testOnBorrow="true" testOnReturn="true" testWhileIdle="true"
timeBetweenEvictionRunsMillis="100000"/>
我在conf/web.xml里面加了数据源的引用:
此外我非常疑惑的是这个数据源是应该配在项目文件的web.xml里面还是应该配在tomcat下的web.xml文件中。
然后我讲项目文件放在tomcat下的webapps下面,请帮忙分析一下,我不明白为什么就是运行不出来呢?
tomcat启动时出现:
严重: Error deploying configuration descriptor oss.xml这个提示!!
%App%/META-INF/context.xml
App
|---META-INF
|---WEB-INF
并且当初是在6里配置的,而您用的是5,可参考文档看看是否合用。很久没养猫了,我记着以前好像是这么整的。