关于连接池的问题!

04-09-02 Javalga
运行提示:

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

错误!

我在server 中配置如下:

<Context path="" docBase="ROOT" debug="0" reloadable="true">

<Resource name="jdbc/SqlServerDB" auth="Container" type="javax.sql.DataSource"/>

<ResourceParams name="jdbc/SqlServerDB">

<parameter>

<name>factory</name>

<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>

</parameter>

<parameter>

<name>driverClassName</name>

<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>

</parameter>

<parameter>

<name>url</name>

......

请问,错在哪儿啊!老大教教我啊!!!!!

Javalga
2004-09-02 11:55
不好意思,发错了!!!

猜你喜欢