`
tomEnjoy
  • 浏览: 142200 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

context配置

XML 
阅读更多
<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
    <Context path="/mis2011">
	<Loader delegate="true" />
	<Resource name="mis2011" auth="Container" type="javax.sql.DataSource"
		username="root"
		password=""
		driverClassName="com.mysql.jdbc.Driver"
		url="jdbc:mysql://localhost:3306/..."
		maxActive="30"
		maxIdle="5"
		maxWait="50"
		minEvictableIdleTimeMillis="4000"
		timeBetweenEvictionRunsMillis="5000"
	/>
    </Context>
</host>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics